commit | 09975cbb487a84a62ca1e43aa43e7c6fe078f058 | [log] [tgz] |
---|---|---|
author | Damien Martin-Guillerez <dmarting@google.com> | Tue Sep 05 10:30:29 2017 +0200 |
committer | Damien Martin-guillerez <dmarting@google.com> | Thu Sep 07 09:44:13 2017 +0000 |
tree | f03b717ca5b4fb8403ba9323511ad499bf0b06a2 | |
parent | 0481a1901c3aad330eba4d9458edca37dcf10491 [diff] |
Replay commit 84ce93d "Archive the build event files in all the case" This reverts commit c7dfd807a74f38a596f9ae7f0ffd421045b45741. Second try. This time, the try-finally clause for bazel tests is around the command itself, not catching the status analysis. Change-Id: Iacb1e6317e38d8a863601e3743f3292068bcecc6
This workspace contains the setup for the continuous integration system of Bazel. This setup is based on docker images built by bazel.
If you are a user of the CI system, you might be interested in the following document:
Make sure you have a Bazel installed with a recent enough version of it. Also make sure gcloud and docker are correctly configured on your machine. Only docker version 1.10 or later is supported.
Finally, our docker rules needs authentication which is configured with the credential helper:
gcloud components install docker-credential-gcr export DOCKER_CONFIG="$(docker-credential-gcr configure-docker | sed 's|/config.json ||')"
You might want to permanently set your DOCKER_CONFIG
environment, e.g. in your ~/.bash_profile
:
echo "export DOCKER_CONFIG='${DOCKER_CONFIG}'" >> ~/.bash_profile
More documentation:
init.sh
: initializes the whole CI platform. This may delete VMs and do other irreversible changes, so handle with care.vm.sh
: lets you control the machines (e.g. start/stop them, create/delete/reimage them), including the Jenkins controller and the executor nodes.