Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add check to just release images to devnet-deploys #8242

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/devnet-deploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
description: "Don't rebuild images"
required: false
type: boolean
no_deploy:
description: "Skip deployment (only release images)"
required: false
type: boolean

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -430,6 +434,7 @@ jobs:
terraform_version: 1.7.5

terraform-deploy:
if: ${{ github.event.inputs.no_deploy == 'false' }}
runs-on: ubuntu-latest
needs: [build-end, set-network]
env:
Expand Down Expand Up @@ -539,6 +544,7 @@ jobs:
terraform apply -input=false -auto-approve -replace="aws_efs_file_system.pxe_data_store"

bootstrap:
if: ${{ github.event.inputs.no_deploy == 'false' }}
runs-on: ubuntu-latest
needs: [terraform-deploy, set-network]
env:
Expand Down Expand Up @@ -592,6 +598,7 @@ jobs:
aws s3 cp ./basic_contracts.json ${{ env.CONTRACT_S3_BUCKET }}/${{ env.DEPLOY_TAG }}/basic_contracts.json

deploy-faucet:
if: ${{ github.event.inputs.no_deploy == 'false' }}
runs-on: ubuntu-latest
needs: [terraform-deploy, bootstrap, set-network]
env:
Expand Down Expand Up @@ -633,6 +640,7 @@ jobs:
terraform apply -input=false -auto-approve

enable-proving:
if: ${{ github.event.inputs.no_deploy == 'false' }}
runs-on: ubuntu-latest
needs: [deploy-faucet, set-network]
env:
Expand Down