Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

chore: run the code generator#743

Merged
acocuzzo merged 6 commits intomainfrom
run-generator
Jul 26, 2022
Merged

chore: run the code generator#743
acocuzzo merged 6 commits intomainfrom
run-generator

Conversation

@parthea
Copy link
Copy Markdown
Contributor

@parthea parthea commented Jul 24, 2022

This PR is the result of running the code generator using the following commands:

  1. In the root of googleapis, run bazel build //google/pubsub/v1:pubsub-v1-py
  2. In the root of python-pubsub, run
# Copies the generated code to `owl-bot-staging`
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
# Copies the code from `owl-bot-staging` to `google/pubsub*' folder (via owlbot.py)
docker run --user $(id -u):$(id -g) --rm -v $(pwd):/repo -w /repo gcr.io/cloud-devrel-public-resources/owlbot-python:latest

This PR also fixes an issue that was introduced in owlbot.py in PR #732 which prevented the generated code from being moved from the owl-bot-staging folder to the google/pubsub* folder.

@parthea parthea requested a review from a team July 24, 2022 12:24
@parthea parthea requested a review from a team as a code owner July 24, 2022 12:24
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: pubsub Issues related to the googleapis/python-pubsub API. labels Jul 24, 2022
@acocuzzo acocuzzo merged commit b0f0e21 into main Jul 26, 2022
@acocuzzo acocuzzo deleted the run-generator branch July 26, 2022 20:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: pubsub Issues related to the googleapis/python-pubsub API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants