* [PATCH] gitlab-ci: Replace build_script -> step_script in Cirrus jobs
@ 2024-08-16 21:32 Philippe Mathieu-Daudé
2024-08-19 5:38 ` Thomas Huth
0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-08-16 21:32 UTC (permalink / raw)
To: qemu-devel
Cc: Thomas Huth, Beraldo Leal, Wainer dos Santos Moschetta,
Alex Bennée, Philippe Mathieu-Daudé
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/
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
.gitlab-ci.d/cirrus/build.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitlab-ci.d/cirrus/build.yml b/.gitlab-ci.d/cirrus/build.yml
index 43dd52dd19..102cdbd8b1 100644
--- a/.gitlab-ci.d/cirrus/build.yml
+++ b/.gitlab-ci.d/cirrus/build.yml
@@ -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
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gitlab-ci: Replace build_script -> step_script in Cirrus jobs
2024-08-16 21:32 [PATCH] gitlab-ci: Replace build_script -> step_script in Cirrus jobs Philippe Mathieu-Daudé
@ 2024-08-19 5:38 ` Thomas Huth
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2024-08-19 5:38 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, qemu-devel
Cc: Beraldo Leal, Wainer dos Santos Moschetta, Alex Bennée
On 16/08/2024 23.32, Philippe Mathieu-Daudé wrote:
> 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/
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> .gitlab-ci.d/cirrus/build.yml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/.gitlab-ci.d/cirrus/build.yml b/.gitlab-ci.d/cirrus/build.yml
> index 43dd52dd19..102cdbd8b1 100644
> --- a/.gitlab-ci.d/cirrus/build.yml
> +++ b/.gitlab-ci.d/cirrus/build.yml
> @@ -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
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-19 5:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-16 21:32 [PATCH] gitlab-ci: Replace build_script -> step_script in Cirrus jobs Philippe Mathieu-Daudé
2024-08-19 5:38 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).