Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
build(java): use ENABLE_FLAKYBOT env variable (#436)
Browse files Browse the repository at this point in the history
Kokoro job config now supports both environment variables during this migration period.

Source-Author: Jeff Ching <chingor@google.com>
Source-Date: Thu Aug 12 10:10:27 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: ff01716e16d2c6e87eaf87197b753ac9fcbbed5d
Source-Link: googleapis/synthtool@ff01716
  • Loading branch information
yoshi-automation committed Aug 23, 2021
1 parent e644a4b commit 34d7397
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ fi
# fix output location of logs
bash .kokoro/coerce_logs.sh

if [[ "${ENABLE_BUILD_COP}" == "true" ]]
if [[ "${ENABLE_FLAKYBOT}" == "true" ]]
then
chmod +x ${KOKORO_GFILE_DIR}/linux_amd64/flakybot
${KOKORO_GFILE_DIR}/linux_amd64/flakybot -repo=googleapis/java-shared-dependencies
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/nightly/integration.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env_vars: {
}

env_vars: {
key: "ENABLE_BUILD_COP"
key: "ENABLE_FLAKYBOT"
value: "true"
}

Expand Down
2 changes: 1 addition & 1 deletion .kokoro/nightly/samples.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ env_vars: {
}

env_vars: {
key: "ENABLE_BUILD_COP"
key: "ENABLE_FLAKYBOT"
value: "true"
}
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-shared-dependencies.git",
"sha": "4d58412e44b1bbb5ddaba2a2db98ebe77681891f"
"sha": "8ed008c2a580785896c8e94a85a709c95ce75440"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "1a2878d6909dd10ca4e3c1b5943d6622e996054e"
"sha": "ff01716e16d2c6e87eaf87197b753ac9fcbbed5d"
}
}
],
Expand Down

0 comments on commit 34d7397

Please sign in to comment.