[Buildroot] [PATCH] support/misc/gitlab-ci.yml.in: specify image to use

Romain Naour romain.naour at gmail.com
Tue Sep 15 19:47:13 UTC 2020


Hello Arnout,

Le 15/09/2020 à 21:38, Arnout Vandecappelle (Essensium/Mind) a écrit :
> Commit 93a2870966 split off the generated gitlab-ci.yml into a child
> pipeline. However, the generated gitlab-ci.yml file no longer had an
> 'image' tag. The result is that the jobs will use whatever image happens
> to be configured on the runner - which leads to frequent pipeline
> failures.
> 
> Fix this by explicitly specifying the image to use (the same one as in
> top-level .gitlab-ci.yml).
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
>  support/misc/gitlab-ci.yml.in | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/support/misc/gitlab-ci.yml.in b/support/misc/gitlab-ci.yml.in
> index fcfff5c6aa..892eb9ed64 100644
> --- a/support/misc/gitlab-ci.yml.in
> +++ b/support/misc/gitlab-ci.yml.in
> @@ -1,3 +1,5 @@
> +image: buildroot/base:20200814.2228
> +

Adding Yann in Cc:

This basically revert change from:

https://git.buildroot.net/buildroot/commit/?id=bef67390949dd6ba5cbfd658371c5df81bb5758c

commit 93a2870966 didn't remove the 'image' tag.

I guess you used support/scripts/generate-gitlab-ci-yml locally without gilab
environment variable (CI_JOB_IMAGE).

Best regards,
Romain


>  .check-DEVELOPERS_base:
>      # get-developers should print just "No action specified"; if it prints
>      # anything else, it's a parse error.
> 




More information about the buildroot mailing list