aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2018-10-21 11:03:03 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-10-21 23:34:18 +0200
commit96123c1c4f1ee45636a0b6d540d6dfc17889e622 (patch)
tree544bafc762e35a18bcf56365bd99ac1c9b7f0040
parent70994768824bcc0889f7081b147b3de4cc58642e (diff)
downloadbuildroot-96123c1c4f1ee45636a0b6d540d6dfc17889e622.tar.gz
buildroot-96123c1c4f1ee45636a0b6d540d6dfc17889e622.tar.bz2
.gitlab-ci.yml: do runtime tests only on explicit trigger
When the runtime tests were first introduced, they still ran pretty quickly. Nowadays, however, there are a lot of runtime tests, and some of them take a really long time. So running them on every push is really too much. Just like we do for the defconfigs, run them on explicit trigger only. The explicit trigger is now done every week, but it can be increased to e.g. twice or three times per week. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--.gitlab-ci.yml5
-rw-r--r--.gitlab-ci.yml.in5
2 files changed, 10 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b5528c8c47..8b9a1f175c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,6 +62,11 @@ check-package:
- output/build/packages-file-list.txt
.runtime_test: &runtime_test
+ # Running the runtime tests for every push is too much, so limit to
+ # explicit triggers through the API.
+ only:
+ - triggers
+ - tags
# Keep build directories so the rootfs can be an artifact of the job. The
# runner will clean up those files for us.
# Multiply every emulator timeout by 10 to avoid sporadic failures in
diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in
index 38e24c8d01..db526c4b5a 100644
--- a/.gitlab-ci.yml.in
+++ b/.gitlab-ci.yml.in
@@ -62,6 +62,11 @@ check-package:
- output/build/packages-file-list.txt
.runtime_test: &runtime_test
+ # Running the runtime tests for every push is too much, so limit to
+ # explicit triggers through the API.
+ only:
+ - triggers
+ - tags
# Keep build directories so the rootfs can be an artifact of the job. The
# runner will clean up those files for us.
# Multiply every emulator timeout by 10 to avoid sporadic failures in