File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 3434 ANSIBLE_FORCE_COLOR : True
3535 OS_CLOUD : openstack
3636 CI_CLOUD : ${{ github.event.inputs.ci_cloud }}
37- BUILD : " ${{ matrix.build }}-${{ matrix.os_version }}"
3837
3938 steps :
4039 - uses : actions/checkout@v2
@@ -108,7 +107,7 @@ jobs:
108107 - name : Upload manifest artifact
109108 uses : actions/upload-artifact@v4
110109 with :
111- name : image-details-${{ env.BUILD }}
110+ name : image-details-" ${{ matrix.build }}-${{ matrix.os_version }}"
112111 path : |
113112 ./image-id.txt
114113 ./image-name.txt
Original file line number Diff line number Diff line change 2222 runs-on : ubuntu-22.04
2323 strategy :
2424 fail-fast : false # allow other matrix jobs to continue even if one fails
25- matrix : # build RL8+OFED , RL9+OFED , RL9+OFED +CUDA versions
25+ matrix : # build RL8, RL9, RL9+CUDA versions
2626 os_version :
2727 - RL8
2828 - RL9
@@ -157,7 +157,7 @@ jobs:
157157 if : failure() && steps.packer_build.outcome == 'success' # Runs if the Trivy scan found crit vulnerabilities or failed
158158 run : |
159159 . venv/bin/activate
160- echo "Deleting new image due to critical vulnerabilities..."
160+ echo "Deleting new image due to critical vulnerabilities or scan failure ..."
161161 openstack image delete "${{ steps.manifest.outputs.image-id }}"
162162
163163 - name : Delete old latest image
Original file line number Diff line number Diff line change 44 pull_request :
55 branches :
66 - main
7- - master
87 paths :
98 - ' environments/.stackhpc/terraform/cluster_image.auto.tfvars.json'
109
Original file line number Diff line number Diff line change 148148 tags : cockpit
149149 tasks :
150150 - name : Remove RHEL cockpit
151- command : dnf -y remove cockpit-ws
151+ command : dnf -y remove cockpit-ws # N.B. using ansible dnf module is very slow
152152 register : dnf_remove_output
153153 ignore_errors : true # Avoid failing if a lock or other error happens
154154
You can’t perform that action at this time.
0 commit comments