File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010jobs :
1111 cd :
1212 name : CD
13- uses : access-nri/build-cd/.github/workflows/cd.yml@v6
13+ uses : access-nri/build-cd/.github/workflows/cd.yml@v7
1414 with :
1515 model : ${{ vars.NAME }}
1616 spack-manifest-schema-version : 1-0-7
Original file line number Diff line number Diff line change 1+ name : Command
2+ on :
3+ issue_comment :
4+ types :
5+ - created
6+ - edited
7+ jobs :
8+ redeploy :
9+ name : Redeploy
10+ if : startsWith(github.event.comment.body, '!redeploy') && github.event.issue.pull_request
11+ uses : access-nri/build-cd/.github/workflows/ci.yml@v7
12+ with :
13+ model : ${{ vars.NAME }}
14+ pr : ${{ github.event.issue.number }}
15+ spack-manifest-schema-version : 1-0-7
16+ config-versions-schema-version : 3-0-0
17+ config-packages-schema-version : 1-0-0
18+ permissions :
19+ pull-requests : write
20+ contents : write
21+ statuses : write
22+ secrets : inherit
23+ bump :
24+ name : Bump
25+ if : startsWith(github.event.comment.body, '!bump') && github.event.issue.pull_request
26+ uses : access-nri/build-cd/.github/workflows/ci-comment.yml@v7
27+ with :
28+ model : ${{ vars.NAME }}
29+ permissions :
30+ pull-requests : write
31+ contents : write
32+ secrets : inherit
33+ configs :
34+ name : Configs
35+ if : startsWith(github.event.comment.body, '!update-configs') && github.event.issue.pull_request
36+ uses : access-nri/build-cd/.github/workflows/ci-command-configs.yml@v7
37+ with :
38+ model : ${{ vars.NAME }}
39+ auto-configs-pr-schema-version : 1-0-0
40+ permissions :
41+ pull-requests : write
42+ secrets :
43+ configs-repo-token : ${{ secrets.CONFIGS_REPO_TOKEN }}
44+ commit-gpg-private-key : ${{ secrets.GH_ACTIONS_BOT_GPG_PRIVATE_KEY }}
45+ commit-gpg-passphrase : ${{ secrets.GH_ACTIONS_BOT_GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change 1414 paths :
1515 - config/**
1616 - spack.yaml
17- issue_comment :
18- types :
19- - created
20- - edited
2117jobs :
2218 pr-ci :
2319 name : CI
2420 if : >-
25- ( github.event_name == 'pull_request' && github. event.action != 'closed') || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
26- uses : access-nri/build-cd/.github/workflows/ci.yml@v6
21+ github.event.action != 'closed'
22+ uses : access-nri/build-cd/.github/workflows/ci.yml@v7
2723 with :
2824 model : ${{ vars.NAME }}
29- pr : ${{ github.event_name == 'pull_request' && github. event.pull_request.number || github.event.issue .number }}
25+ pr : ${{ github.event.pull_request.number }}
3026 spack-manifest-schema-version : 1-0-7
3127 config-versions-schema-version : 3-0-0
3228 config-packages-schema-version : 1-0-0
@@ -35,20 +31,10 @@ jobs:
3531 contents : write
3632 statuses : write
3733 secrets : inherit
38- pr-comment :
39- name : Comment
40- if : github.event_name == 'issue_comment'
41- uses : access-nri/build-cd/.github/workflows/ci-comment.yml@v6
42- with :
43- model : ${{ vars.NAME }}
44- permissions :
45- pull-requests : write
46- contents : write
47- secrets : inherit
4834 pr-closed :
4935 name : Closed
50- if : github.event_name == 'pull_request' && github. event.action == 'closed'
51- uses : access-nri/build-cd/.github/workflows/ci-closed.yml@v6
36+ if : github.event.action == 'closed'
37+ uses : access-nri/build-cd/.github/workflows/ci-closed.yml@v7
5238 with :
5339 root-sbd : ${{ vars.NAME }}
5440 secrets : inherit
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/ACCESS-NRI/schema/main/au.org.access-nri/model/deployment/config/auto-configs-pr/1-0-0.json" ,
3+ "profiles" : {
4+
5+ "default" : {
6+ "configs_repo" : " ACCESS-NRI/access-am3-configs" ,
7+ "configs" : {
8+ "dev-n96e" : {
9+ "checks" : {
10+ "repro" : true
11+ }
12+ }
13+ }
14+ }
15+
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments