Skip to content

Commit

Permalink
Run Sceptre with prune option (#307)
Browse files Browse the repository at this point in the history
Sceptre should run with prune[1] option in CI workflow
to allow it to remove stacks that are marked `obsolete`.

[1] https://docs.sceptre-project.org/latest/docs/cli.html#cmdoption-sceptre-launch-p
  • Loading branch information
zaro0508 authored Apr 30, 2024
1 parent 11a5ea2 commit 98e2afa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rw-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ jobs:
- name: Deploy common configuration
run: >
pipenv run sceptre --var-file=src/sceptre/variables/${{ inputs.sceptre-suffix }}.yaml
launch common --yes
launch common --yes --prune
- name: Deploy infrastructure configuration
run: >
pipenv run sceptre --var-file=src/sceptre/variables/${{ inputs.sceptre-suffix }}.yaml
launch infra-${{ inputs.sceptre-suffix }} --yes
launch infra-${{ inputs.sceptre-suffix }} --yes --prune
- name: Deploy projects configuration
run: >
pipenv run sceptre --var-file=src/sceptre/variables/${{ inputs.sceptre-suffix }}.yaml
launch projects-${{ inputs.sceptre-suffix }} --yes
launch projects-${{ inputs.sceptre-suffix }} --yes --prune
- name: Wait for Nextflow Tower to be up
uses: nev7n/wait_for_response@v1
Expand Down

0 comments on commit 98e2afa

Please sign in to comment.