Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Communications
embl-grav
Commits
a2906f6a
Commit
a2906f6a
authored
Jun 22, 2018
by
Ken Hawkins
Browse files
Run apt-get update first
parent
7b2b1941
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a2906f6a
...
...
@@ -18,9 +18,7 @@ Test SSH:
## Install ssh-agent if not already installed, it is required by Docker.
## (change apt-get to yum if you use an RPM-based image)
##
-
'
which
ssh-agent
||
(
apt-get
install
openssh-client
git
-y
)'
## If you want to run apt-get update first...
## - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
git
-y
)'
##
## Run ssh-agent (inside the build environment)
...
...
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