Using Git Submodule in Gitlab CI
✍ Last Updated : December 19, 2022
🚪 Prequisite Knowledge (Optional)
Describe Initial Knowledge 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
No Comments