-
Notifications
You must be signed in to change notification settings - Fork 30
build: update README for deprecation notice #792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,2 @@ | ||
| # Copyright 2022 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| requestsize: | ||
| enabled: true | ||
| staleness: | ||
| pullrequest: true | ||
| old: 30 | ||
| extraold: 60 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,47 +1,17 @@ | ||
| # Copyright 2018 Google LLC. | ||
| # Copyright 2022 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # Licensed under the Apache License, Version 2.0 (the License); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| import synthtool as s | ||
| import synthtool.gcp as gcp | ||
| import synthtool.languages.node as node | ||
| import logging | ||
| import os | ||
|
|
||
| logging.basicConfig(level=logging.DEBUG) | ||
|
|
||
| common_templates = gcp.CommonTemplates() | ||
| templates = common_templates.node_library() | ||
| s.copy(templates, excludes=[".github/auto-label.yaml", ".github/CODEOWNERS", ".github/sync-repo-settings.yaml"]) | ||
| node.fix() | ||
|
|
||
|
|
||
| # -------------------------------------------------------------------------- | ||
| # Modify test configs | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| # add shared environment variables to test configs | ||
| s.move( | ||
| ".kokoro/common_env_vars.cfg", | ||
| ".kokoro/common.cfg", | ||
| merge=lambda src, dst, _, : f"{dst}\n{src}", | ||
| ) | ||
| for path, subdirs, files in os.walk(f".kokoro/continuous"): | ||
| for name in files: | ||
| if name == "common.cfg": | ||
| file_path = os.path.join(path, name) | ||
| s.move( | ||
| ".kokoro/common_env_vars.cfg", | ||
| file_path, | ||
| merge=lambda src, dst, _, : f"{dst}\n{src}", | ||
| ) | ||
| node.owlbot_main(templates_excludes=[ | ||
| 'README.md' | ||
| ]) |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium