commit | 96fa1cb6b27528c673fca3625fceb545be3d1642 | [log] [tgz] |
---|---|---|
author | Philipp Wollermann <philwo@google.com> | Mon Jan 08 15:22:56 2018 +0100 |
committer | Philipp Wollermann <philwo@google.com> | Tue Jan 09 12:47:08 2018 +0100 |
tree | 7f1167195e2b9b97e8f951a296529b7c1b747a3a | |
parent | 4bbefa313c2843819f3e830cf45763164afb170b [diff] |
Update all Jenkins plug-ins and add a helper script to maintain them in the future Change-Id: I4f340734ae577e6840e176b622d655b3b326247a
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.