Skip to content

Commit 7ffa74e

Browse files
partheagcf-owl-bot[bot]ohmayr
authored
build: release script update (#2235)
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: ohmayr <[email protected]>
1 parent acf866f commit 7ffa74e

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

packages/gapic-generator/.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:68ce7dace6a9481b4c94d73308572f20766031dc27e535f2afb8a84cd60feb44
17-
# created: 2024-10-10
16+
digest: sha256:5efdf8d38e5a22c1ec9e5541cbdfde56399bdffcb6f531183f84ac66052a8024
17+
# created: 2024-10-25

packages/gapic-generator/.kokoro/docs/common.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ env_vars: {
3030

3131
env_vars: {
3232
key: "V2_STAGING_BUCKET"
33-
# Push non-cloud library docs to `docs-staging-v2-staging` instead of the
33+
# Push non-cloud library docs to `docs-staging-v2-dev` instead of the
3434
# Cloud RAD bucket `docs-staging-v2`
35-
value: "docs-staging-v2-staging"
35+
value: "docs-staging-v2-dev"
3636
}
3737

3838
# It will upload the docker image after successful builds.
@@ -64,4 +64,4 @@ before_action {
6464
keyname: "docuploader_service_account"
6565
}
6666
}
67-
}
67+
}

packages/gapic-generator/.kokoro/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /
2323
export PYTHONUNBUFFERED=1
2424

2525
# Move into the package, build the distribution and upload.
26-
TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-2")
26+
TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-3")
2727
cd github/gapic-generator-python
2828
python3 setup.py sdist bdist_wheel
2929
twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/*

packages/gapic-generator/.kokoro/release/common.cfg

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,11 @@ before_action {
2828
fetch_keystore {
2929
keystore_resource {
3030
keystore_config_id: 73713
31-
keyname: "google-cloud-pypi-token-keystore-2"
31+
keyname: "google-cloud-pypi-token-keystore-3"
3232
}
3333
}
3434
}
3535

36-
# Tokens needed to report release status back to GitHub
37-
env_vars: {
38-
key: "SECRET_MANAGER_KEYS"
39-
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
40-
}
41-
4236
# Store the packages we uploaded to PyPI. That way, we have a record of exactly
4337
# what we published, which we can use to generate SBOMs and attestations.
4438
action {

0 commit comments

Comments
 (0)