Skip to content

Commit 0df3ffa

Browse files
authored
chore: update .OwlBot.yaml template in owlbot bootstrapper container (googleapis#11817)
Fixes googleapis#11816 I followed the steps below to validate the change: 1. Run the commands below in a clone of [googleapis/googleapis](https://github.com/googleapis/googleapis) ``` bazel build //google/maps/fleetengine/v1:maps-fleetengine-v1-py bazel build //google/maps/fleetengine/delivery/v1:maps-fleetengine-delivery-v1-py ``` 2. Check out branch `owlbot-bootstrapper-initial-PR-c0709ba87b50` from PR googleapis#11815 3. Delete `owl-bot-staging` 4. Run the docker container to copy code from the `bazel-bin` directory of `googleapis` ``` docker run --rm --user $(id -u):$(id -g) -v $(pwd):/repo -v $HOME/git/googleapis/bazel-bin:/bazel-bin gcr.io/cloud-devrel-public-resources/owlbot-cli:latest copy-bazel-bin --source-dir /bazel-bin --dest /repo --config-file=/packages/google-maps-fleetengine/.OwlBot.yaml ``` 5. Notice that both `google/maps/fleetengine/v1` and `google/maps/fleetengine/delivery/v1` are copied into owl-bot-staging. We expect only `google/maps/fleetengine/v1` to be copied because `google/maps/fleetengine/delivery/v1` is a separate API. 6. Repeat steps 1-5 with the fix in this PR and only `google/maps/fleetengine/v1` should be copied.
1 parent 11f0c83 commit 0df3ffa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

containers/python-bootstrap-container/.OwlBot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414

1515
deep-copy-regex:
16-
- source: /apiPath/(.*)/.*-py
16+
- source: /apiPath/(v.*)/.*-py
1717
dest: /owl-bot-staging/apiDashes/$1

0 commit comments

Comments
 (0)