You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Buf supports multi-module proto workspaces as documented here https://docs.buf.build/tour/push-workspace-modules ,
please document how to push multiple modules via this GitHub action for a monorepo.
If possible, please improve this action to support pushing multi-module repo with coordinated buf mod update and buf push
The text was updated successfully, but these errors were encountered:
xmlking
changed the title
Document how to use push multiple modules in Buf workspace
Document how to push multiple modules in Buf workspace
Aug 6, 2022
This will largely depend on the modules defined in your workspace. In short, you'll need to push and update each module in the order of a DAG - the upstream modules should be pushed first, so that the downstream modules can update to the latest commit, be pushed themselves, and so on. This is described here.
It's important to note that you should also check in the updated petapis/buf.lock file (from the buf mod update petapis command) so that it's committed back to your repository.
We'd eventually like to bake all this complexity into the buf push command itself - see this issue for details.
Hope we could figure out DAG of dependencies programmatically and automatically push all modules in the order.
Agree , committing the ,lock files is impotent
As Buf supports multi-module proto workspaces as documented here https://docs.buf.build/tour/push-workspace-modules ,
please document how to push multiple modules via this GitHub action for a monorepo.
If possible, please improve this action to support pushing multi-module repo with coordinated
buf mod update
andbuf push
The text was updated successfully, but these errors were encountered: