Skip to content

Commit

Permalink
chore: update secret manager in kokoro (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
cojenco authored Sep 26, 2024
1 parent 02a972d commit e3cfc47
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .kokoro/continuous/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/python-storage/.kokoro/build.sh"
}

# Credentials needed to test universe domain.
env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "client-library-test-universe-domain-credential"
}
2 changes: 1 addition & 1 deletion .kokoro/release/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ before_action {
# Tokens needed to report release status back to GitHub
env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem, client-library-test-universe-domain-credential"
}

# Store the packages we uploaded to PyPI. That way, we have a record of exactly
Expand Down
7 changes: 7 additions & 0 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"noxfile.py",
"CONTRIBUTING.rst",
"README.rst",
".kokoro/continuous/common.cfg",
".kokoro/presubmit/system-3.8.cfg",
".kokoro/samples/python3.6", # remove python 3.6 support
".github/blunderbuss.yml", # blunderbuss assignment to python squad
Expand Down Expand Up @@ -83,6 +84,12 @@
"""omit =
.nox/*""")

s.replace(
".kokoro/release/common.cfg",
'value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"',
'value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem, client-library-test-universe-domain-credential"'
)

python.py_samples(skip_readmes=True)

s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 comments on commit e3cfc47

Please sign in to comment.