-
Notifications
You must be signed in to change notification settings - Fork 176
36 lines (31 loc) · 1.11 KB
/
cvmfs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Deployment_test
on:
workflow_dispatch:
jobs:
deploy_CVMFS:
runs-on: "ubuntu-latest"
steps:
- name: prepare environment
run: |
conda create -c conda-forge -n cvmfs-env ca-policy-lcg openssl==3.0.7 gct
- name: Deploy on CVMFS
env:
CVMFS_PROXY_BASE64: ${{ secrets.CVMFS_PROXY_BASE64 }}
run: |
eval "$(conda shell.bash hook)" && conda activate cvmfs-env
conda info
conda info --envs
conda list
conda install ca-policy-lcg openssl==3.0.7 gct
echo "$CVMFS_PROXY_BASE64" | base64 --decode > cvmfs.proxy
export X509_USER_PROXY=cvmfs.proxy
chmod 600 cvmfs.proxy
ls -l
cat 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-keyscan cvmfs-upload01.gridpp.rl.ac.uk >> ~/.ssh/known_hosts
gsissh -p 1975 -t cvmfs-upload01.gridpp.rl.ac.uk /home/diracsgm/admin/sync_packages.sh -v