-
Notifications
You must be signed in to change notification settings - Fork 776
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
[Merged by Bors] - Self hosted docker builds #4592
Conversation
I'm going to test this out on the deneb branch #4599 |
Ok looks like it's failing, my guess is due to permissions. I'm gonna give this a shot (looks like there's better support for this type of thing nowadays): https://docs.docker.com/build/ci/github-actions/multi-platform/ |
We must go deeper: docker/setup-qemu-action#67 |
* self hosted docker builds attempted fix * fix env var references in docker builds
This looks promising on the deneb branch following the guidance of the previously linked issue. Here's the action where it's running https://github.com/sigp/lighthouse/actions/runs/5824054179/job/15792273258 One thing to note is that this doesn't currently include |
Obviosly jinxed the last one. Looks like it failed on creation of the multiarch image. From what I can gather, we're using an old way to do this: |
* self hosted docker builds attempted fix * use imagetools instead of docker manifest
This is really cool, but I think we should do the Docker builds on the new release-only runner that @antondlr is working on. I am concerned about using the testing runners for building binaries (or Docker images) that are expected to run in production. I've also experienced the ARM OOMs, generally it works after a few tries. It's a crappy solution I know, but I think we should have the release-only boxes soon! |
the flag was introduced here; tldr: |
agree; I'll try to get some runners up Soon ™️ , iirc box is basically ready and idling |
makes sense!
Since switching to I'll leave this PR open and switch it to the release runner whenever it's ready |
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.
Looks good 👍
It's been working well for Deneb as well (using the dev runners though).
the DinD instance has this buildx builder pre-set as default:
so I think we can skip those 2 steps on self-hosted |
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.
Nice work, looks good to me! Keen to see it in action for v4.5.0!
bors r+ |
## Issue Addressed We're OOM'ing on Docker builds on the Deneb branch #3929 Are we ok to self host automated docker builds? Co-authored-by: realbigsean <[email protected]> Co-authored-by: realbigsean <[email protected]> Co-authored-by: antondlr <[email protected]>
Build failed (retrying...): |
## Issue Addressed We're OOM'ing on Docker builds on the Deneb branch #3929 Are we ok to self host automated docker builds? Co-authored-by: realbigsean <[email protected]> Co-authored-by: realbigsean <[email protected]> Co-authored-by: antondlr <[email protected]>
Build failed (retrying...): |
## Issue Addressed We're OOM'ing on Docker builds on the Deneb branch #3929 Are we ok to self host automated docker builds? Co-authored-by: realbigsean <[email protected]> Co-authored-by: realbigsean <[email protected]> Co-authored-by: antondlr <[email protected]>
bors r- |
Canceled. |
## Issue Addressed We're OOM'ing on Docker builds on the Deneb branch #3929 Are we ok to self host automated docker builds? Co-authored-by: realbigsean <[email protected]> Co-authored-by: realbigsean <[email protected]> Co-authored-by: antondlr <[email protected]>
Build failed (retrying...): |
bors r- |
Canceled. |
bors r+ |
## Issue Addressed We're OOM'ing on Docker builds on the Deneb branch #3929 Are we ok to self host automated docker builds? Co-authored-by: realbigsean <[email protected]> Co-authored-by: realbigsean <[email protected]> Co-authored-by: antondlr <[email protected]>
Build failed (retrying...): |
## Issue Addressed We're OOM'ing on Docker builds on the Deneb branch #3929 Are we ok to self host automated docker builds? Co-authored-by: realbigsean <[email protected]> Co-authored-by: realbigsean <[email protected]> Co-authored-by: antondlr <[email protected]>
Pull request successfully merged into unstable. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page.
|
## Issue Addressed Related to #4676. Deneb-specifc CI code to be removed before merging to `unstable`. Dot not merge until we're ready to merge into `unstable`, as we may need to release deneb docker images before merging. Keep in mind that most of the changes in the below PR (to `unstable`) have already been merged to `deneb-free-blobs`, so merging `deneb-free-blobs` into `unstable` would include those changes - it would be ok if the release runners are ready, otherwise we may want to exclude them before merging. - #4592
## Issue Addressed Related to sigp#4676. Deneb-specifc CI code to be removed before merging to `unstable`. Dot not merge until we're ready to merge into `unstable`, as we may need to release deneb docker images before merging. Keep in mind that most of the changes in the below PR (to `unstable`) have already been merged to `deneb-free-blobs`, so merging `deneb-free-blobs` into `unstable` would include those changes - it would be ok if the release runners are ready, otherwise we may want to exclude them before merging. - sigp#4592
## Issue Addressed We're OOM'ing on Docker builds on the Deneb branch sigp#3929 Are we ok to self host automated docker builds? Co-authored-by: realbigsean <[email protected]> Co-authored-by: realbigsean <[email protected]> Co-authored-by: antondlr <[email protected]>
## Issue Addressed We're OOM'ing on Docker builds on the Deneb branch sigp#3929 Are we ok to self host automated docker builds? Co-authored-by: realbigsean <[email protected]> Co-authored-by: realbigsean <[email protected]> Co-authored-by: antondlr <[email protected]>
Issue Addressed
We're OOM'ing on Docker builds on the Deneb branch #3929
Are we ok to self host automated docker builds?