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

Commit cc9dfce

Browse files
sofislgemini-code-assist[bot]gcf-owl-bot[bot]
authored
build: update README for deprecation notice (#2531)
* build: update README for deprecation notice * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 8062a06 commit cc9dfce

6 files changed

Lines changed: 9 additions & 77 deletions

File tree

.github/release-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
enabled: true
2-
multiScmName: nodejs-spanner
2+
multiScmName: nodejs-spanner

.github/sync-repo-settings.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@ branchProtectionRules:
77
requiredStatusCheckContexts:
88
- "ci/kokoro: Samples test"
99
- "ci/kokoro: System test"
10-
- "ci/kokoro: System test with Regular Sessions"
1110
- lint
1211
- test (18)
1312
- test (20)
1413
- test (22)
1514
- cla/google
1615
- windows
1716
- OwlBot Post Processor
18-
- Build with Airlock
1917
permissionRules:
20-
- team: yoshi-admins
21-
permission: admin
22-
- team: jsteam-admins
23-
permission: admin
24-
- team: jsteam
18+
- team: cloud-sdk-nodejs-team
2519
permission: push

.kokoro/samples-test.sh

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.kokoro/trampoline_v2.sh

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**_THIS REPOSITORY IS DEPRECATED. ALL OF ITS CONTENT AND HISTORY HAS BEEN MOVED TO [GOOGLE-CLOUD-NODE](https://github.com/googleapis/google-cloud-node/tree/main/packages/handwritten)_**
2+
13
[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
24
[//]: # "To regenerate it, use `python -m synthtool`."
35
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

owlbot.py

Lines changed: 5 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Copyright 2021 Google LLC
1+
# Copyright 2022 Google LLC
22
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# Licensed under the Apache License, Version 2.0 (the License);
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
66
#
@@ -11,62 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-
import synthtool as s
16-
import synthtool.gcp as gcp
1714
import synthtool.languages.node as node
18-
import logging
19-
from pathlib import Path
20-
from synthtool import _tracked_paths
21-
from synthtool import shell
22-
import shutil
23-
24-
staging = Path("owl-bot-staging")
25-
26-
if staging.is_dir():
27-
logging.info(f"Copying files from staging directory ${staging}.")
28-
29-
# nodejs-spanner is composed of 3 APIs: SpannerClient, SpannerAdminDatabase and
30-
# SpannerAdminInstance, all 3 are exported in src/v1/index.js
31-
# Excluding auto-generated system test since Spanner has its own packing test
32-
excludes=["src/index.ts", "src/v1/index.ts", "README.md", "package.json",
33-
"system-test/*", "system-test/fixtures/sample/*", "system-test/fixtures/sample/src/*",
34-
"tsconfig.json"]
35-
36-
# Copy spanner library.
37-
for version in ['v1']:
38-
library = staging / version
39-
_tracked_paths.add(library)
40-
s.copy([library], excludes=excludes)
41-
42-
excludes += ["webpack.config.js", ".jsdoc.js"]
43-
44-
# Copy the admin/database library.
45-
for version in ['v1']:
46-
library = staging / 'admin' / 'database' / version
47-
_tracked_paths.add(library)
48-
s.copy([library], excludes=excludes)
49-
50-
# Copy the admin/instance library.
51-
for version in ['v1']:
52-
library = staging / 'admin' / 'instance' / version
53-
_tracked_paths.add(library)
54-
s.copy([library], excludes=excludes)
55-
56-
# Copy the spanner/executor library.
57-
for version in ['v1']:
58-
library = staging / 'executor' / version
59-
_tracked_paths.add(library)
60-
s.copy([library], excludes=excludes)
61-
62-
# The staging directory should never be merged into the main branch.
63-
shutil.rmtree(staging)
64-
65-
common_templates = gcp.CommonTemplates()
66-
templates = common_templates.node_library(source_location='build/src')
67-
s.copy(templates, excludes=[".kokoro/samples-test.sh", ".kokoro/trampoline_v2.sh", ".github/release-trigger.yml", ".github/sync-repo-settings.yaml"])
68-
69-
node.postprocess_gapic_library_hermetic()
70-
71-
# Remove generated samples from veneer library:
72-
shell.run(('rm', '-rf', 'samples/generated'), hide_output = False)
15+
node.owlbot_main(templates_excludes=[
16+
'README.md'
17+
])

0 commit comments

Comments
 (0)