Skip to content

Commit 8ae2854

Browse files
committed
Remove temp refs, update all to v7
1 parent 9032c6f commit 8ae2854

9 files changed

Lines changed: 22 additions & 24 deletions

File tree

.github/workflows/cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
9292
- name: Generate Deployment Target Matrix
9393
id: target
94-
uses: access-nri/build-cd/.github/actions/get-target-matrix@v6
94+
uses: access-nri/build-cd/.github/actions/get-target-matrix@v7
9595
with:
9696
targets: ${{ vars.RELEASE_DEPLOYMENT_TARGETS }}
9797

@@ -108,7 +108,7 @@ jobs:
108108
with:
109109
repository: access-nri/build-cd
110110

111-
- uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v6
111+
- uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v7
112112
with:
113113
settings-path: ./config/settings.json
114114
target: ${{ matrix.target }}
@@ -126,7 +126,7 @@ jobs:
126126

127127
- name: Get root spec ref
128128
id: tag
129-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v6
129+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v7
130130
with:
131131
spack-manifest-path: ${{ inputs.spack-manifest-path }}
132132

@@ -180,7 +180,7 @@ jobs:
180180
strategy:
181181
matrix:
182182
target: ${{ fromJson(needs.defaults.outputs.targets) }}
183-
uses: access-nri/build-cd/.github/workflows/deploy-1-setup.yml@v6
183+
uses: access-nri/build-cd/.github/workflows/deploy-1-setup.yml@v7
184184
with:
185185
deployment-target: ${{ matrix.target }}
186186
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@v6
41+
uses: access-nri/build-cd/.github/actions/get-target-matrix@v7
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@v6
53+
uses: access-nri/build-cd/.github/workflows/undeploy-1-start.yml@v7
5454
with:
5555
version-pattern: ${{ inputs.root-sbd }}-pr${{ github.event.pull_request.number }}-*
5656
target: ${{ matrix.target }}

.github/workflows/ci-command-configs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ jobs:
176176

177177
- name: Get previous deployments on in PR
178178
id: previous-deployments
179-
# FIXME: Temp ref for testing, this should be v6 once released
180-
uses: access-nri/build-cd/.github/actions/get-pr-deployments@prerelease-to-model-configs-pipeline
179+
uses: access-nri/build-cd/.github/actions/get-pr-deployments@v7
181180
with:
182181
pr: ${{ github.event.issue.number }}
183182
token: ${{ github.token }}
@@ -274,7 +273,6 @@ jobs:
274273
uses: actions/checkout@v4
275274
with:
276275
repository: access-nri/build-cd
277-
ref: prerelease-to-model-configs-pipeline # FIXME: Remove before merging
278276
path: build-cd
279277

280278
- name: Setup python

.github/workflows/ci-comment.yml

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

7474
- name: Original version
7575
id: original
76-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v6
76+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v7
7777

7878
- name: Setup
7979
id: setup

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
125125
- name: Get previous PR deployments
126126
id: previous-deploys
127-
uses: access-nri/build-cd/.github/actions/get-pr-deployments@v6
127+
uses: access-nri/build-cd/.github/actions/get-pr-deployments@v7
128128
with:
129129
pr: ${{ inputs.pr }}
130130

@@ -144,7 +144,7 @@ jobs:
144144
145145
- name: Generate Deployment Target Matrix
146146
id: target
147-
uses: access-nri/build-cd/.github/actions/get-target-matrix@v6
147+
uses: access-nri/build-cd/.github/actions/get-target-matrix@v7
148148
with:
149149
targets: ${{ vars.PRERELEASE_DEPLOYMENT_TARGETS }}
150150

@@ -208,7 +208,7 @@ jobs:
208208
matrix:
209209
# Example: ['Gadi', 'Setonix', ...]
210210
target: ${{ fromJson(needs.defaults.outputs.targets) }}
211-
uses: access-nri/build-cd/.github/workflows/deploy-1-setup.yml@v6
211+
uses: access-nri/build-cd/.github/workflows/deploy-1-setup.yml@v7
212212
with:
213213
deployment-target: ${{ matrix.target }}
214214
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
@@ -177,14 +177,14 @@ jobs:
177177

178178
- name: Validate spack-packages version
179179
id: spack-packages
180-
uses: access-nri/build-cd/.github/actions/validate-repo-version@v6
180+
uses: access-nri/build-cd/.github/actions/validate-repo-version@v7
181181
with:
182182
repo-to-check: spack-packages
183183
pr: ${{ inputs.deployment-ref }}
184184

185185
- name: Validate spack version
186186
id: spack
187-
uses: access-nri/build-cd/.github/actions/validate-repo-version@v6
187+
uses: access-nri/build-cd/.github/actions/validate-repo-version@v7
188188
with:
189189
repo-to-check: spack
190190
pr: ${{ inputs.deployment-ref }}
@@ -215,7 +215,7 @@ jobs:
215215
216216
- name: Validate build-cd config/settings.json
217217
id: settings
218-
uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v6
218+
uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v7
219219
with:
220220
settings-path: ./cd/config/settings.json
221221
target: ${{ inputs.deployment-target }}
@@ -250,7 +250,7 @@ jobs:
250250

251251
- name: Get current (${{ inputs.deployment-ref }}) root spec version
252252
id: current
253-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v6
253+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v7
254254
with:
255255
spack-manifest-path: ${{ inputs.spack-manifest-path }}
256256

@@ -289,7 +289,7 @@ jobs:
289289
- name: Get base root spec version
290290
id: base
291291
if: inputs.deployment-type != 'Release' && steps.checkout-base-spack.outcome != 'failure'
292-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v6
292+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v7
293293
with:
294294
spack-manifest-path: ${{ inputs.spack-manifest-path }}
295295

@@ -330,7 +330,7 @@ jobs:
330330
needs:
331331
- check-config # Verify configuration information is correct
332332
- check-spack-yaml # Verify spack manifest information is correct
333-
uses: access-nri/build-cd/.github/workflows/deploy-2-start.yml@v6
333+
uses: access-nri/build-cd/.github/workflows/deploy-2-start.yml@v7
334334
with:
335335
ref: ${{ inputs.deployment-ref }}
336336
version: ${{ inputs.deployment-version }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
8888
- name: Get ${{ inputs.deployment-target }} ${{ inputs.deployment-type }} Remote Paths
8989
id: path
90-
uses: access-nri/build-cd/.github/actions/get-deploy-paths@v6
90+
uses: access-nri/build-cd/.github/actions/get-deploy-paths@v7
9191
with:
9292
spack-installs-root-path: ${{ vars.SPACK_INSTALLS_ROOT_LOCATION }}
9393
spack-version: ${{ steps.versions.outputs.spack }}
@@ -96,7 +96,7 @@ jobs:
9696

9797
- name: Get manifest info
9898
id: manifest
99-
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v6
99+
uses: access-nri/build-cd/.github/actions/get-spack-root-spec@v7
100100
with:
101101
spack-manifest-path: ${{ inputs.spack-manifest-path }}
102102

.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@v6
56+
uses: access-nri/build-cd/.github/actions/validate-deployment-settings@v7
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@v6
149+
uses: access-nri/build-cd/.github/workflows/settings-2-deploy.yml@v7
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@v6
51+
uses: access-nri/build-cd/.github/actions/get-deploy-paths@v7
5252
with:
5353
spack-installs-root-path: ${{ vars.SPACK_INSTALLS_ROOT_LOCATION }}
5454
spack-version: ${{ steps.versions.outputs.spack }}

0 commit comments

Comments
 (0)