-
Notifications
You must be signed in to change notification settings - Fork 8
Make docker builder optional, and simplify local test step #619
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
Conversation
133854c
to
446aa17
Compare
b209f31
to
f1e1fc4
Compare
…f accessing shell ENV in action
0c8578d
to
4ff0ee3
Compare
…st has different env (libc, etc.)
…ted if this remote build path is messed up
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.
What are these changes for?
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.
oh I just realized that each task in the previous version of CI does not skip installing the rust toolchain even if it's based on build-verus
. Is that the problem?
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.
Yes, I cached Rust toolchain together with Verus, then it's unnecessary.
I don't understand why you name it as "Deprecate docker builder...". I think you are still using the docker builder, no? Please correct me if my understanding is wrong. |
Yes I forgot to update the title...it's now completed |
This PR makes test workflow easier to run locally.
Changes:
local-test.sh
with support for local buildsbuild.md
The reason I want to deprecate the docker builder is
vargo
does not reuse cache and include some changes in built binary each run (even with identical source), and that causes docker to build a new image from start, which requires a new builder image. The problem is worse with vdeployment controller, which depends on vreplicaset controller, and result in 4 fresh-built docker images ((vd+vrs) * (builder+controller)
) per run locally. This quickly eats up my disk and time and I have to rundocker prune
every time. For cases where builder is required (different runtime environment between host and controller base image), builder can still be used. Detailed usage is inbuild.md
.