-
Notifications
You must be signed in to change notification settings - Fork 80
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
DEVOP-53 automatically deploy main branch to devNet #975
base: main
Are you sure you want to change the base?
DEVOP-53 automatically deploy main branch to devNet #975
Conversation
This might sound silly, as it may have already been decided. Do we always want main to be devnet latest? Will there be a seperate branch then for mainnet (presumably a fair few versions behind devnet / main) |
Also
I don't think we want this functionality, often branches use this tag for CI testing purposes, we don't want to automically enable devnet deploys from a container build job. |
Summary
cicd
Adds workflow jobs for triggering new deployment to k8s pipeline.
Changelog
Modified the build-push-containers to trigger and check a workflow in the movement-infra org that deploys the movement-network helm chart to the kubernetes clusters in the devNet environment. This happens after the container checks so that it's guaranteed the containers are built and tested.
Testing
I've done some pretty extensive testing with triggering the workflow both in this repo and the infrastructure repo. I added error handling in the pipeline to make debugging failed deployments a easier.
But once there's a commit on main or a branch is tagged to build the containers we should see this pipeline trigger the devNet deploy.
Outstanding issues
The helm chart sometimes errors out but this shouldn't interfere with the deployment pipeline but will inform in the build-push-containers workflow that triggers the deploy.