Skip to content

Commit bb861b3

Browse files
authored
build: OwlBot configuration fix for monorepo (#1167)
* build: OwlBot configuration fix for monorepo * adding OwlBot config for the repository * removing unnecessary line
1 parent c7a1395 commit bb861b3

File tree

4 files changed

+42
-13
lines changed

4 files changed

+42
-13
lines changed

.github/.OwlBot.lock.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2022 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
docker:
15+
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
16+
digest: sha256:a57d2ea6d1a77aa96c17ad0850b779ec6295f88b6c1da3d214b2095d140a2066
17+
# created: 2022-11-16T00:00:00.000000000Z

.github/.OwlBot.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright 2022 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
docker:
16+
image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest"

java-common-protos/.OwlBot.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515

1616
deep-remove-regex:
17-
- "/grpc-google-.*/src"
18-
- "/proto-google-.*/src"
19-
- "/google-.*/src"
17+
- "/java-common-protos/grpc-google-.*/src"
18+
- "/java-common-protos/proto-google-.*/src"
19+
- "/java-common-protos/google-.*/src"
2020

2121
deep-preserve-regex:
22-
- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
22+
- "/java-common-protos/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
2323

2424
deep-copy-regex:
2525
- source: "/google/api/google-api-java/proto-google-api-java/src"

java-iam/.OwlBot.yaml

+5-9
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@
1414

1515

1616
deep-remove-regex:
17-
- "/grpc-google-.*/src"
18-
- "/proto-google-.*/src"
17+
- "/java-iam/grpc-google-.*/src"
18+
- "/java-iam/proto-google-.*/src"
1919

2020
deep-preserve-regex:
21-
- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
22-
- "/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging"
23-
- "/proto-google-iam-v1/src/main/proto/google/iam/v1"
21+
- "/java-iam/proto-google-iam-v1/src/main/java/com/google/iam/v1/logging"
22+
- "/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1"
2423

2524
deep-copy-regex:
2625
- source: "/google/iam/v1/google-iam-v1-java/grpc-google-iam-v1-java/src"
@@ -31,12 +30,9 @@ deep-copy-regex:
3130
dest: "/owl-bot-staging/java-iam/v2beta/grpc-google-iam-v2beta/src"
3231
- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/proto-google-cloud-iam-v2beta-java/src"
3332
dest: "/owl-bot-staging/java-iam/v2beta/proto-google-iam-v2beta/src"
34-
- source: "/google/iam/v2beta/google-cloud-iam-v2beta-java/gapic-google-cloud-iam-v2beta-java/src"
35-
dest: "/owl-bot-staging/java-iam/v2beta/google-iam-policy/src"
3633
- source: "/google/iam/v2/google-cloud-iam-v2-java/grpc-google-cloud-iam-v2-java/src"
3734
dest: "/owl-bot-staging/java-iam/v2/grpc-google-iam-v2/src"
3835
- source: "/google/iam/v2/google-cloud-iam-v2-java/proto-google-cloud-iam-v2-java/src"
3936
dest: "/owl-bot-staging/java-iam/v2/proto-google-iam-v2/src"
40-
- source: "/google/iam/v2/google-cloud-iam-v2-java/gapic-google-cloud-iam-v2-java/src"
41-
dest: "/owl-bot-staging/java-iam/v2/google-iam-policy/src"
37+
4238
api-name: iam

0 commit comments

Comments
 (0)