aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGravatar Ricardo Martincoski <ricardo.martincoski@gmail.com>2019-04-08 00:22:53 -0300
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-04-13 15:28:55 +0200
commit7405d793e1436a1e2887f0c89f09cad146f239a5 (patch)
tree5d87c1fb5870177b4c8dcfde18c5a477387ee926 /.gitlab-ci.yml
parente4f57ece5920a0152d30e7217157afaed1b25ce5 (diff)
downloadbuildroot-7405d793e1436a1e2887f0c89f09cad146f239a5.tar.gz
buildroot-7405d793e1436a1e2887f0c89f09cad146f239a5.tar.bz2
.gitlab-ci.yml: reorder jobs
In order to make the file easier to maintain, reorder the keys in a more logical way: Keep the docker image at the top. Then all check-* jobs in the case-insensitive alphabetical order they appear on Gitlab-CI pipeline results. Then all keys related to defconfigs. Finally all keys related to runtime tests. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml36
1 files changed, 18 insertions, 18 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 87e4e13057..7d2dd50afa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,24 +6,6 @@
image: buildroot/base:20180318.1724
-.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:
- - mv .gitlab-ci.yml .gitlab-ci.yml.orig
- - make .gitlab-ci.yml
- - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
-
check-DEVELOPERS:
# get-developers should print just "No action specified"; if it prints
# anything else, it's a parse error.
@@ -42,10 +24,28 @@ check-flake8:
after_script:
- wc -l files.processed
+check-gitlab-ci.yml:
+ script:
+ - mv .gitlab-ci.yml .gitlab-ci.yml.orig
+ - make .gitlab-ci.yml
+ - diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
+
check-package:
script:
- make check-package
+.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
+ }
+
.defconfig:
extends: .defconfig_script
# Running the defconfigs for every push is too much, so limit to