Skip to content

chore: configure owl-bot#10680

Merged
parthea merged 4 commits into
mainfrom
setup-owlbot
Oct 26, 2022
Merged

chore: configure owl-bot#10680
parthea merged 4 commits into
mainfrom
setup-owlbot

Conversation

@parthea

@parthea parthea commented Oct 25, 2022

Copy link
Copy Markdown
Contributor

This PR configures owlbot so it can run automatically.

You can check the SHA of the latest image for gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest by running the following commands

partheniou@partheniou-vm-2:~/git/synthtool$ docker pull gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest
latest: Pulling from cloud-devrel-public-resources/owlbot-python-mono-repo
Digest: sha256:0d997121b156160c77909cb31910a4f46745964181e13ffc8724a2f249038974
Status: Image is up to date for gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest
gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest

Then

partheniou@partheniou-vm-2:~/git/synthtool$ docker inspect --format='{{.RepoDigests}}' gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo:latest
[gcr.io/cloud-devrel-public-resources/owlbot-python-mono-repo@sha256:0d997121b156160c77909cb31910a4f46745964181e13ffc8724a2f249038974]

to get the SHA 0d997121b156160c77909cb31910a4f46745964181e13ffc8724a2f249038974

See https://github.com/googleapis/repo-automation-bots/tree/main/packages/owl-bot#how-it-works for more information about the configuration files. Specifically, the container defined in .github/OwlBot.yaml is used by the update-pr yaml file here. In addition, the .github/OwlBot.lock.yaml file tells owl bot which post processor image to run.

@parthea parthea marked this pull request as ready for review October 26, 2022 16:21
@parthea parthea requested a review from a team October 26, 2022 16:21

@vchudnov-g vchudnov-g left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do the two files work together? In particular, I notice both of them reference the same image, but only one of them has the digest. If you could link to documentation on that (preferably in the PR description) that would be great.

@parthea

parthea commented Oct 26, 2022

Copy link
Copy Markdown
Contributor Author

Done

@parthea parthea merged commit 9c6bc37 into main Oct 26, 2022
@parthea parthea deleted the setup-owlbot branch October 26, 2022 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants