aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml.in
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml.in')
-rw-r--r--.gitlab-ci.yml.in27
1 files changed, 14 insertions, 13 deletions
diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in
index d5eab91c70..a506840892 100644
--- a/.gitlab-ci.yml.in
+++ b/.gitlab-ci.yml.in
@@ -6,16 +6,17 @@
image: buildroot/base:20180318.1724
-.defconfig_script: &defconfig_script
- - echo 'Configure Buildroot'
- - make ${CI_JOB_NAME}
- - echo 'Build buildroot'
- - |
- make > >(tee build.log |grep '>>>') 2>&1 || {
- echo 'Failed build last output'
- tail -200 build.log
- exit 1
- }
+.defconfig_script:
+ script:
+ - echo 'Configure Buildroot'
+ - make ${CI_JOB_NAME}
+ - echo 'Build buildroot'
+ - |
+ make > >(tee build.log |grep '>>>') 2>&1 || {
+ echo 'Failed build last output'
+ tail -200 build.log
+ exit 1
+ }
check-gitlab-ci.yml:
script:
@@ -45,14 +46,14 @@ check-package:
script:
- make check-package
-.defconfig: &defconfig
+.defconfig:
+ extends: .defconfig_script
# Running the defconfigs for every push is too much, so limit to
# explicit triggers through the API.
only:
- triggers
- tags
- /-defconfigs$/
- script: *defconfig_script
artifacts:
when: always
expire_in: 2 weeks
@@ -64,7 +65,7 @@ check-package:
- output/build/packages-file-list.txt
- output/build/*/.config
-.runtime_test: &runtime_test
+.runtime_test:
# Running the runtime tests for every push is too much, so limit to
# explicit triggers through the API.
only: