Skip to content

Commit 969c360

Browse files
committed
Update all access-nri/build-cd workflow_call refs to v5
1 parent 916f0fe commit 969c360

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
5050
- name: Generate Deployment Target Matrix
5151
id: target
52-
uses: access-nri/build-cd/.github/actions/get-target-matrix@v4
52+
uses: access-nri/build-cd/.github/actions/get-target-matrix@v5
5353
with:
5454
targets: ${{ vars.RELEASE_DEPLOYMENT_TARGETS }}
5555

@@ -66,7 +66,7 @@ jobs:
6666
with:
6767
repository: access-nri/build-cd
6868

69-
- uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v4
69+
- uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v5
7070
with:
7171
settings-path: ./config/settings.json
7272
target: ${{ matrix.target }}
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Get root spec ref
8888
id: tag
89-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v4
89+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v5
9090

9191
- name: Import Commit-Signing Key
9292
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
@@ -120,7 +120,7 @@ jobs:
120120
strategy:
121121
matrix:
122122
target: ${{ fromJson(needs.defaults.outputs.targets) }}
123-
uses: access-nri/build-cd/.github/workflows/deploy-1-setup.yml@v4
123+
uses: access-nri/build-cd/.github/workflows/deploy-1-setup.yml@v5
124124
with:
125125
deployment-target: ${{ matrix.target }}
126126
deployment-ref: ${{ github.ref_name }}

.github/workflows/ci-closed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Generate Deployment Target Matrix
4040
id: target
41-
uses: access-nri/build-cd/.github/actions/get-target-matrix@v4
41+
uses: access-nri/build-cd/.github/actions/get-target-matrix@v5
4242
with:
4343
targets: ${{ vars.PRERELEASE_DEPLOYMENT_TARGETS }}
4444

@@ -50,7 +50,7 @@ jobs:
5050
matrix:
5151
target: ${{ fromJson(needs.setup.outputs.targets) }}
5252
fail-fast: false
53-
uses: access-nri/build-cd/.github/workflows/undeploy-1-start.yml@v4
53+
uses: access-nri/build-cd/.github/workflows/undeploy-1-start.yml@v5
5454
with:
5555
version-pattern: ${{ inputs.root-sbd }}-pr${{ github.event.pull_request.number }}-*
5656
target: ${{ matrix.target }}

.github/workflows/ci-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: Original version
7171
id: original
72-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v4
72+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v5
7373

7474
- name: Setup
7575
id: setup

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
126126
- name: Generate Deployment Target Matrix
127127
id: target
128-
uses: access-nri/build-cd/.github/actions/get-target-matrix@v4
128+
uses: access-nri/build-cd/.github/actions/get-target-matrix@v5
129129
with:
130130
targets: ${{ vars.PRERELEASE_DEPLOYMENT_TARGETS }}
131131

@@ -189,7 +189,7 @@ jobs:
189189
matrix:
190190
# Example: ['Gadi', 'Setonix', ...]
191191
target: ${{ fromJson(needs.defaults.outputs.targets) }}
192-
uses: access-nri/build-cd/.github/workflows/deploy-1-setup.yml@v4
192+
uses: access-nri/build-cd/.github/workflows/deploy-1-setup.yml@v5
193193
with:
194194
deployment-target: ${{ matrix.target }}
195195
deployment-ref: ${{ needs.defaults.outputs.head-ref }}

.github/workflows/deploy-1-setup.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ jobs:
148148

149149
- name: Validate spack-packages version
150150
id: spack-packages
151-
uses: access-nri/build-cd/.github/actions/validate-repo-version@v4
151+
uses: access-nri/build-cd/.github/actions/validate-repo-version@v5
152152
with:
153153
repo-to-check: spack-packages
154154
pr: ${{ inputs.deployment-ref }}
155155

