summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Klischies <daniel@danielklischies.net>2016-10-21 18:38:11 +0000
committerDaniel Klischies <daniel@danielklischies.net>2016-10-21 18:38:11 +0000
commit68af55c3f93be79841957ff12b736e104fdc40de (patch)
tree649207a5e3299dab2a7ebb2f2d3ba315e6550cb7
parent083f9f8c0a6dab694500b8899749ff017edc9845 (diff)
downloadgitlab-ce-68af55c3f93be79841957ff12b736e104fdc40de.tar.gz
Add a note regarding syncing the git submodule conf to CI doc.
-rw-r--r--doc/user/project/new_ci_build_permissions_model.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/project/new_ci_build_permissions_model.md b/doc/user/project/new_ci_build_permissions_model.md
index 8827b501901..608475116a1 100644
--- a/doc/user/project/new_ci_build_permissions_model.md
+++ b/doc/user/project/new_ci_build_permissions_model.md
@@ -254,6 +254,12 @@ test:
This will make GitLab CI initialize (fetch) and update (checkout) all your
submodules recursively.
+If git does not use the newly added relative URLs but still uses your old URLs,
+you might need to add `git submodule sync --recursive` to your `.gitlab-ci.yml`,
+prior to running `git submodule update --init --recursive`. This transfers the
+changes from your `.gitmodules` file into the `.git` folder, which is kept by
+runners between runs.
+
In case your environment or your Docker image doesn't have Git installed,
you have to either ask your Administrator or install the missing dependency
yourself: