Skip to content

Commit

Permalink
chore: Add check to just release images to devnet-deploys (#8242)
Browse files Browse the repository at this point in the history
Allows us to push fixes to users without nuking the deployed network.
  • Loading branch information
spalladino committed Aug 28, 2024
1 parent f71119e commit ba23fea
Showing 1 changed file with 8 additions and 0 deletions.
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 @@ -367,6 +371,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 @@ -477,6 +482,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 @@ -530,6 +536,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 @@ -571,6 +578,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

0 comments on commit ba23fea

Please sign in to comment.