Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
data-lakes
data
Level_0
00001_LexploreMeteostation
Commits
790ec16d
Commit
790ec16d
authored
Oct 03, 2019
by
James Runnalls
Browse files
Update .gitlab-ci.yml
parent
9c1b6a8d
Pipeline
#7176
failed with stage
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
790ec16d
...
...
@@ -30,9 +30,10 @@ scripts:
stage
:
build
image
:
$CI_REGISTRY_IMAGE:$IMAGE_COMMIT
before_script
:
# Setup SSH deploy keys
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
-
ssh-add <(
echo "$SSH_PRIVATE_KEY"
)
-
echo "$SSH_PRIVATE_KEY"
| tr -d '\r' | ssh-add -
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
script
:
-
ssh -tt centos@148.187.97.230
\ No newline at end of file
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