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 #214 from MITLibraries/update-caller-workflows
Update To New Tf Workflows
- Loading branch information
Showing
3 changed files
with
25 additions
and
12 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 |
---|---|---|
@@ -1,19 +1,24 @@ | ||
### This is the Terraform-generated dev-build.yml workflow for the timdex-index-manager-dev app repository ### | ||
name: Dev Build and Deploy Fargate Container | ||
### If this is a Lambda repo, uncomment the FUNCTION line at the end of the document ### | ||
### If the container requires any additional pre-build commands, uncomment and edit ### | ||
### the PREBUILD line at the end of the document. ### | ||
name: Dev Container Build and Deploy | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- ".github/**" | ||
- '.github/**' | ||
|
||
jobs: | ||
deploy: | ||
name: Dev Deploy Fargate Container | ||
uses: mitlibraries/.github/.github/workflows/fargate-shared-deploy-dev.yml@main | ||
name: Dev Container Deploy | ||
uses: mitlibraries/.github/.github/workflows/ecr-shared-deploy-dev.yml@main | ||
secrets: inherit | ||
with: | ||
AWS_REGION: "us-east-1" | ||
GHA_ROLE: "timdex-index-manager-gha-dev" | ||
ECR: "timdex-index-manager-dev" | ||
# FUNCTION: "" | ||
# PREBUILD: |
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 |
---|---|---|
@@ -1,18 +1,21 @@ | ||
### This is the Terraform-generated prod-promote.yml workflow for the timdex-index-manager-prod app repository ### | ||
name: Prod Promote Fargate Container | ||
### This is the Terraform-generated prod-promote.yml workflow for the timdex-index-manager-prod repository. ### | ||
### If this is a Lambda repo, uncomment the FUNCTION line at the end of the document. ### | ||
name: Prod Container Promote | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
deploy: | ||
name: Prod Promote Fargate Container | ||
uses: mitlibraries/.github/.github/workflows/fargate-shared-promote-prod.yml@main | ||
name: Prod Container Promote | ||
uses: mitlibraries/.github/.github/workflows/ecr-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" | ||
# FUNCTION: "" | ||
|
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