Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fork_HPC_Vehicle_Classification
m4labhpc
Commits
95f3e78e
Commit
95f3e78e
authored
May 04, 2021
by
Sintal
Browse files
Update .gitlab-ci.yml
parent
b425124b
Pipeline
#3412
passed with stage
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
95f3e78e
image
:
ubuntu
before_script
:
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
ssh-keyscan bwunicluster.scc.kit.edu > ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
-
echo "test from fork"
Test SSH
:
script
:
-
ssh $USER_NAME "test/testscript.sh"
\ No newline at end of file
-
echo "test from fork"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment