generated from MITLibraries/python-cli-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from MITLibraries/rdi-217-deploy-workflows
Add stage and prod deploy workflows
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
### This is the Terraform-generated prod-promote.yml workflow for the timdex-index-manager-prod app repository ### | ||
name: Prod Promote Fargate Container | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
deploy: | ||
name: Prod Promote Fargate Container | ||
uses: mitlibraries/.github/.github/workflows/fargate-shared-promote-prod.yml@main | ||
secrets: inherit | ||
with: | ||
AWS_REGION: "us-east-1" | ||
GHA_ROLE_STAGE: timdex-index-manager-gha-stage | ||
GHA_ROLE_PROD: timdex-index-manager-gha-prod | ||
ECR_STAGE: "timdex-index-manager-stage" | ||
ECR_PROD: "timdex-index-manager-prod" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### This is the Terraform-generated stage-build.yml workflow for the timdex-index-manager-stage app repository ### | ||
name: Stage Build and Deploy Fargate Container | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '.github/**' | ||
|
||
jobs: | ||
deploy: | ||
name: Stage Deploy Fargate Container | ||
uses: mitlibraries/.github/.github/workflows/fargate-shared-deploy-stage.yml@main | ||
secrets: inherit | ||
with: | ||
AWS_REGION: "us-east-1" | ||
GHA_ROLE: "timdex-index-manager-gha-stage" | ||
ECR: "timdex-index-manager-stage" |