File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11# Cluster instance vars
2- cluster_name : " caas-ci"
32cluster_id : " {{ cluster_name }}"
43openhpc_slurm_partitions :
54 - name : " small"
Original file line number Diff line number Diff line change 4949 -i image-build/hosts \
5050 -e @${EXTRA_VARS_FILE} \
5151 -e '{"write_cluster_image_uuid_file": true}' \
52+ -e image_build_cluster_id="image-build-${GITHUB_SHA::7}"
5253 image-build.yml
5354 echo "CLUSTER_IMAGE=$(cat cluster_image_uuid.txt)" >> $GITHUB_OUTPUT
5455 env :
6162 -i image-build/hosts \
6263 -e @${EXTRA_VARS_FILE} \
6364 -e cluster_state=absent \
65+ -e image_build_cluster_id="image-build-${GITHUB_SHA::7}"
6466 image-build.yml
6567 if : always()
6668
7274 -i image-build/hosts \
7375 -e @${EXTRA_VARS_FILE} \
7476 -e cluster_image=${{ steps.build.outputs.CLUSTER_IMAGE }} \
77+ -e cluster_name="caas-ci-${GITHUB_SHA::7}" \
7578 slurm-infra.yml
7679 if : success()
7780
8386 -e @${EXTRA_VARS_FILE} \
8487 -e cluster_image=${{ steps.build.outputs.CLUSTER_IMAGE }} \
8588 -e cluster_state=absent \
89+ -e cluster_name="caas-ci-${GITHUB_SHA::7}" \
8690 slurm-infra.yml
8791 if : |
8892 ( failure() || cancelled() ) &&
You can’t perform that action at this time.
0 commit comments