-
Notifications
You must be signed in to change notification settings - Fork 6
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
VACMS-16863: Trigger manifest update from image creation workflow. #440
Conversation
@@ -88,4 +88,13 @@ jobs: | |||
docker build . -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./Dockerfile | |||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG | |||
|
|||
- name: Write release name as artifact |
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.
This is the same logic as in the production tag creation workflow.
|
||
jobs: | ||
update-manifest: | ||
if: ${{ !(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'failure') }} |
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.
Same as before: if this is triggered by workflow_run and that was a failure, do not run.
strategy: | ||
fail-fast: false | ||
max-parallel: 4 | ||
matrix: |
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.
This setup is so we can deploy all environments at once.
# If this is triggered via workflow_run, run as a matrix and deploy all | ||
# apps and envs. | ||
- name: Update image and helm chart versions (triggered by upstream) |
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.
If these steps run (because triggered by workflow_run), it will cause the job to be split out into 4 parallel jobs which will deploy each environment.
Description
Relates to #16863.
Triggers manifest update from image creation workflow.