Skip to content

Commit fb5e7cd

Browse files
committed
delete snapshot when cleaning up in CI
1 parent 8d7371f commit fb5e7cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/stackhpc.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,16 @@ jobs:
230230
env:
231231
DEMO_USER_PASSWORD: ${{ secrets.TEST_USER_PASSWORD }}
232232

233+
- name: Delete possible volume snapshot from slurm upgrade
234+
run: |
235+
. venv/bin/activate
236+
. environments/.stackhpc/activate
237+
if [ -n "$SNAPSHOT" ]
238+
then
239+
echo Deleting $SNAPSHOT
240+
openstack volume snapshot delete $SNAPSHOT
241+
fi
242+
233243
- name: Delete infrastructure
234244
run: |
235245
. venv/bin/activate

0 commit comments

Comments
 (0)