diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2019-01-05 20:56:35 +0000 |
---|---|---|
committer | Chandan Singh <csingh43@bloomberg.net> | 2019-01-05 20:59:57 +0000 |
commit | f9059dfcaee69aecfd1e52e4d499cfc37e1b9898 (patch) | |
tree | 9a84fc01edff61bb3eff30826dc9a220dc0343d2 | |
parent | ee29f207d497675cfc565151ce22a72f43f7b19f (diff) | |
download | buildstream-chandan/reqs-update-test.tar.gz |
.gitlab-ci.yml: Add job to attemp to update dependencieschandan/reqs-update-test
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.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9706037a4..76788c064 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 + + - ${TEST_COMMAND} + # Lint separately from testing lint: stage: test |