You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:10:50 UTC
[buildstream] 01/03: .gitlab-ci.yml: Add a nightly test that runs
each test in a separate subprocess
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch bschubert/add-isolated-tests
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 337c3f97c697142f2a40238c692e99a6fc27bad1
Author: Benjamin Schubert <bs...@bloomberg.net>
AuthorDate: Wed Dec 4 14:33:19 2019 +0000
.gitlab-ci.yml: Add a nightly test that runs each test in a separate subprocess
This helps ensuring we don't have tests that rely on another one in
order to work.
---
.gitlab-ci.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05932c4..c50bc39 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -366,6 +366,24 @@ overnight-tests-no-cache:
tags:
- overnight-tests
+overnight-isolated:
+ image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:31-master-97748867
+ <<: *tests
+
+ script:
+ - mkdir -p "${INTEGRATION_CACHE}"
+ - useradd -Um buildstream
+ - chown -R buildstream:buildstream .
+
+ - su buildstream -c "${TEST_COMMAND} --forked"
+ - su buildstream -c "${TEST_COMMAND} --forked"
+
+ # We need to override the exclusion from the template in order to run on schedules
+ except: []
+ only:
+ - schedules
+
+
#####################################################
# Post stage #
#####################################################