summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-15 15:24:01 -0600
committermo khan <mo.khan@gmail.com>2020-09-15 15:24:01 -0600
commit35a6726f61f645009effd87d266a1412373c8028 (patch)
tree8d6f7dfc57e5ad1e89b2007b54c2dbe6aadddc19
parent7abd35d02c5e099ad9cff0fa6d2925b41b413600 (diff)
fix: pull submodules via https instead of ssh for gitlab-runner limitation
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--.gitmodules4
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