summaryrefslogtreecommitdiffhomepage
path: root/kokoro
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro')
-rw-r--r--kokoro/build.cfg2
-rw-r--r--kokoro/go.cfg14
-rwxr-xr-xkokoro/ubuntu1604/20_bazel.sh4
3 files changed, 16 insertions, 4 deletions
diff --git a/kokoro/build.cfg b/kokoro/build.cfg
index d67af4694..d462d839c 100644
--- a/kokoro/build.cfg
+++ b/kokoro/build.cfg
@@ -11,7 +11,7 @@ before_action {
env_vars {
key: "KOKORO_REPO_KEY"
- value: "$KOKORO_ROOT/src/keystore/73898_kokoro-repo-key"
+ value: "73898_kokoro-repo-key"
}
action {
diff --git a/kokoro/go.cfg b/kokoro/go.cfg
index d1577252a..b9c1fcb12 100644
--- a/kokoro/go.cfg
+++ b/kokoro/go.cfg
@@ -1,5 +1,19 @@
build_file: "repo/scripts/go.sh"
+before_action {
+ fetch_keystore {
+ keystore_resource {
+ keystore_config_id: 73898
+ keyname: "kokoro-github-access-token"
+ }
+ }
+}
+
+env_vars {
+ key: "KOKORO_GITHUB_ACCESS_TOKEN"
+ value: "73898_kokoro-github-access-token"
+}
+
env_vars {
key: "KOKORO_GO_PUSH"
value: "true"
diff --git a/kokoro/ubuntu1604/20_bazel.sh b/kokoro/ubuntu1604/20_bazel.sh
index 74b4b8be2..b9a894024 100755
--- a/kokoro/ubuntu1604/20_bazel.sh
+++ b/kokoro/ubuntu1604/20_bazel.sh
@@ -16,9 +16,7 @@
set -xeo pipefail
-# We need to install a specific version of bazel due to a bug with the RBE
-# environment not respecting the dockerPrivileged configuration.
-declare -r BAZEL_VERSION=0.28.1
+declare -r BAZEL_VERSION=0.29.1
# Install bazel dependencies.
apt-get update && apt-get install -y openjdk-8-jdk-headless unzip