summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2018-10-21 10:03:03 (GMT)
committerPeter Korsgaard <peter@korsgaard.com>2018-10-26 19:38:01 (GMT)
commita5277a832e3b203fbb90b30e147299f2b3cdd3e1 (patch)
treea9667a98c85a8c97fb38eab6bd9c8f99d0e30fea
parent507020139190aaf44793c3c901321d23ba476c13 (diff)
downloadbuildroot-a5277a832e3b203fbb90b30e147299f2b3cdd3e1.tar.gz
buildroot-a5277a832e3b203fbb90b30e147299f2b3cdd3e1.tar.bz2
.gitlab-ci.yml: do runtime tests only on explicit trigger2018.08.x
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> (cherry picked from commit 96123c1c4f1ee45636a0b6d540d6dfc17889e622) 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 9d43010..b033635 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,6 +63,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 fb2650c..6358d87 100644
--- a/.gitlab-ci.yml.in
+++ b/.gitlab-ci.yml.in
@@ -63,6 +63,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