-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚙ Streamline github actions workflows #498
Comments
Example of jobs left in a waiting state: https://github.com/ministryofjustice/find-moj-data/actions/workflows/test-and-deploy.yml Github treats the deploy to dev as a thing that has to happen, but actually it is optional, and we don't need to do it for every single push.
|
Should deployment be triggered by creating a github release, instead of merge to main? This syncs up the deployment to MOJ with the release & versioning process. |
Purpose
We have reviewed our workflow and environment usage; see miro diagram: https://miro.com/app/board/uXjVK8MOx_c=/
Now we are in beta and are about to onboard our first users, this is a good time to make sure our github actions workflows
We have decided we can deploy automatically to test, without manual approval, but we should have manual approval before deploying to production (and possibly pre-production).
Before we hit approve we want to notify users and stakeholders of what's changed. We also intend to create Github releases prior to rolling out to live, in order to
Proposal
test-and-deploy.yml
) -> "Test and deploy branch to dev"test-datahub-client.yml
)-> Remove, as long as the tests get run in the above workflow.github/workflows/deploy.yml
Acceptance criteria
workflow_dispatch
action to test and deploy manually from any branch into devThe text was updated successfully, but these errors were encountered: