Add a note regarding syncing the git submodule conf to CI doc.
This commit is contained in:
parent
083f9f8c0a
commit
68af55c3f9
1 changed files with 6 additions and 0 deletions
|
@ -254,6 +254,12 @@ test:
|
||||||
This will make GitLab CI initialize (fetch) and update (checkout) all your
|
This will make GitLab CI initialize (fetch) and update (checkout) all your
|
||||||
submodules recursively.
|
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,
|
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
|
you have to either ask your Administrator or install the missing dependency
|
||||||
yourself:
|
yourself:
|
||||||
|
|
Loading…
Reference in a new issue