Repository navigation
feat: migrate backend CI, docs deploy, release-please, composites from appdev - #135
Draft
sdh100shaun wants to merge 1 commit into
Draft
sdh100shaun wants to merge 1 commit into
sdh100shaun wants to merge 1 commit into
Conversation
…m appdev
Workstream A of RFC-001 consolidation. Adds reusable workflows previously
hosted in dvsa/appdev-github-actions so dvsa/.github becomes the single
central source:
- ci-backend.yaml type-check, build, lint, test:coverage, artifact upload
Uses the central install-deps composite. 15-min timeout.
Emits a coverage table to the job summary and uses
Biome's --reporter=github for inline PR annotations.
- deploy-docs.yaml Docusaurus GH Pages build/deploy with configurable
working-directory and build command.
- release-please-call.yaml
workflow_call variant of release-please so downstream
ci.yml/cd.yml can orchestrate it from any branch. The
existing push-triggered release-please.yaml is unchanged.
- deploy-serverless.yaml
Canonical 4-env (dev/int/prep/prod) deploy template.
Uses GitHub Environment protection + env-scoped vars
(AWS_ACCOUNT_ID, AWS_DEPLOY_ROLE, AWS_REGION) + OIDC
via the existing aws-auth composite. Accepts any
deploy-command so services can use Serverless Framework,
CDK, or the AWS CLI.
- actions/notify-teams
Migrated from appdev-github-actions (Teams webhook).
- actions/check-s3 Migrated from appdev-github-actions (was check_s3;
renamed to kebab-case to match sibling composites).
Backs the consolidation outlined in dvsa/dvsa-software-development#3 (RFC-001).
appdev-github-actions workflows will be marked deprecated in a follow-up PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Workstream A of the RFC-001 consolidation (dvsa/dvsa-software-development#3). Makes
dvsa/.githubthe single canonical source for DVSA reusable workflows by migrating what was duplicated indvsa/appdev-github-actions, plus adds a central template for the 4-environment × 2-account deploy pattern.Additive only — no existing workflow in this repo changes callers' behaviour.
What's added
Reusable workflows (
.github/workflows/)ci-backend.yamlinstall-depscomposite. 15-min timeout. Emits a coverage table toGITHUB_STEP_SUMMARY. Biome's--reporter=githubsurfaces lint findings as inline PR annotations. Newartifact-nameinput/output lets callers pin a stable artifact name for cross-run deploys.deploy-docs.yamlworking-directoryandbuild-command.release-please-call.yamlworkflow_callvariant of release-please so downstreamci.yml/cd.ymlcan orchestrate releases from any branch. The existing push-triggeredrelease-please.yamlis untouched.deploy-serverless.yamlvars(AWS_ACCOUNT_ID, AWS_DEPLOY_ROLE, AWS_REGION) + OIDC via the existingaws-authcomposite. Accepts adeploy-commandinput so services can use Serverless Framework, CDK, Terraform, or the raw AWS CLI without a bespoke workflow. Supports cross-run artifact download via the newartifact-run-idinput +actions: readpermission so a CD workflow triggered byworkflow_runcan fetch the zip produced in the preceding CI run.Composite actions (
.github/actions/)notify-teams/jq --argso every input is JSON-escaped at the string boundary — no interpolation into the template body, no injection via newlines/quotes in inputs. Conditional branches for optionalinformation/qr-link/ipa-linkinputs.check-s3/Hardening of existing content
Release / adoption
After merging, cut `v7.2.0` (release-please auto-moves the floating `v7` and `v7.2` tags). Then:
Test plan
🤖 Generated with Claude Code