Skip to content

gitlab-ci: handle all conditional jobs in the generating script (branch yem/gitlab-ci-cond)

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am 20200909073933.GO14354@scaer

Versions newest first

  1. v1 Latest0 of 10 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 10 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 00/10] gitlab-ci: handle all conditional jobs in the generating script (branch yem/gitlab-ci-cond)

Romain, All,

On 2020-09-08 22:47 +0200, Romain Naour spake thusly:

Quoted 14 lines

Le 06/09/2020 ? 22:12, Yann E. MORIN a ?crit?:

Quoted 5 lines

Hello All!

The grammar in gitlab-CI yaml, to specify conditions under which jobs should be spawned or not, is not very nice to handle.

Quoted 7 lines

Take adavantage of the fact that we are now generating the pipeline description from a script, to decide in that script exactly what jobs should be spawned.

This is both more usual, to use a classic scripting language (shell for now, but could be whatever in the future), and more versatile (we can more easilt express conditions than in the limited gitlab-CI YAML).

Quoted 8 lines

On one hand, it's a pity to workaround the gitlab-ci Yaml and not take the opportunity to practice this specific language...
But on the other hand the language is not still stable over the time (see the only/except keyword deprecation we used until recently).
Also the generate-gitlab-ci-yml after this series doesn't seem too complex :)

Maybe we can complete the manual about defconfigs testing in gitlab. runtime-tests in gitlab is already described in the manual.

Thanks for the review. Series applied to master now.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'