Skip to content
Snippets Groups Projects
Commit d64ad32f authored by Eric Eastwood's avatar Eric Eastwood
Browse files
parent 4c884367
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -16,7 +16,7 @@ before_script:
# -----------------------------------------------------------
# Install ssh-agent if not already installed, it is required by Docker.
# (change apt-get to yum if you use a CentOS-based image)
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- 'which ssh-agent || (apt-get update -y && apt-get install openssh-client -y)'
# Run ssh-agent (inside the build environment)
- eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
Loading
Loading
@@ -27,6 +27,9 @@ before_script:
# you will overwrite your user's SSH config.
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
# Install rsync
# --------
- which rsync || (apt-get update -y && apt-get install rsync -y)
 
 
build:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment