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

Commit 5937fa9

Browse files
chore: update templates (#34)
1 parent d7a3099 commit 5937fa9

4 files changed

Lines changed: 126 additions & 11 deletions

File tree

.kokoro/build.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515

1616
set -eo pipefail
1717

18-
cd github/python-api-common-protos
18+
if [[ -z "${PROJECT_ROOT:-}" ]]; then
19+
PROJECT_ROOT="github/python-api-common-protos"
20+
fi
21+
22+
cd "${PROJECT_ROOT}"
1923

2024
# Disable buffering, so that the logs stream through.
2125
export PYTHONUNBUFFERED=1
@@ -30,16 +34,16 @@ export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
3034
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
3135

3236
# Remove old nox
33-
python3.6 -m pip uninstall --yes --quiet nox-automation
37+
python3 -m pip uninstall --yes --quiet nox-automation
3438

3539
# Install nox
36-
python3.6 -m pip install --upgrade --quiet nox
37-
python3.6 -m nox --version
40+
python3 -m pip install --upgrade --quiet nox
41+
python3 -m nox --version
3842

3943
# If NOX_SESSION is set, it only runs the specified session,
4044
# otherwise run all the sessions.
4145
if [[ -n "${NOX_SESSION:-}" ]]; then
42-
python3.6 -m nox -s "${NOX_SESSION:-}"
46+
python3 -m nox -s ${NOX_SESSION:-}
4347
else
44-
python3.6 -m nox
48+
python3 -m nox
4549
fi

LICENSE

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
Apache License
1+
2+
Apache License
23
Version 2.0, January 2004
3-
https://www.apache.org/licenses/
4+
http://www.apache.org/licenses/
45

56
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
67

@@ -192,7 +193,7 @@
192193
you may not use this file except in compliance with the License.
193194
You may obtain a copy of the License at
194195

195-
https://www.apache.org/licenses/LICENSE-2.0
196+
http://www.apache.org/licenses/LICENSE-2.0
196197

197198
Unless required by applicable law or agreed to in writing, software
198199
distributed under the License is distributed on an "AS IS" BASIS,

google/longrunning/operations_pb2_grpc.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2020 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115

216
# Copyright 2020 Google LLC
317
#
@@ -15,6 +29,7 @@
1529

1630
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
1731

32+
1833
"""Client and server classes corresponding to protobuf-defined services."""
1934
import grpc
2035

synth.metadata

Lines changed: 97 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
{
44
"git": {
55
"name": ".",
6-
"remote": "git@github.com:googleapis/python-api-common-protos",
7-
"sha": "585412443870a90bfd9f95a21ec7607241b064de"
6+
"remote": "https://github.com/googleapis/python-api-common-protos.git",
7+
"sha": "d7a3099cb04ac1d27e9fc04bb920d2025498b95e"
88
}
99
},
1010
{
@@ -28,5 +28,100 @@
2828
"sha": "b259489b06b25f399768b74b8baa943991f38ea7"
2929
}
3030
}
31+
],
32+
"generatedFiles": [
33+
".github/CONTRIBUTING.md",
34+
".github/ISSUE_TEMPLATE/bug_report.md",
35+
".github/ISSUE_TEMPLATE/feature_request.md",
36+
".github/ISSUE_TEMPLATE/support_request.md",
37+
".github/PULL_REQUEST_TEMPLATE.md",
38+
".github/release-please.yml",
39+
".github/snippet-bot.yml",
40+
".kokoro/build.sh",
41+
".kokoro/continuous/common.cfg",
42+
".kokoro/continuous/continuous.cfg",
43+
".kokoro/docker/docs/Dockerfile",
44+
".kokoro/docker/docs/fetch_gpg_keys.sh",
45+
".kokoro/populate-secrets.sh",
46+
".kokoro/presubmit/common.cfg",
47+
".kokoro/presubmit/presubmit.cfg",
48+
".kokoro/release.sh",
49+
".kokoro/release/common.cfg",
50+
".kokoro/release/release.cfg",
51+
".kokoro/samples/lint/common.cfg",
52+
".kokoro/samples/lint/continuous.cfg",
53+
".kokoro/samples/lint/periodic.cfg",
54+
".kokoro/samples/lint/presubmit.cfg",
55+
".kokoro/samples/python3.6/common.cfg",
56+
".kokoro/samples/python3.6/continuous.cfg",
57+
".kokoro/samples/python3.6/periodic.cfg",
58+
".kokoro/samples/python3.6/presubmit.cfg",
59+
".kokoro/samples/python3.7/common.cfg",
60+
".kokoro/samples/python3.7/continuous.cfg",
61+
".kokoro/samples/python3.7/periodic.cfg",
62+
".kokoro/samples/python3.7/presubmit.cfg",
63+
".kokoro/samples/python3.8/common.cfg",
64+
".kokoro/samples/python3.8/continuous.cfg",
65+
".kokoro/samples/python3.8/periodic.cfg",
66+
".kokoro/samples/python3.8/presubmit.cfg",
67+
".kokoro/test-samples.sh",
68+
".kokoro/trampoline.sh",
69+
".kokoro/trampoline_v2.sh",
70+
"LICENSE",
71+
"google/api/README.md",
72+
"google/api/annotations.proto",
73+
"google/api/auth.proto",
74+
"google/api/backend.proto",
75+
"google/api/billing.proto",
76+
"google/api/client.proto",
77+
"google/api/config_change.proto",
78+
"google/api/consumer.proto",
79+
"google/api/context.proto",
80+
"google/api/control.proto",
81+
"google/api/distribution.proto",
82+
"google/api/documentation.proto",
83+
"google/api/endpoint.proto",
84+
"google/api/field_behavior.proto",
85+
"google/api/http.proto",
86+
"google/api/httpbody.proto",
87+
"google/api/label.proto",
88+
"google/api/launch_stage.proto",
89+
"google/api/log.proto",
90+
"google/api/logging.proto",
91+
"google/api/metric.proto",
92+
"google/api/monitored_resource.proto",
93+
"google/api/monitoring.proto",
94+
"google/api/quota.proto",
95+
"google/api/resource.proto",
96+
"google/api/service.proto",
97+
"google/api/source_info.proto",
98+
"google/api/system_parameter.proto",
99+
"google/api/usage.proto",
100+
"google/logging/type/README.md",
101+
"google/logging/type/http_request.proto",
102+
"google/logging/type/log_severity.proto",
103+
"google/longrunning/README.md",
104+
"google/longrunning/operations.proto",
105+
"google/longrunning/operations_pb2_grpc.py",
106+
"google/rpc/README.md",
107+
"google/rpc/code.proto",
108+
"google/rpc/context/attribute_context.proto",
109+
"google/rpc/error_details.proto",
110+
"google/rpc/status.proto",
111+
"google/type/README.md",
112+
"google/type/calendar_period.proto",
113+
"google/type/color.proto",
114+
"google/type/date.proto",
115+
"google/type/datetime.proto",
116+
"google/type/dayofweek.proto",
117+
"google/type/expr.proto",
118+
"google/type/fraction.proto",
119+
"google/type/latlng.proto",
120+
"google/type/money.proto",
121+
"google/type/month.proto",
122+
"google/type/postal_address.proto",
123+
"google/type/quaternion.proto",
124+
"google/type/timeofday.proto",
125+
"setup.cfg"
31126
]
32127
}

0 commit comments

Comments
 (0)