diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a28b47b7183fd62d06497640b16e0b189a645193..56099c18d75758515e243ed52d186b5cac04ba53 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -116,6 +116,9 @@ cc-lyon: image: docker.km3net.de/base/ci-helper:1 stage: release script: + - mkdir -p /root/.ssh && chmod 700 /root/.ssh + - ssh-keyscan -H $IN2P3_HOST > ~/.ssh/known_hosts + - chmod 600 /root/.ssh/known_hosts - sshpass -p $IN2P3_PASSWORD ssh -v $IN2P3_USERNAME@$IN2P3_HOST 'export MODULEPATH=/pbs/throng/km3net/modulefiles; source /usr/share/Modules/init/bash; module load python/3.7.5; pip install git+https://git.km3net.de/km3py/km3io.git' # only: # -tags