summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-01-05 20:56:35 +0000
committerChandan Singh <csingh43@bloomberg.net>2019-01-15 00:57:05 +0000
commit605836c11dbe9e43905a4295f5e1eb7ee930b011 (patch)
tree31f1960904e8a97b189fe260070499ff54248de0
parentd60d2e3190e5b6a7f154bce96b10b10ec6266f83 (diff)
downloadbuildstream-605836c11dbe9e43905a4295f5e1eb7ee930b011.tar.gz
.gitlab-ci.yml: Add job to attempt to update dependencies
This will help us check if BuildStream is working with the latest version of dependencies, as per our constraints. This job is allowed to fail but its failure should signal that we need to add stricter constraints in some of our `.in` requirements files.
-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