diff options
author | Martin Blanchard <martin.blanchard@codethink.co.uk> | 2019-03-15 10:29:27 +0000 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-03-25 12:42:57 +0000 |
commit | 36603fa8ed8ffd8eae5b8a3e84b7446cac24b6ac (patch) | |
tree | e5e9366b634f8fb1eef10273b784e16eda7d8f9c /.gitlab-ci.yml | |
parent | 686a83e3faa9f6f9823c719b23c766fa11023a70 (diff) | |
download | buildstream-36603fa8ed8ffd8eae5b8a3e84b7446cac24b6ac.tar.gz |
.gitlab-ci.yml: Add a CI test job for remote execution
https://gitlab.com/BuildStream/buildstream/issues/629
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 210de8df4..99bde6066 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -138,6 +138,29 @@ tests-fedora-update-deps: - su buildstream -c "${TEST_COMMAND}" +tests-remote-execution: + allow_failure: true + image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:29-master-47052095 + <<: *tests + before_script: + - dnf install -y docker docker-compose + - docker-compose --file ${COMPOSE_MANIFEST} up --detach + after_script: + - docker-compose --file ${COMPOSE_MANIFEST} stop + - docker-compose --file ${COMPOSE_MANIFEST} logs + - docker-compose --file ${COMPOSE_MANIFEST} down + services: + - docker:stable-dind + variables: + DOCKER_HOST: tcp://docker:2375 + DOCKER_DRIVER: overlay2 + COMPOSE_MANIFEST: .gitlab-ci/buildgrid-compose.yml + ARTIFACT_CACHE_SERVICE: http://docker:50052 + REMOTE_EXECUTION_SERVICE: http://docker:50051 + SOURCE_CACHE_SERVICE: http://docker:50052 + PYTEST_ARGS: "--color=yes --remote-execution" + + # Lint separately from testing lint: stage: test @@ -308,6 +331,7 @@ coverage: - tests-fedora-29 - tests-fedora-missing-deps - tests-fedora-update-deps + - tests-remote-execution - tests-ubuntu-18.04 - tests-unix except: |