From ca2a2a4dd1271541017cd6ab382b671c0c893641 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Tue, 15 Oct 2024 20:44:46 +0200 Subject: Use GIT_SUBMODULE_STRATEGY instead of manual updating This way it also applies to all jobs. --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f049110..5bfe6a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ variables: &base_vars # Depth of clone. If no tag is made after this many commits, then # the git describe call and version header generation will fail. GIT_DEPTH: 100 # Will break again eventually. + GIT_SUBMODULE_STRATEGY: normal .prerequisites: &prerequisites before_script: @@ -25,7 +26,6 @@ re:ubuntu1804-attoconf:build: INSTALL_PACKAGES: python3 script: - echo "Building TMW Athena $CI_BUILD_NAME" - - git submodule update --init - git fetch -t - printf "Building TMW Athena version %s\n" "$(git describe --tags HEAD)" - mkdir build-atto @@ -47,7 +47,6 @@ re:ubuntu2204-attoconf:build: <<: *base_vars INSTALL_PACKAGES: python3 script: - - git submodule update --init - git fetch -t - printf "Building TMW Athena version %s\n" "$(git describe --tags HEAD)" - mkdir build-atto @@ -69,7 +68,6 @@ re:ubuntu2204:build: <<: *base_vars INSTALL_PACKAGES: python3 cmake script: - - git submodule update --init - git fetch -t - printf "Building TMW Athena version %s\n" "$(git describe --tags HEAD)" - mkdir build-cmake -- cgit v1.2.3-70-g09d2