Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 7f0a2dc2 authored by aumgn's avatar aumgn
Browse files

Fix deploy script

parent 172c77e5
......@@ -41,22 +41,25 @@ ssh mc2 <<EOF
git clone erods:repo/bench.git ~/bench
cat <<SSHEOF >> ~/.bashrc
cat <<'SSHEOF' >> ~/.bashrc
export AUMGN_PROMPT_HOST=mc2
source ~/.config/bash/rc
export BENCH_PATH=~/bench
PATH=\$BENCH_PATH/bin/mc-2:\$PATH
SSHEOF
echo 'source ~/.config/bash/profile' >> ~/.bash_profile
EOF
scp -r ~/files/tmp mc2:~/bench/
scp -r ~/deploy/mc2/ubuntu1604-x64-mc-2.qcow2 mc2:~/bench/tmp/
ssh mc2 <<EOF
export BENCH_PATH=~/bench
PATH=\$BENCH_PATH/bin/mc-2:\$PATH
make -C\$BENCH_PATH
EOF
scp -r ~/files/tmp mc2:~/bench/
scp -r ~/deploy/mc2/ubuntu1604-x64-mc-2.qcow2 mc2:~/bench/tmp/
if [[ a$kernel == a ]]; then
exit 0
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment