Skip to content
Snippets Groups Projects
Commit 0c64e6f3 authored by Sven Marcus's avatar Sven Marcus
Browse files

Hardcoded ssh install in slurm job

parent 52034962
No related branches found
No related tags found
1 merge request!48Adds a convergence analysis test case that runs on Phoenix
......@@ -238,7 +238,6 @@ gcc_9_python_bindings_test:
###############################################################################
gcc_9_python_slurm_test:
extends: .deploy_template
stage: test
when: manual
......@@ -252,6 +251,16 @@ gcc_9_python_slurm_test:
HOST: "phoenix.hlr.rz.tu-bs.de"
PHOENIX_USER: "y0054816"
before_script:
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- apt-get install -y rsync
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- eval $(ssh-agent -s)
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
- echo $SSH_KEY >> ansible/private_key
- ssh-keyscan -t rsa $HOST >> ~/.ssh/known_hosts
script:
- singularity build PoiseuilleTestContainer.sif Python/SlurmTests/poiseuille/PoiseuilleTestContainer.def
- scp PoiseuilleTestContainer.sif $PHOENIX_USER@$HOST:PoiseuilleTestContainer.sif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment