Skip to content

Commit

Permalink
build: add owlbot config (googleapis#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Apr 6, 2021
1 parent 61a6fc3 commit 144b956
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
3 changes: 3 additions & 0 deletions java-resourcemanager/.github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker:
digest: sha256:d63f88abaa7cefc60021d1a86b6a2fb7c02948f8d6448142df4e3012a52308a2
image: gcr.io/repo-automation-bots/owlbot-java:latest
29 changes: 29 additions & 0 deletions java-resourcemanager/.github/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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-java:latest"

deep-remove-regex:
- "/grpc-google-.*/src"
- "/proto-google-.*/src"
- "/google-.*/src"

deep-copy-regex:
- source: "/google/cloud/resourcemanager/(v.*)/.*-java/proto-google-.*/src"
dest: "/proto-google-cloud-resourcemanager-$1/src"
- source: "/google/cloud/resourcemanager/(v.*)/.*-java/grpc-google-.*/src"
dest: "/grpc-google-cloud-resourcemanager-$1/src"
- source: "/google/cloud/resourcemanager/v.*/.*-java/gapic-google-.*/src"
dest: "/google-cloud-resourcemanager/src"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
Expand Down
2 changes: 1 addition & 1 deletion java-resourcemanager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>

0 comments on commit 144b956

Please sign in to comment.