Skip to content

Commit 1cc2b93

Browse files
committed
CI: Update to latest GitHub Actions workflows
1 parent c96ae1d commit 1cc2b93

18 files changed

Lines changed: 43 additions & 43 deletions

.github/workflows/amphora-image-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
sudo /etc/init.d/ssh start
5050
5151
- name: Checkout
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v6
5353
with:
5454
path: src/kayobe-config
5555

@@ -80,7 +80,7 @@ jobs:
8080
pip install -r ../src/kayobe-config/requirements.txt
8181
8282
- name: Install terraform
83-
uses: hashicorp/setup-terraform@v2
83+
uses: hashicorp/setup-terraform@v3
8484

8585
- name: Initialise terraform
8686
run: terraform init
@@ -255,7 +255,7 @@ jobs:
255255
if: steps.build_amphora.outcome == 'failure'
256256

257257
- name: Upload logs & image artifact
258-
uses: actions/upload-artifact@v4
258+
uses: actions/upload-artifact@v6
259259
with:
260260
name: amphora-image-build-log
261261
path: ./artifact

.github/workflows/amphora-image-promote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
1616
runs-on: ubuntu-22.04
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
with:
2020
path: src/kayobe-config
2121

.github/workflows/ipa-image-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
sudo /etc/init.d/ssh start
5858
5959
- name: Checkout
60-
uses: actions/checkout@v4
60+
uses: actions/checkout@v6
6161
with:
6262
path: src/kayobe-config
6363

@@ -86,7 +86,7 @@ jobs:
8686
pip install -r ../src/kayobe-config/requirements.txt
8787
8888
- name: Install terraform
89-
uses: hashicorp/setup-terraform@v2
89+
uses: hashicorp/setup-terraform@v3
9090

9191
- name: Initialise terraform
9292
run: terraform init
@@ -329,7 +329,7 @@ jobs:
329329
if: always()
330330

331331
- name: Upload logs artifact
332-
uses: actions/upload-artifact@v4
332+
uses: actions/upload-artifact@v6
333333
with:
334334
name: Build logs
335335
path: ./logs

.github/workflows/ipa-image-promote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
exit 1
3131
fi
3232
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v6
3434
with:
3535
path: src/kayobe-config
3636

.github/workflows/overcloud-host-image-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
sudo /etc/init.d/ssh start
6969
7070
- name: Checkout
71-
uses: actions/checkout@v4
71+
uses: actions/checkout@v6
7272
with:
7373
path: src/kayobe-config
7474

@@ -98,7 +98,7 @@ jobs:
9898
pip install -r ../src/kayobe-config/requirements.txt
9999
100100
- name: Install terraform
101-
uses: hashicorp/setup-terraform@v2
101+
uses: hashicorp/setup-terraform@v3
102102

103103
- name: Initialise terraform
104104
run: terraform init
@@ -376,7 +376,7 @@ jobs:
376376
steps.build_ubuntu_noble.outcome == 'failure'
377377

378378
- name: Upload logs artifact
379-
uses: actions/upload-artifact@v4
379+
uses: actions/upload-artifact@v6
380380
with:
381381
name: Build logs
382382
path: ./logs

.github/workflows/overcloud-host-image-promote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
exit 1
2727
fi
2828
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030
with:
3131
path: src/kayobe-config
3232

.github/workflows/overcloud-host-image-upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
sudo apt update
6161
sudo apt install -y build-essential git unzip nodejs python3-wheel python3-pip python3-venv
6262
63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@v6
6464
with:
6565
path: src/kayobe-config
6666

.github/workflows/package-build-ofed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
sudo /etc/init.d/ssh start
4444
4545
- name: Checkout
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v6
4747
with:
4848
path: src/kayobe-config
4949

@@ -57,7 +57,7 @@ jobs:
5757
pip install -r ../src/kayobe-config/requirements.txt
5858
5959
- name: Install terraform
60-
uses: hashicorp/setup-terraform@v2
60+
uses: hashicorp/setup-terraform@v3
6161

6262
- name: Initialise terraform
6363
run: terraform init

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103

104104
# If testing upgrade, checkout previous release, otherwise checkout current branch
105105
- name: Checkout ${{ inputs.upgrade && 'previous release' || 'current' }} config
106-
uses: actions/checkout@v4
106+
uses: actions/checkout@v6
107107
with:
108108
repository: ${{ inputs.repository }}
109109
ref: ${{ inputs.upgrade && env.PREVIOUS_BRANCH || inputs.github_ref }}
@@ -139,7 +139,7 @@ jobs:
139139
fi
140140
141141
- name: Install terraform
142-
uses: hashicorp/setup-terraform@v2
142+
uses: hashicorp/setup-terraform@v3
143143

144144
- name: Initialise terraform
145145
run: terraform init
@@ -396,7 +396,7 @@ jobs:
396396
if: inputs.upgrade
397397

398398
- name: Checkout current release config
399-
uses: actions/checkout@v4
399+
uses: actions/checkout@v6
400400
with:
401401
repository: ${{ inputs.repository }}
402402
ref: ${{ inputs.github_ref }}
@@ -490,7 +490,7 @@ jobs:
490490
if: ${{ !cancelled() && steps.tf_apply.outcome == 'success' }}
491491

492492
- name: Upload test result artifacts
493-
uses: actions/upload-artifact@v4
493+
uses: actions/upload-artifact@v6
494494
with:
495495
name: test-results-${{ inputs.os_distribution }}-${{ inputs.os_release }}-${{ inputs.neutron_plugin }}${{ inputs.upgrade && '-upgrade' || '' }}
496496
path: |

.github/workflows/stackhpc-build-kayobe-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
5353
- name: Checkout kayobe config
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@v6
5555
with:
5656
submodules: true
5757

@@ -85,7 +85,7 @@ jobs:
8585
# Setting KAYOBE_USER_UID and KAYOBE_USER_GID to 1001 to match docker's defaults
8686
# so that docker can run as a privileged user within the Kayobe image.
8787
- name: Build and push Docker image
88-
uses: docker/build-push-action@v5
88+
uses: docker/build-push-action@v6
8989
with:
9090
file: ./.automation/docker/kayobe/Dockerfile
9191
context: .

0 commit comments

Comments
 (0)