commit | 0cb13b8f8f67adf3d0ad0913ebb4c0c2261090a1 | [log] [tgz] |
---|---|---|
author | Carmi Grushko <carmi@google.com> | Thu Sep 21 18:03:48 2017 -0400 |
committer | Carmi Grushko <carmi@google.com> | Fri Sep 22 10:48:59 2017 -0400 |
tree | 0ffb1aa16d37c3c48bc004672f437472a6e36651 | |
parent | d3737a204fefa9b0461a5702071a231cb93ad273 [diff] |
Add BUILD_file_generator to the Bazel CI Change-Id: I52de6a9448e2b170fabcf679662e94f964011943
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 -E '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.