blob: 3d7719568f0643b61da5beacc6d5e7943f74153e [file] [log] [blame]
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +01001# Configuration for Gitlab-CI.
2# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +01003
Thomas Petazzonibde165f2023-02-07 17:31:18 +01004image: $CI_REGISTRY/buildroot.org/buildroot/base:20230207.1123
Arnout Vandecappelle4f863d72017-02-14 00:23:03 +01005
Romain Naour93a28702020-07-25 23:35:58 +02006stages:
7 - generate-gitlab-ci
8 - build
Ricardo Martincoski12904c02019-04-08 00:22:54 -03009
Romain Naour93a28702020-07-25 23:35:58 +020010generate-gitlab-ci-yml:
11 stage: generate-gitlab-ci
12 script: ./support/scripts/generate-gitlab-ci-yml support/misc/gitlab-ci.yml.in > generated-gitlab-ci.yml
Romain Naoure0166ec2023-08-26 23:00:11 +020013 retry:
14 max: 2
15 when:
16 - runner_system_failure
17 - stuck_or_timeout_failure
Romain Naour93a28702020-07-25 23:35:58 +020018 artifacts:
Romain Naour12c7a052021-08-21 15:46:46 +020019 when: always
Romain Naour93a28702020-07-25 23:35:58 +020020 paths:
21 - generated-gitlab-ci.yml
Romain Naour12c7a052021-08-21 15:46:46 +020022 - br-test-pkg/*/.config
23 - br-test-pkg/*/missing.config
Arnout Vandecappelled498aa42017-06-30 18:42:53 +020024
Romain Naour93a28702020-07-25 23:35:58 +020025buildroot-pipeline:
26 stage: build
27 trigger:
28 include:
29 - artifact: generated-gitlab-ci.yml
30 job: generate-gitlab-ci-yml
31 strategy: depend
Romain Naour12c7a052021-08-21 15:46:46 +020032 variables:
33 PARENT_PIPELINE_ID: $CI_PIPELINE_ID