summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <chandan@chandansingh.net>2019-01-15 01:21:33 +0000
committerChandan Singh <chandan@chandansingh.net>2019-01-15 01:21:33 +0000
commit006370af1cf5eb1e9dc4a088077ffc498b20e66c (patch)
tree31f1960904e8a97b189fe260070499ff54248de0
parentd60d2e3190e5b6a7f154bce96b10b10ec6266f83 (diff)
parent605836c11dbe9e43905a4295f5e1eb7ee930b011 (diff)
downloadbuildstream-006370af1cf5eb1e9dc4a088077ffc498b20e66c.tar.gz
Merge branch 'chandan/reqs-update-test' into 'master'
.gitlab-ci.yml: Add job to attempt to update dependencies See merge request BuildStream/buildstream!1038
-rw-r--r--.gitlab-ci.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 232989eb8..743f4bf80 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -96,7 +96,6 @@ tests-unix:
# Since the unix platform is required to run as root, no user change required
- ${TEST_COMMAND}
-
tests-fedora-missing-deps:
# Ensure that tests behave nicely while missing bwrap and ostree
image: buildstream/testsuite-fedora:28-5da27168-32c47d1c
@@ -114,6 +113,22 @@ tests-fedora-missing-deps:
- ${TEST_COMMAND}
+tests-fedora-update-deps:
+ # Check if the tests pass after updating requirements to their latest
+ # allowed version.
+ allow_failure: true
+ image: buildstream/testsuite-fedora:28-5da27168-32c47d1c
+ <<: *tests
+
+ script:
+ - useradd -Um buildstream
+ - chown -R buildstream:buildstream .
+
+ - make --always-make --directory requirements
+ - cat requirements/*.txt
+
+ - su buildstream -c "${TEST_COMMAND}"
+
# Lint separately from testing
lint:
stage: test