[Buildroot] [PATCH 1/2] support/scripts: prioritize conditions for pipeline creation

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Sep 22 19:30:51 UTC 2020


On Mon, 21 Sep 2020 23:08:41 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> When multiple conditions match simultaneously, even though that should
> not happen in practice, we want the more "important" one to win over
> the less "important" ones. For example, a tag is more important than a
> branch name or a trigger.
> 
> Currently, the latest condition to match takes precendence over any
> previous one, while we want the exact opposite.
> 
> Fix that with proper fallbacks in else-blocks.
> 
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> ---
>  support/scripts/generate-gitlab-ci-yml | 58 +++++++++++++-------------
>  1 file changed, 29 insertions(+), 29 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list