Using Git Submodule in Gitlab CI
โ Last Updated : December 19, 2022
๐ช Prequisite Knowledge (Optional)
UploadDescribe InInitial ProgressKnowledge that reader need to know before reading this article
- [Git Submodule](Git Submodule 44959cb161e24131ab89e18e5f89eb12.md)
- Gitlab CI Variables
โ Key Question / Problem / Issue
Describe what question / Problem / Issue this knowledge should answer
Gitlab CI doesnโt synchronize Registered Git Submodule of a project resulting in jobs failure
โ Expected Output/Definition of Done
Define what information you really need and the definition of done
Gitlab CI Synchronize Git Submodule before executing job process
๐ Resulting Solution
Write writing results below
Using Git submodules with GitLab CI/CD | GitLab
- for submodule located in same gitlab server change itโs path to relative path
- set
GIT_SUBMODULE_STRATEGY
variable to eithernormal
orrecursive