Skip to content
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

Infra updates #58

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Infra updates #58

merged 2 commits into from
Aug 1, 2023

Conversation

ehanson8
Copy link
Contributor

@ehanson8 ehanson8 commented Apr 3, 2023

What does this PR do?

  • Update three caller workflows to use the new outputs from the mitlib-tf-workloads-ecr repository
  • Remove outdated stage_ecr_push workflow
  • Update Makefile
  • Resolves Update build/deploy caller workflows #56

Helpful background context

The build/deploy workflows in our shared .github repository for Lambda functions and Fargate tasks have been cleaned up and consolidated. The mitlib-tf-workloads-ecr repository that generates the text for the three caller workflows has been updated and we just need to move those Terraform outputs into this repository to update the caller workflows.

How can a reviewer manually see the effects of these changes?

The reviewer can view the automated run that pushed an updated container to Dev1 here:
https://github.com/MITLibraries/wiley-deposits/actions/runs/4599671023

Includes new or updated dependencies?

NO

cabutlermit and others added 2 commits March 23, 2023 09:14
Why these changes are being introduced:
The mitlib-tf-workloads-ecr infrastructure has been deployed through
dev, stage, and prod. This moves all the callerworkflow updates
into the app repo.

How this addresses that need:
* Update the dev-build workflow with minor changes from the Terraform
Cloud outputs
* Create the stage-build workflow for publishing to stage
* Create the prod-promote workflow

Side effects of this change:
Merges to `main` will now trigger both the old workflow for pushing
the container to our legacy AWS account and the new workflow for our
AWS Organization.

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-711
Why these changes are being introduced:
* Further changes to complete workflow updates

How this addresses that need:
* Update Makefile with new ECR commands
* Remove stage_ecr_push.yml

Side effects of this change:
* None

Relevant ticket(s):
* Resolves #56
Copy link
Contributor

@cabutlermit cabutlermit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay! This looks good. Be aware that merging this to main will push your container to Stage-Workloads, so you should verify that it's okay for it to run there before merging this.

@ehanson8 ehanson8 merged commit d46d7c6 into main Aug 1, 2023
@ehanson8 ehanson8 deleted the infra-updates branch August 1, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update build/deploy caller workflows
2 participants