I have an older version of gitlab-runner (gitlab-runner 11.10.1 (1f513601)). I am trying to force HTTPS usage for submodule cloning. In my gitlab-ci.yml file I have a couple variable lines that look like the following. In the log at the very bottom, it looks like gitlab-runner is still using SSH. Is there a bug in 11.10.1 that doesn't honor the GIT_SUBMODULE_FORCE_HTTPS setting?
variables:
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH/$CI_COMMIT_BRANCH
GIT_STRATEGY: fetch
GIT_DEPTH: 1
GIT_SUBMODULE_STRATEGY: recursive
CI_PROJECT: ""
CI_COLLECT_COVERAGE: 0
CI_WHO_LIST: ""
CI_TESTLIST: regress_full_list
GIT_SUBMODULE_FORCE_HTTPS: "true"
When my pipeline runs, I see this in the log:
Cloning into '/scratch01/fpga_ci7/builds/0/fpga/prime/topsim'...
remote:
remote: ========================================================================
remote:
remote: The project you were looking for could not be found or you don't have permission to view it.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@gitXXX.XXXXX.com:fpga/topsim.git' into submodule path '/scratch01/fpga_ci7/builds/0/fpga/prime/topsim' failed
Failed to clone 'topsim'. Retry scheduled