Skip to content
Extraits de code Groupes Projets
Valider 9b695916 rédigé par Rémi HUGUET's avatar Rémi HUGUET
Parcourir les fichiers

Merge branch 'huguet2017-master-patch-14139' into 'master'

fix gitci

See merge request !1
parents 6297c247 4e0b3c77
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!1fix gitci
......@@ -5,6 +5,23 @@ ubuntu:18.04
before_script:
- apt-get update -qy
- apt-get install -y lftp
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
##
## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
## We're using tr to fix line endings which makes ed25519 keys work
## without extra base64 encoding.
## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556
##
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
##
## Create the SSH directory and give it the right permissions
##
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
build:
script:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter