ci: streamline custom before_script checkout code to preclone script

This commit is contained in:
Fu Hanxi
2026-02-05 09:26:56 +01:00
parent cb2cca0194
commit 1c9e7d209d
5 changed files with 35 additions and 124 deletions
@@ -6,7 +6,6 @@
########################
.dynamic_build_template:
extends:
- .before_script:build
- .after_script:build
image: $ESP_ENV_IMAGE
tags: [build, shiny]
@@ -44,12 +43,11 @@
--modified-files ${MR_MODIFIED_FILES}
.dynamic_target_test_template:
extends:
- .before_script:fetch:target_test
image: $TARGET_TEST_ENV_IMAGE
stage: target_test
timeout: 1 hour
variables:
GIT_STRATEGY: "fetch"
SUBMODULES_TO_FETCH: "none"
# set while generating the pipeline
nodes: ""