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
Muddsair Sharif
m4labhpc
Commits
47581523
Commit
47581523
authored
5 years ago
by
Muddsair Sharif
Browse files
Options
Download
Email Patches
Plain Diff
Add new file
parent
53fb2ad5
No related merge requests found
Pipeline
#331
failed with stage
in 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-0
.gitlab-ci.yml
with
14 additions
and
0 deletions
+14
-0
.gitlab-ci.yml
0 → 100644
+
14
-
0
View file @
47581523
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
-
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
Test SSH
:
script
:
-
ssh hs_sharif@bwunicluster.scc.kit.edu "test/testscript.sh"
\ No newline at end of file
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