Skip to content
Snippets Groups Projects
Commit 31313634 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Update ci yaml trying to make submodules sync

parent 822fb276
No related branches found
No related tags found
No related merge requests found
Pipeline #4052 failed
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
before_script: before_script:
- git submodule sync --recursive
- git submodule update --init --recursive
- 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 )
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
...@@ -14,6 +12,8 @@ ...@@ -14,6 +12,8 @@
- ssh-keyscan -p 2202 gitlab.iri.upc.edu >> ~/.ssh/known_hosts - ssh-keyscan -p 2202 gitlab.iri.upc.edu >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- ssh -p 2202 git@gitlab.iri.upc.edu #test - ssh -p 2202 git@gitlab.iri.upc.edu #test
- git submodule sync --recursive
- git submodule update --init --recursive
stages: stages:
- build - build
......
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