Skip to content

Commit

Permalink
Rename pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Mar 22, 2024
1 parent a16400b commit 8e0e72f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:


jobs:
upsert-ecr-repository:
uses: ./.github/workflows/ecr-repository.yml
deploy-infrastructure:
uses: ./.github/workflows/upsert-infrastructure.yml
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
npm ci
npm run test
upsert-ecr-repository:
uses: ./.github/workflows/ecr-repository.yml
deploy-infrastructure:
uses: ./.github/workflows/upsert-infrastructure.yml
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

push-image:
runs-on: ubuntu-latest
needs: [unit-test, upsert-ecr-repository]
needs: [unit-test, deploy-infrastructure]
steps:
- uses: actions/checkout@v4

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy ECR Repository
name: Deploy Infrastructure

on:
workflow_call:
Expand All @@ -15,7 +15,7 @@ env:
AWS_ROLE_TO_ASSUME: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/coderunner-pipeline-role

jobs:
upsert-ecr-repository:
upsert-infrastructure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 8e0e72f

Please sign in to comment.