[Buildroot] [PATCHv2 02/12] gitlab-ci: check generated config files

Yann E. MORIN yann.morin.1998 at free.fr
Tue Apr 21 19:52:58 UTC 2020


Romain, All,

On 2020-04-21 19:26 +0200, Romain Naour spake thusly:
> Use the script added by the previous patch to check
> generated config files.
> 
> Tested on gitlab:
> https://gitlab.com/kubu93/buildroot/pipelines/137597966
> 
> Signed-off-by: Romain Naour <romain.naour at gmail.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> ---
>  .gitlab-ci.yml    | 1 +
>  .gitlab-ci.yml.in | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index fa8e077a07..0d06a1b7cf 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -47,6 +47,7 @@ check-package:
>      script:
>          - echo "Configure Buildroot for ${DEFCONFIG_NAME}"
>          - make ${DEFCONFIG_NAME}
> +        - ./support/scripts/check-dotconfig.py .config ./configs/${DEFCONFIG_NAME}

We can't add the check in the pipelines before all the defconfigs are
fixed, otherwise the failed checks would end the job in error on the
spot, preventing the defconfig from building.

So, the defconfig fixes should come first (but Thomas is supposed to
apply them as I write this! ;-) )

Regards,
Yann E. MORIN.

>          - echo 'Build buildroot'
>          - |
>              make > >(tee build.log |grep '>>>') 2>&1 || {
> diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in
> index 6b09730a65..413c6d2956 100644
> --- a/.gitlab-ci.yml.in
> +++ b/.gitlab-ci.yml.in
> @@ -47,6 +47,7 @@ check-package:
>      script:
>          - echo "Configure Buildroot for ${DEFCONFIG_NAME}"
>          - make ${DEFCONFIG_NAME}
> +        - ./support/scripts/check-dotconfig.py .config ./configs/${DEFCONFIG_NAME}
>          - echo 'Build buildroot'
>          - |
>              make > >(tee build.log |grep '>>>') 2>&1 || {
> -- 
> 2.25.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list