Skip to content

Commit

Permalink
Update cd-hpc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
corentincarton authored Jul 23, 2024
1 parent b85285d commit 1837229
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/cd-hpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' }}
Expand Down

0 comments on commit 1837229

Please sign in to comment.