Skip to content

Conversation

@cbuto
Copy link
Contributor

@cbuto cbuto commented Feb 4, 2022

Related to #539. I tested this locally as much as possible using act with some of the build steps commented out.

This commit moves the building of the chartmuseum binaries out of the Docker image and uses make build-cross early on in the job to build all the binaries. Then the Docker image will copy in the proper binary based on the TARGETARCH build arg.

Building the images is now super quick, although some of that time was moved to the make build-cross step. However, now we only have to download go modules once instead of N number of times (where N = number of architectures).

I also combined the build and push steps since it seemed like an innocent change (like @jdolitsky mentioned in the issue) 🤞.

@cbuto cbuto requested review from jdolitsky and scbizu February 4, 2022 20:19
@cbuto cbuto self-assigned this Feb 4, 2022
@helm-bot helm-bot added the size/M label Feb 4, 2022
…d up builds

Signed-off-by: Casey Buto <cbuto@d2iq.com>
Copy link
Contributor

@jdolitsky jdolitsky left a comment

Choose a reason for hiding this comment

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

Lets throw it against CI and see what happens here :)

main should produce canary image(s) so we can test them out

@jdolitsky jdolitsky merged commit 6fbfc6e into helm:main Feb 4, 2022
@jdolitsky jdolitsky added this to the v0.14.1 milestone Feb 4, 2022
nerdeveloper pushed a commit to nerdeveloper/chartmuseum that referenced this pull request Feb 10, 2022
…d up builds (helm#544)

Signed-off-by: Casey Buto <cbuto@d2iq.com>
Signed-off-by: nerdeveloper <odirionye@gmail.com>
nerdeveloper pushed a commit to nerdeveloper/chartmuseum that referenced this pull request Feb 10, 2022
…d up builds (helm#544)

Signed-off-by: Casey Buto <cbuto@d2iq.com>
Signed-off-by: nerdeveloper <odirionye@gmail.com>
@cbuto cbuto modified the milestones: v0.14.1, v0.15.0 Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants