From 990ec58f956eb46daaed6bdcd403621de99caeb1 Mon Sep 17 00:00:00 2001 From: Deepankar Dixit <90280028+ddixit14@users.noreply.github.com> Date: Thu, 23 Mar 2023 13:53:59 -0400 Subject: [PATCH] chore: Disabling owlbot (#446) --- .github/.OwlBot.lock.yaml | 16 ---------------- .github/.OwlBot.yaml | 32 -------------------------------- owlbot.py | 26 -------------------------- 3 files changed, 74 deletions(-) delete mode 100644 .github/.OwlBot.lock.yaml delete mode 100644 .github/.OwlBot.yaml delete mode 100644 owlbot.py diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml deleted file mode 100644 index 676aaea..0000000 --- a/.github/.OwlBot.lock.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2022 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/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a3fe0b4c75f322520f548e535ed329df1e475ace3cb4a979b78e003cb822636a diff --git a/.github/.OwlBot.yaml b/.github/.OwlBot.yaml deleted file mode 100644 index fe4ac6e..0000000 --- a/.github/.OwlBot.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# 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/cloud-devrel-public-resources/owlbot-java:latest" - -deep-remove-regex: -- "/proto-google-.*/src" - -deep-preserve-regex: -- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - -deep-copy-regex: -- source: "/google/identity/accesscontextmanager/(v\\d)/.*-java/proto-google-.*/src" - dest: "/owl-bot-staging/$1/proto-google-identity-accesscontextmanager-$1/src" -- source: "/google/identity/accesscontextmanager/(v\\d)/.*-java/grpc-google-.*/src" - dest: "/owl-bot-staging/$1/grpc-google-identity-accesscontextmanager-$1/src" -- source: "/google/identity/accesscontextmanager/(v\\d)/.*-java/gapic-google-.*/src" - dest: "/owl-bot-staging/$1/google-identity-accesscontextmanager/src" -- source: "/google/identity/accesscontextmanager/type/.*-java/proto-google-.*/src" - dest: "/owl-bot-staging/type/proto-google-identity-accesscontextmanager-type/src" diff --git a/owlbot.py b/owlbot.py deleted file mode 100644 index a51e9dd..0000000 --- a/owlbot.py +++ /dev/null @@ -1,26 +0,0 @@ -# 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 -# -# https://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. - -import synthtool as s -from synthtool.languages import java - - -for library in s.get_staging_dirs(): - # put any special-case replacements here - s.move(library) - -s.remove_staging_dirs() -java.common_templates( - excludes=["README.md", "samples/*", ".github/workflows/samples.yaml"] -)