Skip to content

Commit 6f2fc9e

Browse files
authored
Set image properties for CI image build and sync (#839)
* use set image properties tool for CI build and sync * move tool to run before cleanup step
1 parent 4985f3a commit 6f2fc9e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/fatimage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ jobs:
118118
. venv/bin/activate
119119
openstack image unset --property signature_verified "${{ steps.manifest.outputs.image-id }}" || true
120120
121+
- name: Set image properties
122+
run: |
123+
. venv/bin/activate
124+
. dev/image-set-properties.sh "${{ steps.manifest.outputs.image-id }}"
125+
121126
- name: Upload manifest artifact
122127
uses: actions/upload-artifact@v4
123128
with:

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ jobs:
168168
. venv/bin/activate
169169
bash .github/bin/get-s3-image.sh ${{ env.TARGET_IMAGE }} ${{ env.S3_BUCKET }}
170170
171+
- name: Set Glance image properties correctly for Slurm images
172+
run: |
173+
. venv/bin/activate
174+
. dev/image-set-properties.sh "${{ env.TARGET_IMAGE }}"
175+
171176
- name: Cleanup OpenStack Image (on error or cancellation)
172177
if: cancelled() || failure()
173178
run: |

0 commit comments

Comments
 (0)