Skip to content

Commit

Permalink
Add full CI to images stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Almeida committed Jun 20, 2022
1 parent ddf6d07 commit 43cc3fb
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,15 @@ jobs:
aws-region: eu-central-1

- run: pip install -r requirements.txt
- uses: pulumi/actions@v3
env:
PULUMI_CONFIG_PASSPHRASE: "staging"
with:
work-dir: images/
command: preview
stack-name: staging
comment-on-pr: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: pulumi/actions@v3
with:
command: preview
Expand Down Expand Up @@ -191,6 +200,15 @@ jobs:
run: gcloud auth configure-docker

- run: pip install -r requirements.txt
- uses: pulumi/actions@v3
env:
PULUMI_CONFIG_PASSPHRASE: "staging"
with:
work-dir: images/
command: up
stack-name: staging
comment-on-pr: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: pulumi/actions@v3
with:
command: up
Expand Down Expand Up @@ -223,6 +241,15 @@ jobs:
aws-region: eu-central-1

- run: pip install -r requirements.txt
- uses: pulumi/actions@v3
env:
PULUMI_CONFIG_PASSPHRASE: "production"
with:
work-dir: images/
command: preview
stack-name: production
comment-on-pr: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: pulumi/actions@v3
with:
command: preview
Expand Down Expand Up @@ -259,6 +286,15 @@ jobs:
run: gcloud auth configure-docker

- run: pip install -r requirements.txt
- uses: pulumi/actions@v3
env:
PULUMI_CONFIG_PASSPHRASE: "production"
with:
work-dir: images/
command: up
stack-name: production
comment-on-pr: true
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: pulumi/actions@v3
with:
command: up
Expand Down

0 comments on commit 43cc3fb

Please sign in to comment.