.gitlab-ci.yml: do runtime tests only on explicit trigger
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 21 Oct 2018 10:03:03 +0000 (11:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 21 Oct 2018 21:34:18 +0000 (23:34 +0200)
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>
.gitlab-ci.yml
.gitlab-ci.yml.in

index b5528c8c47736c341e9f9d4e3157b1243c4e3a4b..8b9a1f175ccca3c1248193abb276e41de02c00ab 100644 (file)
@@ -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
index 38e24c8d01607879bbe0fc887b202e55f050efe2..db526c4b5aea1ee0ddd8b541d81b30825b1f1eaa 100644 (file)
@@ -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