From 153dcbfc6996290169e12321110798465572f1c1 Mon Sep 17 00:00:00 2001 From: Jeffrey Rennie Date: Thu, 20 May 2021 13:04:33 -0700 Subject: [PATCH] chore: migrate to owl bot (#455) * chore: migrate to owl bot * chore: copy files from googleapis-gen 397c0bfd367a2427104f988d5329bc117caafd95 * chore: run the post processor --- .../google-cloud-dns/.github/.OwlBot.yaml | 19 +++++++++++++++++++ packages/google-cloud-dns/synth.metadata | 18 ------------------ packages/google-cloud-dns/synth.py | 14 -------------- 3 files changed, 19 insertions(+), 32 deletions(-) create mode 100644 packages/google-cloud-dns/.github/.OwlBot.yaml delete mode 100644 packages/google-cloud-dns/synth.metadata delete mode 100644 packages/google-cloud-dns/synth.py diff --git a/packages/google-cloud-dns/.github/.OwlBot.yaml b/packages/google-cloud-dns/.github/.OwlBot.yaml new file mode 100644 index 00000000000..3a281cc95b7 --- /dev/null +++ b/packages/google-cloud-dns/.github/.OwlBot.yaml @@ -0,0 +1,19 @@ +# 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. +docker: + image: gcr.io/repo-automation-bots/owlbot-nodejs:latest + + +begin-after-commit-hash: 397c0bfd367a2427104f988d5329bc117caafd95 + diff --git a/packages/google-cloud-dns/synth.metadata b/packages/google-cloud-dns/synth.metadata deleted file mode 100644 index 557f6c6e429..00000000000 --- a/packages/google-cloud-dns/synth.metadata +++ /dev/null @@ -1,18 +0,0 @@ -{ - "sources": [ - { - "git": { - "name": ".", - "remote": "https://github.com/googleapis/nodejs-dns.git", - "sha": "44d512b7e00fce48577204e235b017644555e2d0" - } - }, - { - "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6" - } - } - ] -} \ No newline at end of file diff --git a/packages/google-cloud-dns/synth.py b/packages/google-cloud-dns/synth.py deleted file mode 100644 index a8df6ed1462..00000000000 --- a/packages/google-cloud-dns/synth.py +++ /dev/null @@ -1,14 +0,0 @@ -import synthtool as s -import synthtool.gcp as gcp -import synthtool.languages.node as node -import logging - -logging.basicConfig(level=logging.DEBUG) - -AUTOSYNTH_MULTIPLE_COMMITS = True - -common_templates = gcp.CommonTemplates() -templates = common_templates.node_library(source_location='build/src') -s.copy(templates) -node.install() -node.fix()