Skip to content

Commit

Permalink
chore: template updates (#41)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/b0fbeb35-18fc-4dc7-9a22-790e26acd22c/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

Source-Link: googleapis/synthtool@043cc62
Source-Link: googleapis/synthtool@721339a
Source-Link: googleapis/synthtool@0a071b3
Source-Link: googleapis/synthtool@5b5bf6d
Source-Link: googleapis/synthtool@4501974
  • Loading branch information
yoshi-automation authored Apr 30, 2021
1 parent 76d132b commit fd97133
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{"allowedCopyrightHolders": ["Google LLC"],
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"],
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt", "**/__init__.py", "samples/**/constraints.txt", "samples/**/constraints-test.txt"],
"sourceFileExtensions": [
"ts",
"js",
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-workflows/.kokoro/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ python3 -m pip install --upgrade twine wheel setuptools
export PYTHONUNBUFFERED=1

# Move into the package, build the distribution and upload.
TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google_cloud_pypi_password")
TWINE_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secret_manager/google-cloud-pypi-token")
cd github/python-workflows
python3 setup.py sdist bdist_wheel
twine upload --username gcloudpypi --password "${TWINE_PASSWORD}" dist/*
twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/*
14 changes: 2 additions & 12 deletions packages/google-cloud-workflows/.kokoro/release/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,8 @@ env_vars: {
value: "github/python-workflows/.kokoro/release.sh"
}

# Fetch PyPI password
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "google_cloud_pypi_password"
}
}
}

# Tokens needed to report release status back to GitHub
env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
}
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem,google-cloud-pypi-token"
}
14 changes: 14 additions & 0 deletions packages/google-cloud-workflows/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2021 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.
#
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
Expand Down
13 changes: 12 additions & 1 deletion packages/google-cloud-workflows/docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
div#python2-eol {
border-color: red;
border-width: medium;
}
}

/* Ensure minimum width for 'Parameters' / 'Returns' column */
dl.field-list > dt {
min-width: 100px
}

/* Insert space between methods for readability */
dl.method {
padding-top: 10px;
padding-bottom: 10px
}

/* Insert empty space between classes */
dl.class {
padding-bottom: 50px
}
13 changes: 13 additions & 0 deletions packages/google-cloud-workflows/docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# -*- coding: utf-8 -*-
# Copyright 2021 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.
#
# google-cloud-workflows documentation build configuration file
#
Expand Down
5 changes: 4 additions & 1 deletion packages/google-cloud-workflows/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"extends": [
"config:base", ":preserveSemverRanges"
],
"ignorePaths": [".pre-commit-config.yaml"]
"ignorePaths": [".pre-commit-config.yaml"],
"pip_requirements": {
"fileMatch": ["requirements-test.txt", "samples/[\\S/]*constraints.txt", "samples/[\\S/]*constraints-test.txt"]
}
}
45 changes: 41 additions & 4 deletions packages/google-cloud-workflows/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
{
"git": {
"name": ".",
"remote": "git@github.com:googleapis/python-workflows"
"remote": "https://github.com/googleapis/python-workflows.git",
"sha": "4c39eca1787e3b3b2a499ee948040887fd1ba4ce"
}
},
{
Expand All @@ -18,14 +19,14 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "86ed43d4f56e6404d068e62e497029018879c771"
"sha": "043cc620d6a6111816d9e09f2a97208565fde958"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "86ed43d4f56e6404d068e62e497029018879c771"
"sha": "043cc620d6a6111816d9e09f2a97208565fde958"
}
}
],
Expand Down Expand Up @@ -127,16 +128,35 @@
"docs/_static/custom.css",
"docs/_templates/layout.html",
"docs/conf.py",
"docs/executions_v1/executions.rst",
"docs/executions_v1/services.rst",
"docs/executions_v1/types.rst",
"docs/executions_v1beta/executions.rst",
"docs/executions_v1beta/services.rst",
"docs/executions_v1beta/types.rst",
"docs/multiprocessing.rst",
"docs/workflows_v1/services.rst",
"docs/workflows_v1/types.rst",
"docs/workflows_v1/workflows.rst",
"docs/workflows_v1beta/services.rst",
"docs/workflows_v1beta/types.rst",
"docs/workflows_v1beta/workflows.rst",
"google/cloud/workflows/__init__.py",
"google/cloud/workflows/executions/__init__.py",
"google/cloud/workflows/executions/py.typed",
"google/cloud/workflows/executions_v1/__init__.py",
"google/cloud/workflows/executions_v1/py.typed",
"google/cloud/workflows/executions_v1/services/__init__.py",
"google/cloud/workflows/executions_v1/services/executions/__init__.py",
"google/cloud/workflows/executions_v1/services/executions/async_client.py",
"google/cloud/workflows/executions_v1/services/executions/client.py",
"google/cloud/workflows/executions_v1/services/executions/pagers.py",
"google/cloud/workflows/executions_v1/services/executions/transports/__init__.py",
"google/cloud/workflows/executions_v1/services/executions/transports/base.py",
"google/cloud/workflows/executions_v1/services/executions/transports/grpc.py",
"google/cloud/workflows/executions_v1/services/executions/transports/grpc_asyncio.py",
"google/cloud/workflows/executions_v1/types/__init__.py",
"google/cloud/workflows/executions_v1/types/executions.py",
"google/cloud/workflows/executions_v1beta/__init__.py",
"google/cloud/workflows/executions_v1beta/py.typed",
"google/cloud/workflows/executions_v1beta/services/__init__.py",
Expand All @@ -151,6 +171,19 @@
"google/cloud/workflows/executions_v1beta/types/__init__.py",
"google/cloud/workflows/executions_v1beta/types/executions.py",
"google/cloud/workflows/py.typed",
"google/cloud/workflows_v1/__init__.py",
"google/cloud/workflows_v1/py.typed",
"google/cloud/workflows_v1/services/__init__.py",
"google/cloud/workflows_v1/services/workflows/__init__.py",
"google/cloud/workflows_v1/services/workflows/async_client.py",
"google/cloud/workflows_v1/services/workflows/client.py",
"google/cloud/workflows_v1/services/workflows/pagers.py",
"google/cloud/workflows_v1/services/workflows/transports/__init__.py",
"google/cloud/workflows_v1/services/workflows/transports/base.py",
"google/cloud/workflows_v1/services/workflows/transports/grpc.py",
"google/cloud/workflows_v1/services/workflows/transports/grpc_asyncio.py",
"google/cloud/workflows_v1/types/__init__.py",
"google/cloud/workflows_v1/types/workflows.py",
"google/cloud/workflows_v1beta/__init__.py",
"google/cloud/workflows_v1beta/py.typed",
"google/cloud/workflows_v1beta/services/__init__.py",
Expand All @@ -176,9 +209,13 @@
"scripts/readme-gen/templates/install_portaudio.tmpl.rst",
"setup.cfg",
"testing/.gitignore",
"tests/unit/gapic/executions_v1/__init__.py",
"tests/unit/gapic/executions_v1/test_executions.py",
"tests/unit/gapic/executions_v1beta/__init__.py",
"tests/unit/gapic/executions_v1beta/test_executions.py",
"tests/unit/gapic/workflows_v1/__init__.py",
"tests/unit/gapic/workflows_v1/test_workflows.py",
"tests/unit/gapic/workflows_v1beta/__init__.py",
"tests/unit/gapic/workflows_v1beta/test_workflows.py"
]
}
}

0 comments on commit fd97133

Please sign in to comment.