commit | d4337b778f1be62d972f3a7049ce0a01ad975a50 | [log] [tgz] |
---|---|---|
author | Philipp Wollermann <philwo@google.com> | Thu Jan 18 12:38:14 2018 +0100 |
committer | Philipp Wollermann <philwo@google.com> | Sun Feb 04 14:22:49 2018 +0100 |
tree | 1bfa6ee56988d0e7d00766b5589752c471fcad6c | |
parent | 1f69245e853fda9ac125cda0f22682426a585b44 [diff] |
Simplify configuration of SCM triggers. Always poll with H/15 in addition to trying to use a trigger. This means the config will work no matter whether the repo has the webhook setup correctly. Change-Id: I05d8eb657827bda419f529dd6498b57b79130e87
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.