Skip to content

Commit 9747eaf

Browse files
committed
[skip ci] infra: Update to v6
1 parent 458e930 commit 9747eaf

5 files changed

Lines changed: 23 additions & 17 deletions

File tree

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Tommy needs to review changes to infra
2+
/.github/ @CodeGat
3+

.github/workflows/cd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ on:
1010
jobs:
1111
cd:
1212
name: CD
13-
uses: access-nri/build-cd/.github/workflows/cd.yml@v5
13+
uses: access-nri/build-cd/.github/workflows/cd.yml@v6
1414
with:
1515
model: ${{ vars.NAME }}
16+
spack-manifest-schema-version: 1-0-7
17+
config-versions-schema-version: 3-0-0
18+
config-packages-schema-version: 1-0-0
1619
permissions:
1720
contents: write
1821
# This is due to the entrypoint also handling `on.pull_request` events

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,35 +24,35 @@ jobs:
2424
pr-ci:
2525
name: CI
2626
if: >-
27-
(github.event_name == 'pull_request' && github.event.action != 'closed') ||
28-
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
29-
uses: access-nri/build-cd/.github/workflows/ci.yml@v5
27+
(github.event_name == 'pull_request' && github.event.action != 'closed') || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
28+
uses: access-nri/build-cd/.github/workflows/ci.yml@v6
3029
with:
3130
model: ${{ vars.NAME }}
3231
# root-sbd: if different from vars.NAME
3332
pr: ${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.event.issue.number }}
33+
spack-manifest-schema-version: 1-0-7
34+
config-versions-schema-version: 3-0-0
35+
config-packages-schema-version: 1-0-0
3436
permissions:
3537
pull-requests: write
3638
contents: write
3739
statuses: write
3840
secrets: inherit
39-
4041
pr-comment:
4142
name: Comment
4243
if: github.event_name == 'issue_comment'
43-
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v5
44+
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v6
4445
with:
4546
model: ${{ vars.NAME }}
4647
# root-sbd: if different from vars.NAME
4748
permissions:
4849
pull-requests: write
4950
contents: write
5051
secrets: inherit
51-
5252
pr-closed:
5353
name: Closed
5454
if: github.event_name == 'pull_request' && github.event.action == 'closed'
55-
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v5
55+
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v6
5656
with:
5757
root-sbd: ${{ vars.NAME }} # or something else, if different from vars.NAME
5858
secrets: inherit

config/packages.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/packages/1-0-0.json",
3+
"provenance": [
4+
"roms"
5+
],
6+
"injection": [
7+
"openmpi"
8+
]
9+
}

spack.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,3 @@ spack:
2828
view: true
2929
concretizer:
3030
unify: true
31-
modules:
32-
default:
33-
tcl:
34-
include:
35-
- coastri-roms
36-
- roms
37-
projections:
38-
coastri-roms: '{name}/2025.06.000'
39-
roms: '{name}/c1c5efd8276dfa67029363499ff7370b4582c47b-{hash:7}'

0 commit comments

Comments
 (0)