Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .librarian/generator-input/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "storage",
"name_pretty": "Google Cloud Storage",
"product_documentation": "https://cloud.google.com/storage",
"client_documentation": "https://cloud.google.com/python/docs/reference/storage/latest",
"issue_tracker": "https://issuetracker.google.com/savedsearches/559782",
"release_level": "stable",
"language": "python",
"library_type": "GAPIC_MANUAL",
"repo": "googleapis/python-storage",
"distribution_name": "google-cloud-storage",
"api_id": "storage.googleapis.com",
"requires_billing": true,
"default_version": "v2",
"codeowner_team": "@googleapis/gcs-sdk-team",
"api_shortname": "storage",
"api_description": "is a durable and highly available object storage service. Google Cloud Storage is almost infinitely scalable and guarantees consistency: when a write succeeds, the latest copy of the object will be returned to any GET, globally."
}
36 changes: 3 additions & 33 deletions owlbot.py → .librarian/generator-input/librarian.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,41 +98,11 @@
"noxfile.py",
"CONTRIBUTING.rst",
"README.rst",
".kokoro/continuous/continuous.cfg",
".kokoro/presubmit/system-3.8.cfg",
".kokoro/presubmit/prerelease-deps.cfg",
".kokoro/continuous/prerelease-deps.cfg",
".github/blunderbuss.yml", # blunderbuss assignment to python squad
".github/workflows", # exclude gh actions as credentials are needed for tests
".github/release-please.yml", # special support for a python2 branch in this repo
".kokoro/**",
".github/**",
],
)

s.replace(
".kokoro/build.sh",
"export PYTHONUNBUFFERED=1",
"""export PYTHONUNBUFFERED=1

# Export variable to override api endpoint
export API_ENDPOINT_OVERRIDE

# Export variable to override api endpoint version
export API_VERSION_OVERRIDE

# Export dual region locations
export DUAL_REGION_LOC_1
export DUAL_REGION_LOC_2

# Setup universe domain testing needed environment variables.
export TEST_UNIVERSE_DOMAIN_CREDENTIAL=$(realpath ${KOKORO_GFILE_DIR}/secret_manager/client-library-test-universe-domain-credential)
export TEST_UNIVERSE_DOMAIN=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-domain)
export TEST_UNIVERSE_PROJECT_ID=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-project-id)
export TEST_UNIVERSE_LOCATION=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-storage-location)

""")

python.py_samples(skip_readmes=True)

# Use a python runtime which is available in the owlbot post processor here
# https://github.com/googleapis/synthtool/blob/master/docker/owlbot/python/Dockerfile
s.shell.run(["nox", "-s", "blacken-3.10"], hide_output=False)
s.shell.run(["nox", "-s", "blacken"], hide_output=False)
Loading