Update key environment variables.

PiperOrigin-RevId: 268604220
This commit is contained in:
Adin Scannell
2019-09-11 21:04:42 -07:00
committed by gVisor bot
parent c06ef5131f
commit 1e6bdd5855
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -11,7 +11,7 @@ before_action {
env_vars {
key: "KOKORO_GITHUB_ACCESS_TOKEN"
value: "$KOKORO_ROOT/src/keystore/73898_kokoro-github-access-token"
value: "73898_kokoro-github-access-token"
}
env_vars {
+1 -1
View File
@@ -24,7 +24,7 @@ pkg=$(build -c opt --host_force_python=py2 //runsc:runsc-debian)
# Build a repository, if the key is available.
if [[ -v KOKORO_REPO_KEY ]]; then
repo=$(tools/make_repository.sh "${KOKORO_REPO_KEY}" gvisor-bot@google.com ${pkg})
repo=$(tools/make_repository.sh "${KOKORO_KEYSTORE_DIR}/${KOKORO_REPO_KEY}" gvisor-bot@google.com ${pkg})
fi
# Install installs artifacts.
+1 -1
View File
@@ -35,7 +35,7 @@ if [[ "${KOKORO_GO_PUSH}" == "true" ]]; then
git credential approve <<EOF
protocol=https
host=github.com
username=$(cat "${KOKORO_GITHUB_ACCESS_TOKEN}")
username=$(cat "${KOKORO_KEYSTORE_DIR}/${KOKORO_GITHUB_ACCESS_TOKEN}")
password=x-oauth-basic
EOF
fi