-
Notifications
You must be signed in to change notification settings - Fork 11
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
Build and deploy check-api batch jobs via Terraform #1833
Conversation
Thanks, Martin. This is only DevOps stuff, so I'm assigning to Aaron and Doci for review. |
Code Climate has analyzed commit 3c0be9f and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (100% is the threshold). This pull request will bring the total coverage in the repository to 100.0% (0.0% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you overwriting the push job with batch deployments?
I didn't realize the existing images were being used. I changed this image build step because the existing images (which deploy to /live/check-api, /qa/check-api, and /batch/check-api via GitLab CI use the There is a tag step in this workflow that is unused, eventually I expect this workflow to deploy to QA and Live, along with Batch jobs. Maybe this is a good time to use the GitHub images in the check-api repo with the default |
if this is blocking I think it's fine to just create a separate job and not overwrite this one. it's in place for future deployments with one dockerfile, yes, but is also writing to an ECR repo that has a deletion policy in place so it's fine to continue using. the interleaving changes are a little confusing to review since they're intended for entirely different purposes imo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This change is required for the batch job updates via Terraform. Note that all batch jobs are using this new deployment mechanism once merged.
References: CV2-4345, DEVOPS-484, DEVOPS-498
How has this been tested?
This is the usual build and deploy configuration.
Things to pay attention to during code review
PLEASE DO NOT MERGE until the sysops part of this has also been merged. The sysops batch job workflow changes MUST BE merged before this pull request. Thank you!
Checklist