Skip to content

Commit

Permalink
chore: update templates (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jan 28, 2021
1 parent 0bb7bc8 commit 10a1ac2
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 11 deletions.
16 changes: 10 additions & 6 deletions packages/googleapis-common-protos/.kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@

set -eo pipefail

cd github/python-api-common-protos
if [[ -z "${PROJECT_ROOT:-}" ]]; then
PROJECT_ROOT="github/python-api-common-protos"
fi

cd "${PROJECT_ROOT}"

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

# Remove old nox
python3.6 -m pip uninstall --yes --quiet nox-automation
python3 -m pip uninstall --yes --quiet nox-automation

# Install nox
python3.6 -m pip install --upgrade --quiet nox
python3.6 -m nox --version
python3 -m pip install --upgrade --quiet nox
python3 -m nox --version

# If NOX_SESSION is set, it only runs the specified session,
# otherwise run all the sessions.
if [[ -n "${NOX_SESSION:-}" ]]; then
python3.6 -m nox -s "${NOX_SESSION:-}"
python3 -m nox -s ${NOX_SESSION:-}
else
python3.6 -m nox
python3 -m nox
fi
7 changes: 4 additions & 3 deletions packages/googleapis-common-protos/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Apache License

Apache License
Version 2.0, January 2004
https://www.apache.org/licenses/
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down Expand Up @@ -192,7 +193,7 @@
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
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,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 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
#
# 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.


# Copyright 2020 Google LLC
#
Expand All @@ -15,6 +29,7 @@

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


"""Client and server classes corresponding to protobuf-defined services."""
import grpc

Expand Down
99 changes: 97 additions & 2 deletions packages/googleapis-common-protos/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{
"git": {
"name": ".",
"remote": "git@github.com:googleapis/python-api-common-protos",
"sha": "585412443870a90bfd9f95a21ec7607241b064de"
"remote": "https://github.com/googleapis/python-api-common-protos.git",
"sha": "d7a3099cb04ac1d27e9fc04bb920d2025498b95e"
}
},
{
Expand All @@ -28,5 +28,100 @@
"sha": "b259489b06b25f399768b74b8baa943991f38ea7"
}
}
],
"generatedFiles": [
".github/CONTRIBUTING.md",
".github/ISSUE_TEMPLATE/bug_report.md",
".github/ISSUE_TEMPLATE/feature_request.md",
".github/ISSUE_TEMPLATE/support_request.md",
".github/PULL_REQUEST_TEMPLATE.md",
".github/release-please.yml",
".github/snippet-bot.yml",
".kokoro/build.sh",
".kokoro/continuous/common.cfg",
".kokoro/continuous/continuous.cfg",
".kokoro/docker/docs/Dockerfile",
".kokoro/docker/docs/fetch_gpg_keys.sh",
".kokoro/populate-secrets.sh",
".kokoro/presubmit/common.cfg",
".kokoro/presubmit/presubmit.cfg",
".kokoro/release.sh",
".kokoro/release/common.cfg",
".kokoro/release/release.cfg",
".kokoro/samples/lint/common.cfg",
".kokoro/samples/lint/continuous.cfg",
".kokoro/samples/lint/periodic.cfg",
".kokoro/samples/lint/presubmit.cfg",
".kokoro/samples/python3.6/common.cfg",
".kokoro/samples/python3.6/continuous.cfg",
".kokoro/samples/python3.6/periodic.cfg",
".kokoro/samples/python3.6/presubmit.cfg",
".kokoro/samples/python3.7/common.cfg",
".kokoro/samples/python3.7/continuous.cfg",
".kokoro/samples/python3.7/periodic.cfg",
".kokoro/samples/python3.7/presubmit.cfg",
".kokoro/samples/python3.8/common.cfg",
".kokoro/samples/python3.8/continuous.cfg",
".kokoro/samples/python3.8/periodic.cfg",
".kokoro/samples/python3.8/presubmit.cfg",
".kokoro/test-samples.sh",
".kokoro/trampoline.sh",
".kokoro/trampoline_v2.sh",
"LICENSE",
"google/api/README.md",
"google/api/annotations.proto",
"google/api/auth.proto",
"google/api/backend.proto",
"google/api/billing.proto",
"google/api/client.proto",
"google/api/config_change.proto",
"google/api/consumer.proto",
"google/api/context.proto",
"google/api/control.proto",
"google/api/distribution.proto",
"google/api/documentation.proto",
"google/api/endpoint.proto",
"google/api/field_behavior.proto",
"google/api/http.proto",
"google/api/httpbody.proto",
"google/api/label.proto",
"google/api/launch_stage.proto",
"google/api/log.proto",
"google/api/logging.proto",
"google/api/metric.proto",
"google/api/monitored_resource.proto",
"google/api/monitoring.proto",
"google/api/quota.proto",
"google/api/resource.proto",
"google/api/service.proto",
"google/api/source_info.proto",
"google/api/system_parameter.proto",
"google/api/usage.proto",
"google/logging/type/README.md",
"google/logging/type/http_request.proto",
"google/logging/type/log_severity.proto",
"google/longrunning/README.md",
"google/longrunning/operations.proto",
"google/longrunning/operations_pb2_grpc.py",
"google/rpc/README.md",
"google/rpc/code.proto",
"google/rpc/context/attribute_context.proto",
"google/rpc/error_details.proto",
"google/rpc/status.proto",
"google/type/README.md",
"google/type/calendar_period.proto",
"google/type/color.proto",
"google/type/date.proto",
"google/type/datetime.proto",
"google/type/dayofweek.proto",
"google/type/expr.proto",
"google/type/fraction.proto",
"google/type/latlng.proto",
"google/type/money.proto",
"google/type/month.proto",
"google/type/postal_address.proto",
"google/type/quaternion.proto",
"google/type/timeofday.proto",
"setup.cfg"
]
}

0 comments on commit 10a1ac2

Please sign in to comment.