Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 361235a

Browse files
authored
chore(librarian): onboard to librarian (#1625)
Towards googleapis/librarian#2461
1 parent 53ced01 commit 361235a

10 files changed

Lines changed: 572 additions & 40 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "storage",
3+
"name_pretty": "Google Cloud Storage",
4+
"product_documentation": "https://cloud.google.com/storage",
5+
"client_documentation": "https://cloud.google.com/python/docs/reference/storage/latest",
6+
"issue_tracker": "https://issuetracker.google.com/savedsearches/559782",
7+
"release_level": "stable",
8+
"language": "python",
9+
"library_type": "GAPIC_MANUAL",
10+
"repo": "googleapis/python-storage",
11+
"distribution_name": "google-cloud-storage",
12+
"api_id": "storage.googleapis.com",
13+
"requires_billing": true,
14+
"default_version": "v2",
15+
"codeowner_team": "@googleapis/gcs-sdk-team",
16+
"api_shortname": "storage",
17+
"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."
18+
}

owlbot.py renamed to .librarian/generator-input/librarian.py

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -98,41 +98,11 @@
9898
"noxfile.py",
9999
"CONTRIBUTING.rst",
100100
"README.rst",
101-
".kokoro/continuous/continuous.cfg",
102-
".kokoro/presubmit/system-3.8.cfg",
103-
".kokoro/presubmit/prerelease-deps.cfg",
104-
".kokoro/continuous/prerelease-deps.cfg",
105-
".github/blunderbuss.yml", # blunderbuss assignment to python squad
106-
".github/workflows", # exclude gh actions as credentials are needed for tests
107-
".github/release-please.yml", # special support for a python2 branch in this repo
101+
".kokoro/**",
102+
".github/**",
108103
],
109104
)
110105

111-
s.replace(
112-
".kokoro/build.sh",
113-
"export PYTHONUNBUFFERED=1",
114-
"""export PYTHONUNBUFFERED=1
115-
116-
# Export variable to override api endpoint
117-
export API_ENDPOINT_OVERRIDE
118-
119-
# Export variable to override api endpoint version
120-
export API_VERSION_OVERRIDE
121-
122-
# Export dual region locations
123-
export DUAL_REGION_LOC_1
124-
export DUAL_REGION_LOC_2
125-
126-
# Setup universe domain testing needed environment variables.
127-
export TEST_UNIVERSE_DOMAIN_CREDENTIAL=$(realpath ${KOKORO_GFILE_DIR}/secret_manager/client-library-test-universe-domain-credential)
128-
export TEST_UNIVERSE_DOMAIN=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-domain)
129-
export TEST_UNIVERSE_PROJECT_ID=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-project-id)
130-
export TEST_UNIVERSE_LOCATION=$(gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-storage-location)
131-
132-
""")
133-
134106
python.py_samples(skip_readmes=True)
135107

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

0 commit comments

Comments
 (0)