mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update key environment variables.
PiperOrigin-RevId: 268604220
This commit is contained in:
committed by
gVisor bot
parent
c06ef5131f
commit
1e6bdd5855
+1
-1
@@ -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
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user