Skip to content

Use recursive strategy for submodule for GitLab CI

Jacques Xing requested to merge fix/gitlab-ci-submodule-strategy into master

Issue/feature addressed

The tutorial submodule is not automatically updated on the GitLab CI as the GIT_SUBMODULE_STRATEGY has not been specified. This MR fix this problem by using the "recursive" strategy for the GIT_SUBMODULE_STRATEGY variable.

Proposed solution

Implementation

The GIT_SUBMODULE_STRATEGY variable is used for the following CI

  • debian-bookworm-full-build-and-test

Also update tutorial submodule to correct commit value 9144dd9a55421c3d4f2b2109389985e852b8533a

Tests

Suggested reviewers

Notes

For reference, use

git submodule update --init
git submodule update --remote 

to update submodule

Checklist

  • Functions and classes, or changes to them, are documented.
  • [ ] User guide/documentation is updated.
  • Changelog is updated.
  • [ ] Suitable tests added for new functionality.
  • [ ] Contributed code is correctly formatted. (See the contributing guidelines).
  • [ ] License added to any new files.
  • No extraneous files have been added (e.g. compiler output or test data files).
Edited by Jacques Xing

Merge request reports

Loading