You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
814 B
34 lines
814 B
8 months ago
|
# Configuration for Gitlab-CI.
|
||
|
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
|
||
|
|
||
|
image: $CI_REGISTRY/buildroot.org/buildroot/base:20230207.1123
|
||
|
|
||
|
stages:
|
||
|
- generate-gitlab-ci
|
||
|
- build
|
||
|
|
||
|
generate-gitlab-ci-yml:
|
||
|
stage: generate-gitlab-ci
|
||
|
script: ./support/scripts/generate-gitlab-ci-yml support/misc/gitlab-ci.yml.in > generated-gitlab-ci.yml
|
||
|
retry:
|
||
|
max: 2
|
||
|
when:
|
||
|
- runner_system_failure
|
||
|
- stuck_or_timeout_failure
|
||
|
artifacts:
|
||
|
when: always
|
||
|
paths:
|
||
|
- generated-gitlab-ci.yml
|
||
|
- br-test-pkg/*/.config
|
||
|
- br-test-pkg/*/missing.config
|
||
|
|
||
|
buildroot-pipeline:
|
||
|
stage: build
|
||
|
trigger:
|
||
|
include:
|
||
|
- artifact: generated-gitlab-ci.yml
|
||
|
job: generate-gitlab-ci-yml
|
||
|
strategy: depend
|
||
|
variables:
|
||
|
PARENT_PIPELINE_ID: $CI_PIPELINE_ID
|