From 31313634e4c50528e63aa339f289bd5cd6466817 Mon Sep 17 00:00:00 2001 From: fherrero <fherrero@iri.upc.edu> Date: Fri, 26 Jul 2019 10:33:19 +0200 Subject: [PATCH] Update ci yaml trying to make submodules sync --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 184e6f9..23d261d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,6 @@ GIT_SUBMODULE_STRATEGY: recursive before_script: - - git submodule sync --recursive - - git submodule update --init --recursive - which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null @@ -14,6 +12,8 @@ - ssh-keyscan -p 2202 gitlab.iri.upc.edu >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - ssh -p 2202 git@gitlab.iri.upc.edu #test + - git submodule sync --recursive + - git submodule update --init --recursive stages: - build -- GitLab