Pipeline: Handling Submodules

4.8.2. Pipeline: Handling Submodules#

Example: GitLab Pipeline (.gitlab-ci.yml)

variables:
  GIT_SUBMODULE_STRATEGY: recursive  # Or 'normal'
  GIT_SUBMODULE_FORCE_HTTPS: "true"  # Rewrite url to use HTTPS
  GIT_SUBMODULE_DEPTH: 0             # Fetch full history

stages:
  - build

build_project:
  stage: build
  script:
    - make build