From 803c73ba2df31f449dd0eca682648ee0359d66fd Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Tue, 17 Feb 2026 15:06:21 +1100 Subject: [PATCH 1/3] Add yq --- yq/spack.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 yq/spack.yaml diff --git a/yq/spack.yaml b/yq/spack.yaml new file mode 100644 index 0000000..a15be68 --- /dev/null +++ b/yq/spack.yaml @@ -0,0 +1,38 @@ +# This is a Spack Environment file. +# +# It describes a set of packages to be installed, along with +# configuration settings. +# +# This manifest is for installing yq, a command-line YAML processor. +spack: + definitions: + # _name and _version are reserved definitions that inform build-cd deployments, and have no effect otherwise + - _name: [yq] + - _version: [4.45.4] + specs: + - yq@4.45.4 + packages: + # Compilers + c: + require: + - 'gcc@15.1.0' + cxx: + require: + - 'gcc@15.1.0' + fortran: + require: + - 'gcc@15.1.0' + all: + prefer: + - 'target=x86_64_v3' + view: true + concretizer: + unify: true + modules: + default: + tcl: + include: + - pinentry + projections: + # build-cd will inject the _version into this projection + pinentry: 'system-tools/{name}' From 379bb256c57fb86ce05e869666e8b114a6136566 Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Wed, 18 Feb 2026 11:38:31 +1100 Subject: [PATCH 2/3] Add '-RELEASE' to build, update module includes --- yq/spack.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yq/spack.yaml b/yq/spack.yaml index a15be68..74dd722 100644 --- a/yq/spack.yaml +++ b/yq/spack.yaml @@ -8,7 +8,7 @@ spack: definitions: # _name and _version are reserved definitions that inform build-cd deployments, and have no effect otherwise - _name: [yq] - - _version: [4.45.4] + - _version: [4.45.4-1] specs: - yq@4.45.4 packages: @@ -32,7 +32,7 @@ spack: default: tcl: include: - - pinentry + - yq projections: # build-cd will inject the _version into this projection - pinentry: 'system-tools/{name}' + yq: 'system-tools/{name}' From c4efe7db51012853a69cc531b9d24fd4bc647884 Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Fri, 20 Feb 2026 09:24:27 +1100 Subject: [PATCH 3/3] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index eb59ce5..56208cd 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ This repository is for deploying general purpose system software that is used on HPC targets, in this case gadi@NCI utilising the [build-cd](https://github.com/ACCESS-NRI/build-cd) infrastructure. +## Versioning + +Versioning of tools in this repository consists of taking the official versions defined in the package, and appending a build number to the end of it (eg., for `yq 4.45.4`, the version would be `4.45.4-1`). This is so we are able to make changes unrelated to the package itself (eg. updating compilers and other lower-level dependenceis) without needing to wait and bundle changes until the next official release of a package we don't control. + ## Supported tools ### ncdu @@ -30,6 +34,10 @@ The OpenSSH suite consists of the following tools: > pinentry system-tool was added primarily for [mosrs-auth simple password input dialog](https://github.com/ACCESS-NRI/dev-docs/wiki/MOSRS#mosrs-auth-with-a-simple-password-input-dialog). > For all other use cases, we recommend using Gadi's system pinentry, as ACCESS-NRI has not tested or validated this library configuration for security compliance. +### yq + +[yq](https://mikefarah.gitbook.io/yq) is a lightweight YAML processor. + ## How to use **Requirements**: you must be a member of [`vk83`](https://my.nci.org.au/mancini/project/vk83).