2017-02-14 07:23:03 +08:00
|
|
|
# Configuration for Gitlab-CI.
|
|
|
|
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
|
|
|
|
|
2020-08-15 15:47:00 +08:00
|
|
|
image: buildroot/base:20200814.2228
|
2017-02-14 07:23:03 +08:00
|
|
|
|
2020-07-26 05:35:58 +08:00
|
|
|
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
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- generated-gitlab-ci.yml
|
|
|
|
|
|
|
|
buildroot-pipeline:
|
|
|
|
stage: build
|
|
|
|
trigger:
|
|
|
|
include:
|
|
|
|
- artifact: generated-gitlab-ci.yml
|
|
|
|
job: generate-gitlab-ci-yml
|
|
|
|
strategy: depend
|