Skip to content

Commit cf670e8

Browse files
committed
Merge branch 'main' into fix/ipa-hostkeys
2 parents ccfa289 + c4a5dbc commit cf670e8

File tree

34 files changed

+282
-150
lines changed

34 files changed

+282
-150
lines changed

.github/workflows/extra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818
jobs:
1919
doca:
2020
name: extra-build
21-
runs-on: ubuntu-22.04
21+
runs-on: ubuntu-24.04
2222
strategy:
2323
fail-fast: false # allow other matrix jobs to continue even if one fails
2424
matrix: # build RL8, RL9

.github/workflows/fatimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
concurrency:
3030
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.build.image_name }} # to branch/PR + OS
3131
cancel-in-progress: true
32-
runs-on: ubuntu-22.04
32+
runs-on: ubuntu-24.04
3333
strategy:
3434
fail-fast: false # allow other matrix jobs to continue even if one fails
3535
matrix: # build RL8, RL9

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
lint:
1515
name: Lint
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1717
permissions:
1818
contents: read
1919
packages: read

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ permissions:
1919
# To report GitHub Actions status checks
2020
statuses: write
2121
id-token: write
22+
# upload trivy scan results
23+
security-events: write
2224

2325
on:
2426
push:
@@ -38,7 +40,7 @@ jobs:
3840
files_changed:
3941
name: Determine files changed
4042
needs: lint
41-
runs-on: ubuntu-latest
43+
runs-on: ubuntu-24.04
4244
# Map a step output to a job output, this allows other jobs to be gated on the filter results
4345
outputs:
4446
# The 'stackhpc' output will be 'true' if either of the two stackhpc filters below matched
@@ -143,6 +145,6 @@ jobs:
143145
name: Trivy scan image for vulnerabilities
144146
needs: files_changed
145147
if: |
146-
needs.files_changed.outputs.trivyscan == 'true'
148+
needs.files_changed.outputs.trivyscan == 'true' || github.event_name != 'pull_request'
147149
uses: ./.github/workflows/trivyscan.yml
148150
secrets: inherit

.github/workflows/nightly-cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- LEAFCLOUD
2222
- SMS
2323
- ARCUS
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525
env:
2626
OS_CLOUD: openstack
2727
CI_CLOUD: ${{ matrix.cloud }}

.github/workflows/nightlybuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
concurrency:
2727
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.build.image_name }} # to branch/PR + OS
2828
cancel-in-progress: true
29-
runs-on: ubuntu-22.04
29+
runs-on: ubuntu-24.04
3030
strategy:
3131
fail-fast: false # allow other matrix jobs to continue even if one fails
3232
matrix: # build RL8, RL9
@@ -131,7 +131,7 @@ jobs:
131131
concurrency:
132132
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.build.image_name }}-${{ matrix.target_cloud }}
133133
cancel-in-progress: true
134-
runs-on: ubuntu-22.04
134+
runs-on: ubuntu-24.04
135135
strategy:
136136
fail-fast: false
137137
matrix:

.github/workflows/release-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
ci-image-release:
1818
name: ci-image-release
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020
concurrency: ${{ github.workflow }}-${{ github.ref }}
2121
strategy:
2222
fail-fast: false

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
s3_cleanup:
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
concurrency: ${{ github.workflow }}-${{ github.ref }}
2424
strategy:
2525
fail-fast: false
@@ -41,7 +41,7 @@ jobs:
4141
s3cmd rm s3://${{ env.S3_BUCKET }} --recursive --force
4242
4343
image_upload:
44-
runs-on: ubuntu-22.04
44+
runs-on: ubuntu-24.04
4545
needs: s3_cleanup
4646
concurrency: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.build }}
4747
strategy:
@@ -118,7 +118,7 @@ jobs:
118118

119119
image_sync:
120120
needs: image_upload
121-
runs-on: ubuntu-22.04
121+
runs-on: ubuntu-24.04
122122
concurrency: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.cloud }}-${{ matrix.build }}
123123
strategy:
124124
fail-fast: false

.github/workflows/stackhpc.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818
jobs:
1919
openstack:
2020
name: openstack-ci
21-
runs-on: ubuntu-22.04
21+
runs-on: ubuntu-24.04
2222
strategy:
2323
fail-fast: false # allow other matrix jobs to continue even if one fails
2424
matrix:
@@ -75,8 +75,14 @@ jobs:
7575
run: cat environments/.stackhpc/bastion_fingerprints >> ~/.ssh/known_hosts
7676
shell: bash
7777

78+
- uses: actions/setup-python@v6
79+
with:
80+
python-version: '3.10' #TODO: bump to 3.12 once release cut including this PR
81+
7882
- name: Install ansible, pip and galaxy requirements
7983
run: dev/setup-env.sh
84+
env:
85+
PYTHON_VERSION: python3 # overrides os-release discovery logic
8086

8187
- name: Install OpenTofu
8288
uses: opentofu/[email protected]
@@ -101,6 +107,12 @@ jobs:
101107
env:
102108
DEMO_USER_PASSWORD: ${{ secrets.TEST_USER_PASSWORD }}
103109

110+
- name: Cleanup any OpenStack resources from previous attempts
111+
run: |
112+
. venv/bin/activate
113+
. environments/.stackhpc/activate
114+
./dev/delete-cluster.py ${{ env.TF_VAR_cluster_name }} --force
115+
104116
- name: Provision nodes using latest release image
105117
id: provision_servers
106118
run: |
@@ -146,8 +158,14 @@ jobs:
146158
- name: Checkout current branch
147159
run: git checkout ${{ github.head_ref || github.ref_name }}
148160

161+
- uses: actions/setup-python@v6
162+
with:
163+
python-version: '3.12'
164+
149165
- name: Update ansible, pip and galaxy requirements
150166
run: dev/setup-env.sh
167+
env:
168+
PYTHON_VERSION: python3 # overrides os-release discovery logic
151169

152170
- name: Reimage login and control nodes to image in current branch
153171
id: reimage_non_compute

.github/workflows/trivyscan.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ permissions:
1414
packages: write
1515
# To report GitHub Actions status checks
1616
statuses: write
17+
# upload trivy scan results
18+
security-events: write
1719

1820
jobs:
1921
scan:
20-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-24.04
2123
strategy:
2224
fail-fast: false
2325
matrix:

0 commit comments

Comments
 (0)