-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Speedup static build by utilizing CI cache on /nix
folder
#7076
Speedup static build by utilizing CI cache on /nix
folder
#7076
Conversation
7dc4bbe
to
d80e994
Compare
LGTM |
d80e994
to
76eefdd
Compare
@rhafer @saschagrunert I am checking why the reuse of cache result as "Cache miss", but reupload of cache result as "Already uploaded", see cirruslabs/cirrus-ci-docs#681 |
76eefdd
to
3a00f56
Compare
Hm yeah it seems not working at all 🤔 |
48253fa
to
7ddd608
Compare
@rhatdan @saschagrunert as cirruslabs/cirrus-ci-docs#681 get fixed now static binary build phase reduce from ~40mins to ~4mins (https://cirrus-ci.com/task/5522320095707136), by caching and reuse previous dependency build result ;-) |
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.
LGTM
2428: Build static binary with `buildGoModule` r=rhatdan a=hswong3i <!-- Thanks for sending a pull request! Please make sure you've read and understood our contributing guidelines (https://github.com/containers/buildah/blob/master/CONTRIBUTING.md) as well as ensuring that all your commits are signed with `git commit -s`. --> #### What type of PR is this? <!-- Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request. Uncomment only one `/kind <>` line, hit enter to put that in a new line, and remove leading whitespace from that line: --> > /kind cleanup #### What this PR does / why we need it: [nix] Build Static Binary with `buildGoModule` Switch from nix `channel:nixpkgs-unstable` to `channel:nixos-20.03` for better stability. Also see: - containers/crun#428 - containers/conmon#189 - containers/skopeo#973 - #2428 - containers/podman#7076 - cri-o/cri-o#4012 #### How to verify it #### Which issue(s) this PR fixes: <!-- Automatically closes linked issue when PR is merged. Uncomment the following comment block and include the issue number or None on one line. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`, or `None`. --> <!-- Fixes # or None --> #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? <!-- If no, just write `None` in the release-note block below. If yes, a release note is required: Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required". For more information on release notes please follow the kubernetes model: https://git.k8s.io/community/contributors/guide/release-notes.md --> ```release-note Build static binary with `buildGoModule` ``` Co-authored-by: Wong Hoi Sing Edison <[email protected]>
2428: Build static binary with `buildGoModule` r=rhatdan a=hswong3i <!-- Thanks for sending a pull request! Please make sure you've read and understood our contributing guidelines (https://github.com/containers/buildah/blob/master/CONTRIBUTING.md) as well as ensuring that all your commits are signed with `git commit -s`. --> #### What type of PR is this? <!-- Please label this pull request according to what type of issue you are addressing, especially if this is a release targeted pull request. Uncomment only one `/kind <>` line, hit enter to put that in a new line, and remove leading whitespace from that line: --> > /kind cleanup #### What this PR does / why we need it: [nix] Build Static Binary with `buildGoModule` Switch from nix `channel:nixpkgs-unstable` to `channel:nixos-20.03` for better stability. Also see: - containers/crun#428 - containers/conmon#189 - containers/skopeo#973 - #2428 - containers/podman#7076 - cri-o/cri-o#4012 #### How to verify it #### Which issue(s) this PR fixes: <!-- Automatically closes linked issue when PR is merged. Uncomment the following comment block and include the issue number or None on one line. Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`, or `None`. --> <!-- Fixes # or None --> #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? <!-- If no, just write `None` in the release-note block below. If yes, a release note is required: Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required". For more information on release notes please follow the kubernetes model: https://git.k8s.io/community/contributors/guide/release-notes.md --> ```release-note Build static binary with `buildGoModule` ``` Co-authored-by: Wong Hoi Sing Edison <[email protected]>
7ddd608
to
ada0605
Compare
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
ada0605
to
daaccf8
Compare
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.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hswong3i, mheon, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Also see:
--disable-systemd
for CentOS/RHEL 7 crun#428/nix
folder conmon#189buildGoModule
skopeo#973buildGoModule
buildah#2428/nix
folder #7076/nix
folder cri-o/cri-o#4012Signed-off-by: Wong Hoi Sing Edison [email protected]