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 34
34
ANSIBLE_FORCE_COLOR : True
35
35
OS_CLOUD : openstack
36
36
CI_CLOUD : ${{ github.event.inputs.ci_cloud }}
37
- BUILD : " ${{ matrix.build }}-${{ matrix.os_version }}"
38
37
39
38
steps :
40
39
- uses : actions/checkout@v2
@@ -108,7 +107,7 @@ jobs:
108
107
- name : Upload manifest artifact
109
108
uses : actions/upload-artifact@v4
110
109
with :
111
- name : image-details-${{ env.BUILD }}
110
+ name : image-details-" ${{ matrix.build }}-${{ matrix.os_version }}"
112
111
path : |
113
112
./image-id.txt
114
113
./image-name.txt
Original file line number Diff line number Diff line change 22
22
runs-on : ubuntu-22.04
23
23
strategy :
24
24
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
26
26
os_version :
27
27
- RL8
28
28
- RL9
@@ -157,7 +157,7 @@ jobs:
157
157
if : failure() && steps.packer_build.outcome == 'success' # Runs if the Trivy scan found crit vulnerabilities or failed
158
158
run : |
159
159
. venv/bin/activate
160
- echo "Deleting new image due to critical vulnerabilities..."
160
+ echo "Deleting new image due to critical vulnerabilities or scan failure ..."
161
161
openstack image delete "${{ steps.manifest.outputs.image-id }}"
162
162
163
163
- name : Delete old latest image
Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
branches :
6
6
- main
7
- - master
8
7
paths :
9
8
- ' environments/.stackhpc/terraform/cluster_image.auto.tfvars.json'
10
9
Original file line number Diff line number Diff line change 148
148
tags : cockpit
149
149
tasks :
150
150
- 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
152
152
register : dnf_remove_output
153
153
ignore_errors : true # Avoid failing if a lock or other error happens
154
154
You can’t perform that action at this time.
0 commit comments