gitlab-ci: Replace build_script -> step_script in Cirrus jobs
PATCH 1/1 gitlab-ci: Replace build_script -> step_script in Cirrus jobs
Long due upgrade, see [1]:
In GitLab Runner 13.2 a translation for step_script to build_script was added to the custom executor. In 14.0 the build_script stage will be replaced with step_script.
We are using GitLab 17 [2]!
This removes the following warning:
WARNING: Starting with version 17.0 the 'build_script' stage will be replaced with 'step_script':
https://gitlab.com/groups/gitlab-org/-/epics/6112
[1] https://about.gitlab.com/releases/2021/05/22/gitlab-13-12-released/#remove-translation-from-stepscript-to-buildscript-in-custom-executor
[2] https://about.gitlab.com/releases/2024/05/16/gitlab-17-0-released/
--- .gitlab-ci.d/cirrus/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.d/cirrus/build.yml +1 -1
@@ -26,7 +26,7 @@ build_task: - git clone --depth 100 "$CI_REPOSITORY_URL" . - git fetch origin "$CI_COMMIT_REF_NAME" - git reset --hard "$CI_COMMIT_SHA" - build_script: + step_script: - mkdir build - cd build - ../configure --enable-werror $CONFIGURE_ARGS
Signature · 1 line
2.45.2
Quoted 27 lines · Philippe Mathieu-Daudé
Long due upgrade, see [1]:
In GitLab Runner 13.2 a translation for
step_scripttobuild_scriptwas added to the custom executor. In 14.0 thebuild_scriptstage will be replaced withstep_script.We are using GitLab 17 [2]!
This removes the following warning:
WARNING: Starting with version 17.0 the '
build_script' stage will be replaced with 'step_script':https://gitlab.com/groups/gitlab-org/-/epics/6112[1] https://about.gitlab.com/releases/2021/05/22/gitlab-13-12-released/#remove-translation-from-stepscript-to-buildscript-in-custom-executor
[2] https://about.gitlab.com/releases/2024/05/16/gitlab-17-0-released/Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- .gitlab-ci.d/cirrus/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-).gitlab-ci.d/cirrus/build.yml +0
-0
.gitlab-ci.d/cirrus/build.yml build_task: · line 32
Quoted 8 lines
.gitlab-ci.d/cirrus/build.yml +1
-1@@ -26,7 +26,7 @@ build_task: - git clone --depth 100 "$CI_REPOSITORY_URL" . - git fetch origin "$CI_COMMIT_REF_NAME" - git reset --hard "$CI_COMMIT_SHA" - build_script: + step_script: - mkdir build - cd build - ../configure --enable-werror $CONFIGURE_ARGS