summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-12-10 15:24:43 +0000
committerJürg Billeter <j@bitron.ch>2019-12-10 15:24:43 +0000
commita8fb5cd752586ea6cd09f090fa9bf9c24fa730cb (patch)
treea7373916cb0349def0f92a570c785b5020bffd79 /.gitlab-ci.yml
parent7ca05baa9fecaf263458650019aa908a26235858 (diff)
parentead0b11a205b475cf6b0a695d84b27ded1102894 (diff)
downloadbuildstream-a8fb5cd752586ea6cd09f090fa9bf9c24fa730cb.tar.gz
Merge branch 'juerg/buildbox-run-bubblewrap' into 'master'
Add CI job to test buildbox-run-bubblewrap and buildbox-fuse Closes #1226 See merge request BuildStream/buildstream!1752
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 3 insertions, 26 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8cf593f0a..556be266a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ variables:
# Our own variables
# Version of the docker images we should use for all the images.
# This is taken from buildstream/buildstream-docker-images
- DOCKER_IMAGE_VERSION: master-100413107
+ DOCKER_IMAGE_VERSION: master-101787517
PYTEST_ADDOPTS: "--color=yes"
INTEGRATION_CACHE: "${CI_PROJECT_DIR}/cache/integration-cache"
PYTEST_ARGS: "--color=yes --integration -n 2"
@@ -118,34 +118,11 @@ tests-unix:
# Since the unix platform is required to run as root, no user change required
- ${TEST_COMMAND}
-tests-buildbox:
+tests-buildbox-run:
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:31-${DOCKER_IMAGE_VERSION}
<<: *tests
variables:
- BST_FORCE_SANDBOX: "buildbox"
-
- script:
-
- - dnf install -y fuse3
-
- # Before buildbox is a first class citizen we need a good install story for users and this test
- # should mirror that story, for now we build in the test as it is quick and easy.
-
- # Build and install buildbox
- - dnf install -y fuse3-devel glibc-static grpc-plugins grpc-devel protobuf-devel cmake gcc gcc-c++ libuuid-devel
- - git clone https://gitlab.com/BuildGrid/buildbox/buildbox-fuse.git
- - cd buildbox-fuse
- # Pin a specific commit so that any changes to buildbox do not result in unexpected/unannounced buildstream failures
- - git checkout cdd2b00842c39a8f7162c2ae55bf2cefb925e339
- - cmake -B build
- - cmake --build build
- - cmake --build build --target install
- - cd ..
-
- - useradd -Um buildstream
- - chown -R buildstream:buildstream .
-
- - su buildstream -c "${TEST_COMMAND}"
+ BST_FORCE_SANDBOX: "buildbox-run"
tests-fedora-missing-deps:
# Ensure that tests behave nicely while missing bwrap and ostree