Skip to content

Commit 3c1271b

Browse files
bertiethorpesd109
andauthored
Apply suggestions from code review
Co-authored-by: Scott Davidson <[email protected]>
1 parent 50c5f19 commit 3c1271b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/s3-image-sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
echo CI_CLOUD: ${{ env.CI_CLOUD }}
5656
57-
- name: setup environment
57+
- name: Setup environment
5858
run: |
5959
python3 -m venv venv
6060
. venv/bin/activate
@@ -124,7 +124,7 @@ jobs:
124124
run: |
125125
echo CI_CLOUD: ${{ env.CI_CLOUD }}
126126
127-
- name: setup environment
127+
- name: Setup environment
128128
run: |
129129
python3 -m venv venv
130130
. venv/bin/activate
@@ -149,7 +149,7 @@ jobs:
149149
bash .github/bin/get-s3-image.sh ${{ env.TARGET_IMAGE }} ${{ env.S3_BUCKET }}
150150
151151
- name: Cleanup OpenStack Image (on error or cancellation)
152-
if: cancelled()
152+
if: cancelled() || failure()
153153
run: |
154154
. venv/bin/activate
155155
image_hanging=$(openstack image list --name ${{ env.TARGET_IMAGE }} -f value -c ID -c Status | grep -v ' active$' | awk '{print $1}')

0 commit comments

Comments
 (0)