Skip to content

Commit

Permalink
chore: update file headers (#515)
Browse files Browse the repository at this point in the history
* 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 <busunkim@google.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
  • Loading branch information
3 people committed Jul 6, 2020
1 parent 038ae1b commit 218a159
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 7 deletions.
13 changes: 13 additions & 0 deletions .kokoro/publish-docs.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
13 changes: 13 additions & 0 deletions .kokoro/release.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion .kokoro/trampoline.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
16 changes: 11 additions & 5 deletions synth.metadata
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
Expand Down
9 changes: 8 additions & 1 deletion synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
s.move(
templated_files / ".kokoro",
excludes=[
".kokoro/continuous/common.cfg",
".kokoro/presubmit/common.cfg",
".kokoro/build.sh",
],
) # just move kokoro configs

0 comments on commit 218a159

Please sign in to comment.