Skip to content

.gitlab-ci.yml: rework and add trigger per job

Ricardo Martincoski buildroot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v35 patches 0 repliesSuperseded
  3. v2 posting 2/21 patch 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/21 patch0 repliesSuperseded
v10 of 3 patches0 repliesSuperseded

Changes in v4 from the cover letter

- remove patch 2 that switch to using the new "include" keyword. That patch started from a suggestion from Arnout that I misunderstood. That patch does not really need to be in this series, so let's switch to using "include" in a separate patch or series.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3.gitlab-ci.yml: reorder jobs.gitlab-ci.yml .gitlab-ci.yml.in+36 -361 reply
2/3.gitlab-ci.yml: prepare to reuse scripts.gitlab-ci.yml .gitlab-ci.yml.in+32 -140 replies
3/3.gitlab-ci.yml: add trigger per job.gitlab-ci.yml .gitlab-ci.yml.in+88 -421 reply
3/3.gitlab-ci.yml: add trigger per job+0 -02 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 0/3] .gitlab-ci.yml: rework and add trigger per job

Hello,

Besides the current subsets of jobs that can be triggered by pushing temporary branches with special names:
- all defconfigs: /.*-defconfigs$/
- all runtime tests: /.*-runtime-tests$/
This series allows the user of GitLab pipeline to trigger some interesting subsets of jobs by pushing temporary branches with names that match regexps:
- one defconfig: /.*-defconfig_name$/
- one test case: /.*-test_case_name$/
Pushing a tag still triggers all jobs.

Patch 1 reorders the template so similar keys stay together, making the maintenance easier.
Patch 2 could be merged to patch 3, but for the sake of easier review/testing I had split them.
Patches 1 and 2 do not change any functionality.

Finally patch 3 actually adds the per defconfig and per runtime test triggers.

Changes v3 -> v4:
- remove patch 2 that switch to using the new "include" keyword. That patch started from a suggestion from Arnout that I misunderstood. That patch does not really need to be in this series, so let's switch to using "include" in a separate patch or series.

Regards,
Ricardo

Ricardo Martincoski (3):
.gitlab-ci.yml: reorder jobs
.gitlab-ci.yml: prepare to reuse scripts
.gitlab-ci.yml: add trigger per job

 .gitlab-ci.yml    | 90 ++++++++++++++++++++++++++++++++---------------
 .gitlab-ci.yml.in | 90 ++++++++++++++++++++++++++++++++---------------
 2 files changed, 122 insertions(+), 58 deletions(-)
Signature · 1 line
2.17.1