Skip to content
Snippets Groups Projects
Commit 6282690a authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Update .gitlab-ci.yml

parent 2dbfaff2
No related branches found
No related tags found
No related merge requests found
...@@ -18,15 +18,14 @@ before_script: ...@@ -18,15 +18,14 @@ before_script:
## without extra base64 encoding. ## without extra base64 encoding.
## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556 ## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556
## ##
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- echo "$SSH_KNOWN_HOSTS" > $HOME/.ssh/known_hosts
## ##
## Create the SSH directory and give it the right permissions ## Create the SSH directory and give it the right permissions
## ##
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan -H gitlab.iri.upc.edu >> $HOME/.ssh/known_hosts
- ls - ls
- apt-get update - apt-get update
- apt-get install -y build-essential cmake - apt-get install -y build-essential cmake
......
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