Deployment_test #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deployment | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy_CVMFS: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge,defaults | |
channel-priority: true | |
activate-environment: anaconda-client-env | |
- name: Deploy on CVMFS | |
env: | |
CVMFS_PROXY_BASE64: ${{ secrets.CVMFS_PROXY_BASE64 }} | |
run: | | |
conda install openssl=3.0.7 gct | |
echo "$CVMFS_PROXY_BASE64" | base64 --decode > cvmfs.proxy | |
export X509_USER_PROXY=cvmfs.proxy | |
export PATH=/usr/share/miniconda3/bin:/opt/conda/bin/:/opt/conda/condabin:$PATH | |
type -a openssl | |
openssl version | |
type -a gsissh | |
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts | |
ssh-keygen -R cvmfs-upload01.gridpp.rl.ac.uk | |
ssh-keyscan cvmfs-upload01.gridpp.rl.ac.uk >> ~/.ssh/known_hosts | |
gsissh -p 1975 -t [email protected] /home/diracsgm/cvmfs_repo/admin/sync_packages.sh -v |