Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
fd12e6a7
Commit
fd12e6a7
authored
4 years ago
by
Sintal
Browse files
Options
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
42df4d3e
Pipeline
#3679
failed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-14
.gitlab-ci.yml
with
2 additions
and
14 deletions
+2
-14
.gitlab-ci.yml
+
2
-
14
View file @
fd12e6a7
image
:
ubuntu
before_script
:
-
echo "Hello, $GITLAB_USER_LOGIN!"
#- curl ifconfig.me
#- ip addr show
#- apt-get install iproute2
#- apt-file search --regexp 'bin/ip$'
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
#- apt-get install expect -y
#- apt-get install sshpass
#- sshpass -p $SSH_PASSPHRASE
#- export SSH_ASKPASS=$SSH_PASSPHRASE
-
echo "$SSH_PRIVATE_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
#- expect "Enter passphrase for (stdin):"
#- send $SSH_PASSPHRASE
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
ssh-keyscan bwunicluster.scc.kit.edu > ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
-
ssh $USER_NAME "./scriptPull/pull.sh"
Test SSH
:
script
:
-
echo "test from fork"
-
scp testscript.sh $USER_NAME:~/testscript/testscript.sh
-
ssh $USER_NAME "test/testscript.sh"
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets