Skip to content

Commit

Permalink
minor pipeline fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed May 12, 2024
1 parent d73dcaf commit ade32e5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ jobs:
terragrunt plan -out tfplan
terragrunt apply tfplan
- name: frontend
working-directory: ./tofu/environments/stage/services/frontend
- name: frontend-infra
working-directory: ./tofu/environments/stage/services/frontend-infra
run: |
terragrunt init -upgrade
terragrunt validate
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
role-session-name: Appointment_GitHub_to_AWS_via_FederatedOIDC
aws-region: ${{ vars.AWS_REGION }}

deploy-backend-service:
deploy-backend:
needs:
- detect-changes
- deploy-iac
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ jobs:
terragrunt plan -out tfplan
terragrunt apply tfplan
- name: frontend
working-directory: ./tofu/environments/stage/services/frontend
- name: frontend-infra
working-directory: ./tofu/environments/stage/services/frontend-infra
run: |
terragrunt init -upgrade
terragrunt validate
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
role-session-name: Appointment_GitHub_to_AWS_via_FederatedOIDC
aws-region: ${{ vars.AWS_REGION }}

deploy-backend-service:
deploy-backend:
needs:
- detect-changes
- deploy-iac
Expand Down Expand Up @@ -209,9 +209,9 @@ jobs:
# be deployed to ECS.
docker build -t $ECR_TAG ./backend -f ./backend/deploy.dockerfile
docker push $ECR_TAG
echo 'image_backend=$ECR_TAG >> $GITHUB_OUTPUT
echo 'image_backend=$ECR_TAG' >> $GITHUB_OUTPUT
- name: backend-service
- name: deploy backend-service
working-directory: ./tofu/environments/stage/services/backend-service
run: |
terragrunt init -upgrade
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ jobs:
terragrunt init -upgrade
terragrunt validate
- name: frontend
working-directory: ./tofu/environments/stage/services/frontend
- name: frontend-infra
working-directory: ./tofu/environments/stage/services/frontend-infra
continue-on-error: true
run: |
terragrunt init -upgrade
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ade32e5

Please sign in to comment.