You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`spack-packages-repository-name`|`string`| The name of the repository used by spack to update and checkout the ref (given in the spack config file `repos.yaml`) |`true`| N/A |`"builtin"`|
10
+
|`spack-packages-repository-path`|`string` (path) | The path to the repository to update and check out the ref |`true`| N/A |`"/root/.spack/package_repos/fncqgg4/repos/spack_repo/builtin"`|
11
+
|`ref`|`string` (git branch, tag or sha) | The git ref to check out |`true`| N/A |`"main"` or `"v1"` or `"f8r73g3"`|
12
+
|`spack-instance-root-path`|`string` (path) | The path to the spack instance root, used to setup the spack environment |`true`| N/A |`"/opt/spack"`|
13
+
An example [`repos.yaml` file](https://github.com/ACCESS-NRI/spack-config/blob/main/common-api-v2/repos.yaml) as referenced above.
14
+
## Outputs
15
+
16
+
| Name | Type | Description | Example |
17
+
| ---- | ---- | ----------- | ------- |
18
+
|`sha`|`string` (sha) | The SHA of the checked out ref |`"5a1cdc4e4617fcd6ba1cccf1cd0432b5631983be"`|
19
+
|`updated`|`string` (boolean) | Whether there was actually an update to the ref |`"true"` or `"false"`|
Copy file name to clipboardExpand all lines: .github/workflows/README.md
+16-13Lines changed: 16 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,10 @@ This workflow handles building and running short CI tests on a given spack manif
14
14
|`spack-manifest-data-path`|`string` (Path relative to component repository root) | File path in the caller model component repository that contains jinja data to fill in to the spack manifest jinja template given by `inputs.spack-manifest-path`. This doesn't include the pull request ref (`{{ pr }}`), which is filled in automatically |`false`| N/A |`".github/build/data/template-data.json"`|
15
15
|`spack-compiler-manifest-path`|`string` (Path relative to component repository root) | A file path in the caller model component repository that contains the spack manifest to install local compilers not in the upstream |`false`| N/A |`".github/build/compilers/intel-2021.11.0.spack.yml"`|
16
16
|`spack-manifest-data-pairs`|`string`| An optional, multi-line string of space-separated key-value pairs to fill in `inputs.spack-manifest-path`. This is useful for filling in template values created dynamically by earlier jobs needed by this workflow. This doesn't include `{{ ref }}`, which is filled in automatically. |`false`| N/A |`"package mom5`(newline)`compiler intel"`|
17
-
|`ref`|`string` (Git ref) | The branch, tag, or commit SHA of the caller model component repository |`false`|`github.event.pull_request.head.sha` for PRs, `github.sha` otherwise |`"02125b01eb7c778c8d0ae0a02a260de474782e81"`, `"main"`, `"2025.01.000"`|
17
+
|`ref`|`string` (Git ref) | The branch, tag, or commit SHA of the caller model component repository |`false`|`github.event.pull_request.head.sha` for PRs, `github.sha` otherwise |`"c0fef23fc1e69d3a31ec18fd8b7102acdf95f651"`, `"main"`, `"2025.01.000"`|
18
18
|`spack-config-ref`|`string` (Git ref) | The branch, tag, or commit SHA of the access-nri/spack-config repository to use |`false`|`"main"`|`"02125b01eb7c778c8d0ae0a02a260de474782e81"`, `"main"`, `"2025.01.000"`|
19
-
|`spack-packages-ref`|`string` (Git ref) | The branch, tag, or commit SHA of the access-nri/spack-packages repository to use |`false`|`"main"`|`"02125b01eb7c778c8d0ae0a02a260de474782e81"`, `"main"`, `"2025.01.000"`|
19
+
|`builtin-spack-packages-ref`|`string` (Git ref) | The branch, tag, or commit SHA of the `spack/spack-packages` repository to use |`false`|`"main"`|`"f7314790111ec43cf9cff60421c155b922c349ad"`, `"main"`, `"2025.01.000"`|
20
+
|`access-spack-packages-ref`|`string` (Git ref) | The branch, tag, or commit SHA of the `access-nri/access-spack-packages` repository to use |`false`|`"main"`|`"e4ba85db0be4a9b9493cf7581623f9997b9404a5"`, `"main"`, `"2025.01.000"`|
20
21
|`allow-ssh-into-spack-install`|`boolean`| Enable the actor of the workflow to SSH into the container where the spack packages have been installed. This is useful for gathering post-install information before the container is destroyed. This will also make the workflow wait until the actor SSHs into the container, or it times out, before continuing |`false`|`false`|`true`, `false`|
21
22
|`container-image-version`|`string` (Docker version ref) | The version of the container image to use for the runner. Can be either a `:TAG` or a `@sha256:SHA`. |`false`|`":rocky"`|`':8.9'` (tag), `'@sha256:1234...'` (SHA) |
22
23
|`spack-oci-buildcache-url`|`string` (OCI URL) | The URL to an oci-backed buildcache, available in spack >= v1.0. OCI-backed buildcaches are the only option for GitHub-hosted CI, and can be used as a backup for self-hosted CI's runner buildcache |`false`| N/A |`"oci://ghcr.io/ACCESS-NRI/build-ci-buildcache"`, `"oci://ghcr.io/ORG/IMAGE"`|
@@ -43,9 +44,10 @@ This workflow handles building and running short CI tests on a given spack manif
43
44
| ---- | ---- | ----------- | ------- |
44
45
|`spec-concretization-graph`|`string` (multiline) | A visual representation of the dependencies and constraints of the spack manifest file installed | N/A |
45
46
|`spack-sha`|`string` (Git commit SHA) | The SHA of the `ACCESS-NRI/spack` repository checked out |`"02125b01eb7c778c8d0ae0a02a260de474782e81"`|
46
-
|`spack-config-sha`|`string` (Git commit SHA) | The SHA of the `ACCESS-NRI/spack-config` repository checked out |`"02125b01eb7c778c8d0ae0a02a260de474782e81"`|
47
-
|`spack-packages-sha`|`string` (Git commit SHA) | The SHA of the `ACCESS-NRI/spack-packages` repository checked out |`"02125b01eb7c778c8d0ae0a02a260de474782e81"`|
48
-
|`sha`|`string` (Git commit SHA) | The SHA of the caller model component repository checked out |`"02125b01eb7c778c8d0ae0a02a260de474782e81"`|
47
+
|`spack-config-sha`|`string` (Git commit SHA) | The SHA of the `ACCESS-NRI/spack-config` repository checked out |`"c0fef23fc1e69d3a31ec18fd8b7102acdf95f651"`|
48
+
|`builtin-spack-packages-sha`|`string` (Git commit SHA) | The SHA of the `spack/spack-packages` repository checked out |`"9225ee95da5c6e212a80d933db8aca44271417a3"`|
49
+
|`access-spack-packages-sha`|`string` (Git commit SHA) | The SHA of the `ACCESS-NRI/access-spack-packages` repository checked out |`"2acb57187fc75c0fc83c898d1dd47bdaced2fca9"`|
50
+
|`sha`|`string` (Git commit SHA) | The SHA of the caller model component repository checked out |`"43ef5da423028a9a25133884e6e402900e87a3ce"`|
49
51
|`container-id`|`string`| The ID of the container where the spack packages have been installed |`"ohfn2ofy2h2uyfg2uyg3uyg3uh"`|
50
52
|`spack-files-artifact-pattern`|`string` (glob) | Wildcard pattern to match all spack file artifacts across a matrix job |`'spack-files-*'`|
51
53
|`spack-files-artifact-url`|`string` (URL) | The URL of the spack manifest and lock files artifact |`"https://github.com/ACCESS-NRI/MOM5/actions/runs/15890554355/artifacts/3406449135"`|
@@ -67,7 +69,7 @@ This workflow handles building and running short CI tests on a given spack manif
@@ -174,7 +177,7 @@ The jinja data file (and the jinja-templatable spack manifest) can be much more
174
177
Alternatively, you can supply a newline-separated list of space-separated template-value pairs through `inputs.spack-manifest-data-pairs`, which are more useful if you are supplying data to this workflow through `need`ed job outputs. For example:
0 commit comments