From 35a6726f61f645009effd87d266a1412373c8028 Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 15 Sep 2020 15:24:01 -0600 Subject: fix: pull submodules via https instead of ssh for gitlab-runner limitation --- .gitlab-ci.yml | 4 ++-- .gitmodules | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e34173..f4e111c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ variables: DOCKER_DRIVER: overlay2 GIT_DEPTH: "1" GIT_STRATEGY: fetch + GIT_SUBMODULE_STRATEGY: 'recursive' stages: - test @@ -12,7 +13,6 @@ e2e: services: - docker:stable-dind script: - - apk add git ruby ruby-bundler ruby-json - - git submodule update --init --recursive + - apk add ruby ruby-bundler ruby-json - bundle install - bundle exec rspec diff --git a/.gitmodules b/.gitmodules index c8ef07f..85e1a20 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "src/gemnasium-maven"] path = src/gemnasium-maven - url = git@gitlab.com:gitlab-org/security-products/analyzers/gemnasium-maven.git + url = https://gitlab.com/gitlab-org/security-products/analyzers/gemnasium-maven.git [submodule "src/spotbugs"] path = src/spotbugs - url = git@gitlab.com:gitlab-org/security-products/analyzers/spotbugs.git + url = https://gitlab.com:gitlab-org/security-products/analyzers/spotbugs.git -- cgit v1.2.3