]>
Commit | Line | Data |
---|---|---|
4f863d77 AV |
1 | # Configuration for Gitlab-CI. |
2 | # Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines | |
4f863d77 | 3 | |
bde165f7 | 4 | image: $CI_REGISTRY/buildroot.org/buildroot/base:20230207.1123 |
4f863d77 | 5 | |
93a28709 RN |
6 | stages: |
7 | - generate-gitlab-ci | |
8 | - build | |
9 | ||
10 | generate-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 | |
e0166ecb RN |
13 | retry: |
14 | max: 2 | |
15 | when: | |
16 | - runner_system_failure | |
17 | - stuck_or_timeout_failure | |
93a28709 | 18 | artifacts: |
12c7a05d | 19 | when: always |
93a28709 RN |
20 | paths: |
21 | - generated-gitlab-ci.yml | |
12c7a05d RN |
22 | - br-test-pkg/*/.config |
23 | - br-test-pkg/*/missing.config | |
93a28709 RN |
24 | |
25 | buildroot-pipeline: | |
26 | stage: build | |
27 | trigger: | |
28 | include: | |
29 | - artifact: generated-gitlab-ci.yml | |
30 | job: generate-gitlab-ci-yml | |
31 | strategy: depend | |
12c7a05d RN |
32 | variables: |
33 | PARENT_PIPELINE_ID: $CI_PIPELINE_ID |