From 183722981871044eff18c56f570d7066a4232f31 Mon Sep 17 00:00:00 2001 From: corentincarton Date: Tue, 23 Jul 2024 12:15:42 +0100 Subject: [PATCH] Update cd-hpc.yml --- .github/workflows/cd-hpc.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd-hpc.yml b/.github/workflows/cd-hpc.yml index 3bedc09..fcc7675 100644 --- a/.github/workflows/cd-hpc.yml +++ b/.github/workflows/cd-hpc.yml @@ -6,10 +6,6 @@ on: description: 'Module name' required: true type: string - wellies-version: - description: 'Wellies version' - required: false - type: string pyflow-version: description: 'PyFlow version' required: false @@ -28,13 +24,20 @@ jobs: - uses: ecmwf-actions/reusable-workflows/ci-hpc-generic@v2 with: troika_user: ${{ secrets.HPC_CI_SSH_USER }} + template_data: | + repo_name: "danu" + repo_url: "https://${{ secrets.BUILD_PACKAGE_HPC_GITHUB_USER }}:${{ secrets.GH_REPO_READ_TOKEN || github.token }}@github.com/${{ github.repository }}.git" + ref: "${{github.sha}}" + target_name: "${{ github.ref_name }}" + ENV_NAME: "${{ inputs.env_name }}" + template: | set -eux python3_versions=("3.10.10-01" "3.11.8-01") MODULE_VERSION=${{ github.event_name == 'workflow_dispatch' && inputs.module-name || github.ref_name }} - WELLIES_VERSION=${{ github.event_name == 'workflow_dispatch' && inputs.wellies-version || github.ref_name }} + WELLIES_VERSION=${{ github.event_name == 'workflow_dispatch' && github.sha || github.ref_name }} PYFLOW_VERSION=${{ github.event_name == 'workflow_dispatch' && inputs.pyflow-version || '3.2.1' }} TRACKSUITE_VERSION=${{ github.event_name == 'workflow_dispatch' && inputs.tracksuite-version || '0.3.3' }}