From 218a159f646c81021c890b92f9cff003aed949a8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 6 Jul 2020 13:59:22 -0700 Subject: [PATCH] chore: update file headers (#515) * changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * chore: modify synth excludes Co-authored-by: Bu Sun Kim Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> --- .kokoro/publish-docs.sh | 13 +++++++++++++ .kokoro/release.sh | 13 +++++++++++++ .kokoro/trampoline.sh | 2 +- synth.metadata | 16 +++++++++++----- synth.py | 9 ++++++++- 5 files changed, 46 insertions(+), 7 deletions(-) diff --git a/.kokoro/publish-docs.sh b/.kokoro/publish-docs.sh index 0d97db8f1..0e5d97867 100755 --- a/.kokoro/publish-docs.sh +++ b/.kokoro/publish-docs.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright 2020 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 +# +# 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. set -eo pipefail diff --git a/.kokoro/release.sh b/.kokoro/release.sh index cf855559a..ded1baeda 100755 --- a/.kokoro/release.sh +++ b/.kokoro/release.sh @@ -1,4 +1,17 @@ #!/bin/bash +# Copyright 2020 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 +# +# 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. set -eo pipefail diff --git a/.kokoro/trampoline.sh b/.kokoro/trampoline.sh index 4b4ba9f81..e8c4251f3 100755 --- a/.kokoro/trampoline.sh +++ b/.kokoro/trampoline.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2017 Google LLC +# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/synth.metadata b/synth.metadata index ebfeb7f12..0efbe1e90 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,11 +1,17 @@ { - "updateTime": "2019-09-12T22:40:28.148018Z", "sources": [ { - "template": { - "name": "python_library", - "origin": "synthtool.gcp", - "version": "2019.5.2" + "git": { + "name": ".", + "remote": "git@github.com:googleapis/google-auth-library-python", + "sha": "aab4f2fdb2cfa598397026865ccb270a05c38cc4" + } + }, + { + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "71b8a272549c06b5768d00fa48d3ae990e871bec" } } ] diff --git a/synth.py b/synth.py index 069b21472..49bf2dda6 100644 --- a/synth.py +++ b/synth.py @@ -7,4 +7,11 @@ # Add templated files # ---------------------------------------------------------------------------- templated_files = common.py_library(unit_cov_level=100, cov_level=100) -s.move(templated_files / '.kokoro') # just move kokoro configs \ No newline at end of file +s.move( + templated_files / ".kokoro", + excludes=[ + ".kokoro/continuous/common.cfg", + ".kokoro/presubmit/common.cfg", + ".kokoro/build.sh", + ], +) # just move kokoro configs