Commit 17fd214
authored
build: update .OwlBot.yaml for google-cloud-org-policy (#13516)
This PR fixes an issue in the `.OwlBot.yaml` for
`google-cloud-org-policy` where there is an erroneous folder `$2` in
`/owl-bot-staging/google-cloud-org-policy/google/cloud/orgpolicy/v1`
To reproduce the issue run the following commands in a clone of
https://github.com/googleapis/googleapis
```
bazelisk build //google/cloud/orgpolicy/v1:orgpolicy-v1-py
bazelisk build //google/cloud/orgpolicy/v2:orgpolicy-v2-py
```
Then in this repository run the following command to copy code from
`bazel-bin`
```
docker run --rm --user $(id -u):$(id -g) -v $(pwd):/repo -v <path to your 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-cloud-org-policy/.OwlBot.yaml
```
and then run the post processor with
```
docker run --user $(id -u):$(id -g) --rm -v $(pwd):/repo -w /repo gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest
```
Repeat the steps again with the updated `.OwlBot.yaml` file and see that
the erroneous folder `$2` is no longer present1 parent 908d742 commit 17fd214
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments