All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Thierry GUIBERT <thierry.guibert@croix-rouge.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] Tagging targets names without hyphens does not run gitlab CI
Date: Tue, 6 Sep 2022 10:53:32 +0200	[thread overview]
Message-ID: <20220906085332.GS1490660@scaer> (raw)
In-Reply-To: <20220904135712.103226-1-thierry.guibert@croix-rouge.fr>

Thierry, All,

On 2022-09-04 15:57 +0200, Thierry GUIBERT via buildroot spake thusly:
> Signed-off-by: Thierry GUIBERT <thierry.guibert@croix-rouge.fr>
> ---
>  support/scripts/generate-gitlab-ci-yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/support/scripts/generate-gitlab-ci-yml b/support/scripts/generate-gitlab-ci-yml
> index aa43aac019..4ae4d13be2 100755
> --- a/support/scripts/generate-gitlab-ci-yml
> +++ b/support/scripts/generate-gitlab-ci-yml
> @@ -71,7 +71,7 @@ gen_tests() {
>              defconfigs=( $(cd configs; LC_ALL=C ls -1 | grep ^${pattern}) )
>              do_defconfigs=base
>              ;;
> -          (*-*_defconfig)
> +          (*_defconfig)

This is in fact on purpose. The goal is to push a branch (not a tag, by
the way), such as:

    $ git push my-gitlab HEAD:test-my_board_defconfig

This is also how we trigger the other tests:

    $ git push my-gitlab HEAD:test-basics
    $ git push my-gitlab HEAD:test-all-defconfigs
    $ git push my-gitlab HEAD:test-all-runtime-tests

I.e. we are using a dash to allow pushing references into a "testing
namespace" that you clearly mark as tests, that wil not clash with a
naming scheme for the longer-term branches.

Regards,
Yann E. MORIN.

>              defconfigs=( "${CI_COMMIT_REF_NAME##*-}" )
>              do_defconfigs=base
>              ;;
> -- 
> 2.37.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2022-09-06  8:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04 13:57 [Buildroot] [PATCH] Tagging targets names without hyphens does not run gitlab CI Thierry GUIBERT via buildroot
2022-09-06  8:53 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220906085332.GS1490660@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=thierry.guibert@croix-rouge.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.