Note: the first bazel build is going to stall for some time while building the base images on docker without any output due to bazelbuild/bazel#1289.
Docker:
Gcloud:
gcloud auth login gcloud set project bazel-public
The classical worflow when modfiying ci.bazel.io is to first test the change on ci-staging.bazel.io, so a complete cycle would looks like:
jenkins/jobs/jobs.bzl
../gce/vm.sh start staging
.bazel run //gcr:deploy-staging
to deploy the change to the staging instance.bazel run //gcr:deploy
.There is a way to run a local jenkins instance with a docker executor node, by running
bazel run //jenkins:test [-- -p port]
It will setup a Jenkins instance without security on port port
(8080 by default) and one node running Ubuntu Wily in Docker. This should be enough for local testing. To stop the instance, goes to http://localhost:8080/safeExit
and this will shutdown cleanly.
You can connect additional instance by modifying the UI to test for other platforms. This does not enable to test: