-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup: reuses proto container #9192
Conversation
Makefile
Outdated
@@ -369,31 +369,41 @@ devdoc-update: | |||
### Protobuf ### | |||
############################################################################### | |||
|
|||
containerProtoVer=latest # v0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before merging we need to tag a new release for the container, because swagger-gen only works with latest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should be able to modify the github action to push once with a tag, then you revert it prior to merging this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that was hack. Can we have a human maintainer for the docker hub?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea, many people have it. But why not just use the bot? It helps with avoiding the permission hell that arises
@mergify backport |
Command
Hey, I reacted but my real name is @Mergifyio |
Command
|
@Mergifyio backport release/v0.42.x |
* setup: reuses proto container * push docker image * set image name * revert and use latest Co-authored-by: marbar3778 <marbar3778@yahoo.com> Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com> (cherry picked from commit 71b7fb8) # Conflicts: # Makefile
Command
|
Description
Currently, in makefile we recreate container in every docker call. This is more time an energy (cpu / storage / net) consuming (eg, on every call we need to redownload all package dependencies and setup the environment inside a container). Instead, in this PR I propose to reuse the containers.
closes: #8023
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes