Skip to content

Commit

Permalink
feat: upload releases to CVMFS
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Dec 7, 2023
1 parent ccc050e commit cd181d2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,25 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

deploy_CVMFS:
runs-on: "ubuntu-latest"
if: github.event_name == 'workflow_dispatch'
steps:
- uses: conda-incubator/setup-miniconda@master
with:
miniforge-variant: Mambaforge
use-mamba: true
python-version: 3.11
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
activate-environment: deploy_cvmfs
- name: Deploy on CVMFS
env:
CVMFS_PROXY_BASE64: ${{ secrets.CVMFS_PROXY_BASE64 }}
run: |
mamba install gct
echo "$CVMFS_PROXY_BASE64" | base64 --decode > cvmfs.proxy
export X509_USER_PROXY=cvmfs.proxy
gsissh -p 1975 -t cvmfs-upload01.gridpp.rl.ac.uk /home/diracsgm/cvmfs_repo/admin/sync_packages.sh

0 comments on commit cd181d2

Please sign in to comment.