Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
chore: update publish-docs.sh (#28)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈


<details><summary>Log from Synthtool</summary>

```
2020-05-08 05:13:29,323 synthtool > Executing /tmpfs/src/github/synthtool/working_repo/synth.py.
On branch autosynth
nothing to commit, working tree clean
2020-05-08 05:13:29,456 synthtool > Ensuring dependencies.
2020-05-08 05:13:29,793 synthtool > Cloning googleapis.
2020-05-08 05:13:30,317 synthtool > Generating code for: //google/cloud/asset/v1beta1:asset-v1beta1-py.
2020-05-08 05:17:29,908 synthtool > Generated code into /tmpfs/tmp/tmpklwfy0xa.
2020-05-08 05:17:29,944 synthtool > Generating code for: //google/cloud/asset/v1p1beta1:asset-v1p1beta1-py.
2020-05-08 05:17:33,154 synthtool > Generated code into /tmpfs/tmp/tmphx0_7zv6.
2020-05-08 05:17:33,176 synthtool > Generating code for: //google/cloud/asset/v1p2beta1:asset-v1p2beta1-py.
2020-05-08 05:17:36,588 synthtool > Generated code into /tmpfs/tmp/tmpc8jvinhf.
2020-05-08 05:17:36,614 synthtool > Generating code for: //google/cloud/asset/v1p4beta1:asset-v1p4beta1-py.
2020-05-08 05:17:39,972 synthtool > Generated code into /tmpfs/tmp/tmpda16awoo.
2020-05-08 05:17:39,999 synthtool > Generating code for: //google/cloud/asset/v1:asset-v1-py.
2020-05-08 05:17:43,628 synthtool > Generated code into /tmpfs/tmp/tmprs6poday.
2020-05-08 05:17:43,659 synthtool > Replaced 'from google.iam.v1 import policy_pb2 as' in google/cloud/asset_v1beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,659 synthtool > Replaced 'from google.iam.v1 import policy_pb2 as' in google/cloud/asset_v1p1beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,660 synthtool > Replaced 'from google.iam.v1 import policy_pb2 as' in google/cloud/asset_v1p4beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,660 synthtool > Replaced 'from google.iam.v1 import policy_pb2 as' in google/cloud/asset_v1/proto/assets_pb2.py.
2020-05-08 05:17:43,660 synthtool > Replaced 'from google.iam.v1 import policy_pb2 as' in google/cloud/asset_v1p2beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,661 synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2_grpc as google_dot_iam_dot_v1_dot_policy__pb2' in google/cloud/asset_v1beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,662 synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2_grpc as google_dot_iam_dot_v1_dot_policy__pb2' in google/cloud/asset_v1p1beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,662 synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2_grpc as google_dot_iam_dot_v1_dot_policy__pb2' in google/cloud/asset_v1p4beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,662 synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2_grpc as google_dot_iam_dot_v1_dot_policy__pb2' in google/cloud/asset_v1/proto/assets_pb2.py.
2020-05-08 05:17:43,663 synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2_grpc as google_dot_iam_dot_v1_dot_policy__pb2' in google/cloud/asset_v1p2beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,663 synthtool > Replaced "_ASSET\\.fields_by_name\\['iam_policy'\\]\\.message_type = google_dot_iam_dot_v1_dot_policy__pb2\\._POLICY" in google/cloud/asset_v1beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,664 synthtool > Replaced "_ASSET\\.fields_by_name\\['iam_policy'\\]\\.message_type = google_dot_iam_dot_v1_dot_policy__pb2\\._POLICY" in google/cloud/asset_v1/proto/assets_pb2.py.
2020-05-08 05:17:43,664 synthtool > Replaced "_ASSET\\.fields_by_name\\['iam_policy'\\]\\.message_type = google_dot_iam_dot_v1_dot_policy__pb2\\._POLICY" in google/cloud/asset_v1p2beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,666 synthtool > Replaced "_IAMPOLICYSEARCHRESULT\\.fields_by_name\\['policy'\\]\\.message_type = google_dot_iam_dot_v1_dot_policy__pb2\\._POLICY" in google/cloud/asset_v1p1beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,667 synthtool > Replaced "_IAMPOLICYANALYSISRESULT\\.fields_by_name\\['iam_binding'\\]\\.message_type = google_dot_iam_dot_v1_dot_policy__pb2\\._BINDING" in google/cloud/asset_v1p4beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,669 synthtool > Replaced '          The full name of the asset. For example: ``//compute.googleapi\n          s.com/projects/my_project_123/zones/zone1/instances/instance1`\n          `. See `Resource Names <https://cloud.google.com/apis/design/r\n          esource_names#full_resource_name>`__ for more information.\n' in google/cloud/asset_v1beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,670 synthtool > Replaced '          The full name of the asset. For example: ``//compute.googleapi\n          s.com/projects/my_project_123/zones/zone1/instances/instance1`\n          `. See `Resource Names <https://cloud.google.com/apis/design/r\n          esource_names#full_resource_name>`__ for more information.\n' in google/cloud/asset_v1p2beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,672 synthtool > No replacements made in google/cloud/**/asset_service_client.py for pattern google-cloud-cloudasset, maybe replacement is no longer needed?
2020-05-08 05:17:43,674 synthtool > Replaced '\'__doc__\': """Attributes:' in google/cloud/asset_v1p4beta1/proto/assets_pb2.py.
2020-05-08 05:17:43,674 synthtool > Replaced '\'__doc__\': """Attributes:' in google/cloud/asset_v1/proto/asset_service_pb2.py.
2020-05-08 05:17:43,675 synthtool > Replaced '\'__doc__\': """Attributes:' in google/cloud/asset_v1p2beta1/proto/asset_service_pb2.py.
2020-05-08 05:17:43,677 synthtool > Replaced 'from google\\.cloud\\.asset_v1\\.proto import ((access_level_pb2)|(service_perimeter_pb2)|(access_policy_pb2))' in google/cloud/asset_v1/types.py.
2020-05-08 05:17:43,677 synthtool > Replaced 'from google\\.cloud\\.asset_v1\\.proto import orgpolicy_pb2' in google/cloud/asset_v1/types.py.
2020-05-08 05:17:43,678 synthtool > Replaced '(def __init__\\()' in google/cloud/asset_v1/gapic/asset_service_client.py.
2020-05-08 05:17:43,678 synthtool > Replaced '(def __init__\\()' in google/cloud/asset_v1beta1/gapic/asset_service_client.py.
2020-05-08 05:17:43,680 synthtool > Replaced 'def batch_get_assets_history\\(\n            self,\n            parent,\n            asset_names=None,\n            content_type=None,\n            read_time_window=None,\n            retry=google\\.api_core\\.gapic_v1\\.method\\.DEFAULT,\n            timeout=google\\.api_core\\.gapic_v1\\.method\\.DEFAULT,\n            metadata=None\\):' in google/cloud/asset_v1/gapic/asset_service_client.py.
2020-05-08 05:17:43,680 synthtool > Replaced 'def batch_get_assets_history\\(\n            self,\n            parent,\n            asset_names=None,\n            content_type=None,\n            read_time_window=None,\n            retry=google\\.api_core\\.gapic_v1\\.method\\.DEFAULT,\n            timeout=google\\.api_core\\.gapic_v1\\.method\\.DEFAULT,\n            metadata=None\\):' in google/cloud/asset_v1beta1/gapic/asset_service_client.py.
.coveragerc
.flake8
.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
.gitignore
.kokoro/build.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/continuous.cfg
.kokoro/docs/common.cfg
.kokoro/docs/docs.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/presubmit.cfg
.kokoro/publish-docs.sh
.kokoro/release.sh
.kokoro/release/common.cfg
.kokoro/release/release.cfg
.kokoro/trampoline.sh
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
LICENSE
MANIFEST.in
docs/_static/custom.css
docs/_templates/layout.html
docs/conf.py.j2
docs/multiprocessing.rst
noxfile.py.j2
renovate.json
setup.cfg
2020-05-08 05:17:44,146 synthtool > Wrote metadata to synth.metadata.

```
</details>
  • Loading branch information
yoshi-automation committed May 13, 2020
1 parent 9bf311d commit 5a45c80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .kokoro/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#!/bin/bash

set -eo pipefail

# Disable buffering, so that the logs stream through.
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@
"git": {
"name": ".",
"remote": "git@github.com:googleapis/python-asset.git",
"sha": "47d7b887828f4d4ba497900e85d130e27e9f6f3b"
"sha": "8eb8c326de61bf89a3d7cd3362f488d18f41340c"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "83816bb3093686a28af2891db5b7506614a820b1",
"internalRef": "310509915"
"sha": "89e89786896d256c70f43e68a975470c4f4f220e",
"internalRef": "311239362"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "4674113712c0c7ada19e6a8219d7963ff174b392"
"sha": "c585ac3b5eff5cd2097a5315ffd9cf4823cc1ed2"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "4674113712c0c7ada19e6a8219d7963ff174b392"
"sha": "c585ac3b5eff5cd2097a5315ffd9cf4823cc1ed2"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ def project_path(cls, project):
templated_files = gcp.CommonTemplates().py_library(unit_cov_level=79, cov_level=80)
s.move(templated_files)

#s.shell.run(["nox", "-s", "blacken"], hide_output=False)
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 comments on commit 5a45c80

Please sign in to comment.