156156
- name: Validate spack version
157157
id: spack
158-
uses: access-nri/build-cd/.github/actions/validate-repo-version@v4
158+
uses: access-nri/build-cd/.github/actions/validate-repo-version@v5
159159
with:
160160
repo-to-check: spack
161161
pr: ${{ inputs.deployment-ref }}
@@ -186,7 +186,7 @@ jobs:
186186
187187
- name: Validate build-cd config/settings.json
188188
id: settings
189-
uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v4
189+
uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v5
190190
with:
191191
settings-path: ./cd/config/settings.json
192192
target: ${{ inputs.deployment-target }}
@@ -221,7 +221,7 @@ jobs:
221221

222222
- name: Get current (${{ inputs.deployment-ref }}) root spec version
223223
id: current
224-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v4
224+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v5
225225

226226
- name: Check root spec usage
227227
if: env.IS_NOT_DRAFT == 'true' || inputs.deployment-type == 'Release'
@@ -258,7 +258,7 @@ jobs:
258258
- name: Get base root spec version
259259
id: base
260260
if: inputs.deployment-type != 'Release' && steps.checkout-base-spack.outcome != 'failure'
261-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v4
261+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v5
262262

263263
- name: Check Model Version Modified
264264
# We don't want to fire off model deployment version checks if the PR is never going to be merged.
@@ -349,7 +349,7 @@ jobs:
349349
needs:
350350
- check-config # Verify configuration information is correct
351351
- check-spack-yaml # Verify spack manifest information is correct
352-
uses: access-nri/build-cd/.github/workflows/deploy-2-start.yml@v4
352+
uses: access-nri/build-cd/.github/workflows/deploy-2-start.yml@v5
353353
with:
354354
ref: ${{ inputs.deployment-ref }}
355355
version: ${{ inputs.deployment-version }}

.github/workflows/deploy-2-start.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
7878
- name: Get ${{ inputs.deployment-target }} ${{ inputs.deployment-type }} Remote Paths
7979
id: path
80-
uses: access-nri/build-cd/.github/actions/get-deploy-paths@v4
80+
uses: access-nri/build-cd/.github/actions/get-deploy-paths@v5
8181
with:
8282
spack-installs-root-path: ${{ vars.SPACK_INSTALLS_ROOT_LOCATION }}
8383
spack-version: ${{ steps.versions.outputs.spack }}
@@ -87,7 +87,7 @@ jobs:
8787
- name: Get manifest info
8888
id: manifest
8989
# FIXME: We should pass through inputs.spack-manifest-path here (and below raw spack.yaml) - see ACCESS-NRI/build-cd#225
90-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v4
90+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v5
9191

9292
- name: Setup SSH
9393
id: ssh

.github/workflows/settings-1-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
- name: Validate Deployment Settings
5555
id: validate
56-
uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v4
56+
uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v5
5757
with:
5858
settings-path: ${{ env.CONFIG_SETTINGS_PATH }}
5959
target: ${{ matrix.target }}
@@ -146,7 +146,7 @@ jobs:
146146
# - deployment-environment: Gadi
147147
# type: Prerelease
148148
# etc ...
149-
uses: access-nri/build-cd/.github/workflows/settings-2-deploy.yml@v4
149+
uses: access-nri/build-cd/.github/workflows/settings-2-deploy.yml@v5
150150
with:
151151
deployment-environment: ${{ matrix.update.deployment-environment }}
152152
spack-type: ${{ matrix.update.type }}

.github/workflows/undeploy-1-start.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Get ${{ inputs.target }} Remote Paths
5050
id: path
51-
uses: access-nri/build-cd/.github/actions/get-deploy-paths@v4
51+
uses: access-nri/build-cd/.github/actions/get-deploy-paths@v5
5252
with:
5353
spack-installs-root-path: ${{ vars.SPACK_INSTALLS_ROOT_LOCATION }}
5454
spack-version: ${{ steps.versions.outputs.spack }}

0 commit comments

Comments
 (0)