Commit 0df3ffa
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
0 commit comments