-
Notifications
You must be signed in to change notification settings - Fork 128
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
#189
Conversation
c29a1b2
to
2126a7d
Compare
3a08038
to
e7b462e
Compare
e7b462e
to
1972b26
Compare
3aa4f15
to
a853710
Compare
9d1fc5e
to
3296695
Compare
Since cirruslabs/cirrus-ci-docs#681 already get fixed, the static binary build phase should now speeding up, with a shared logic with containers/buildah#2428 and containers/podman#7076. BTW, seems most CI test cases for conmon are now failing at the beginning, CI related to this PR couldn't be triggered... |
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]>
7b59ce4
to
9fe2abb
Compare
e8d5abb
to
903e127
Compare
903e127
to
6d8ebcd
Compare
2533: Update nix pin with `make nixpkgs` 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 > /kind feature #### What this PR does / why we need it: Update nix pin with `make nixpkgs` Also sync nix `packageOverrides` across skopeo/buildah/podman/cri-o for utilizing local build cache, see - containers/crun#450 - containers/conmon#189 - containers/skopeo#973 - #2533 - containers/podman#7286 - cri-o/cri-o#4065 #### 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 Update nix pin with `make `nixpkgs` ``` Co-authored-by: Wong Hoi Sing Edison <[email protected]>
@saschagrunert could we give a merge for this? |
/retest |
I think we should somehow revive the CI first :D |
😅 I will try to work with @cevich this week |
ci is (mostly) fixed, please rebase! |
6d8ebcd
to
360b541
Compare
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
360b541
to
e3a7258
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
Also see:
--disable-systemd
for CentOS/RHEL 7 crun#428/nix
folder #189buildGoModule
skopeo#973buildGoModule
buildah#2428/nix
folder podman#7076/nix
folder cri-o/cri-o#4012Signed-off-by: Wong Hoi Sing Edison [email protected]