From bc221344358b0d0ec717699f4ebea3c99e26568a Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Tue, 27 Aug 2024 09:28:04 +1000 Subject: [PATCH 1/3] ci.yml: Updated deployment comment to have new module load, updated spack version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e3a731..0fe6542 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -227,11 +227,11 @@ jobs: This Prerelease is accessible on Gadi using: ```bash - module use /g/data/vk83/prerelease/modules/access-models/ + module use /g/data/vk83/modules module load ${{ needs.defaults.outputs.root-sbd }}/${{ needs.version.outputs.prerelease }} ``` where the binaries shall be on your `$PATH`. - This Prerelease is also accessible on Gadi via `/g/data/vk83/prerelease/apps/spack/0.21/spack` in the `${{ needs.defaults.outputs.root-sbd }}-${{ needs.version.outputs.prerelease }}` environment. + This Prerelease is also accessible on Gadi via `/g/data/vk83/prerelease/apps/spack/0.22/spack` in the `${{ needs.defaults.outputs.root-sbd }}-${{ needs.version.outputs.prerelease }}` environment. :hammer_and_wrench: Using: spack-packages `${{ needs.check-config.outputs.spack-packages-version}}`, spack-config `${{ needs.check-config.outputs.spack-config-version }}`
From 3ba00315626ae010b79b608b5220f8e099b65e03 Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Tue, 27 Aug 2024 09:32:25 +1000 Subject: [PATCH 2/3] cd.yml: Updated tagging logic similar to ACCESS-NRI/model-config-tests#55 --- .github/workflows/cd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1a454c9..454fa49 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -74,8 +74,10 @@ jobs: git_tag_gpgsign: true - name: Push Tag + env: + TAG: ${{ steps.tag.outputs.name }} run: | - git tag ${{ steps.tag.outputs.name }} + git tag ${{ env.TAG }} -m "Deployment of ${{ inputs.model }} ${{ env.TAG }} via build-cd 'cd.yml' workflow" git push --tags deploy-release: From 968a4284e9dc81784653765380f02bef1873fce4 Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Tue, 27 Aug 2024 10:52:57 +1000 Subject: [PATCH 3/3] Update .github/workflows/ci.yml Co-authored-by: jo-basevi Signed-off-by: Tommy Gatti --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fe6542..740ec91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -227,7 +227,7 @@ jobs: This Prerelease is accessible on Gadi using: ```bash - module use /g/data/vk83/modules + module use /g/data/vk83/prerelease/modules module load ${{ needs.defaults.outputs.root-sbd }}/${{ needs.version.outputs.prerelease }} ``` where the binaries shall be on your `$PATH`.