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

Commit 8db41a5

Browse files
committed
wip
1 parent 9e3a210 commit 8db41a5

File tree

2 files changed

+18
-25
lines changed

2 files changed

+18
-25
lines changed

.librarian/state.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ libraries:
1414
- .
1515
preserve_regex: []
1616
remove_regex:
17-
- ^google/cloud/spanner_v1/services/spanner
17+
- ^google/cloud/spanner_v1/gapic_metadata.json
18+
- ^google/cloud/spanner_v1/gapic_version.py
19+
- ^google/cloud/spanner_v1/py.typed
20+
- ^google/cloud/spanner_v1/services
1821
- ^google/cloud/spanner_admin_database_v1
1922
- ^google/cloud/spanner_admin_instance_v1
2023
- ^tests/unit/gapic
@@ -39,4 +42,13 @@ libraries:
3942
- ^setup.py
4043
- ^testing/constraints-3.9
4144
- ^testing/constraints-3.1
45+
- ^docs/_static
46+
- ^docs/_templates
47+
- ^docs/spanner_v1
48+
- ^docs/spanner_admin_database_v1
49+
- ^docs/spanner_admin_instance_v1
50+
- ^docs/conf.py
51+
- ^docs/index.rst
52+
- ^docs/multiprocessing.rst
53+
- ^docs/summary_overview.md
4254
tag_format: v{version}

owlbot.py

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
if count < 1:
154154
raise Exception("Expected replacements for gRPC channel options not made.")
155155

156-
157156
count = s.replace(
158157
[
159158
library / "google/cloud/spanner_admin_instance_v1/services/*/transports/grpc*",
@@ -185,23 +184,20 @@
185184
)
186185
if count < 1:
187186
raise Exception("Expected replacements for gRPC channel options not made.")
188-
189187
s.move(
190188
library,
191189
excludes=[
192190
"google/cloud/spanner/**",
193-
"google/cloud/spanner_admin_instance/**"
194-
"google/cloud/spanner_admin_database/**"
195191
"*.*",
196192
"noxfile.py",
197193
"docs/index.rst",
198194
"google/cloud/spanner_v1/__init__.py",
199-
"**/gapic_version.py",
200195
"testing/constraints-3.7.txt",
196+
"google/cloud/spanner_admin_instance/**",
197+
"google/cloud/spanner_admin_database/**"
201198
],
202199
)
203200

204-
205201
s.remove_staging_dirs()
206202

207203
# ----------------------------------------------------------------------------
@@ -219,27 +215,12 @@
219215
templated_files,
220216
excludes=[
221217
".coveragerc",
222-
".github/workflows", # exclude gh actions as credentials are needed for tests
218+
".github/**",
219+
".kokoro/**",
223220
"README.rst",
224-
".github/release-please.yml",
225-
".kokoro/test-samples-impl.sh",
226-
".kokoro/presubmit/presubmit.cfg",
227-
".kokoro/samples/python3.7/**",
228-
".kokoro/samples/python3.8/**",
229221
],
230222
)
231223

232-
# Ensure CI runs on a new instance each time
233-
s.replace(
234-
".kokoro/build.sh",
235-
"# Setup project id.",
236-
"""\
237-
# Set up creating a new instance for each system test run
238-
export GOOGLE_CLOUD_TESTS_CREATE_SPANNER_INSTANCE=true
239-
240-
# Setup project id.""",
241-
)
242-
243224
# Update samples folder in CONTRIBUTING.rst
244225
s.replace("CONTRIBUTING.rst", "samples/snippets", "samples/samples")
245226

@@ -262,4 +243,4 @@
262243

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

0 commit comments

Comments
 (0)