Conversation
|
Triggered a couple of runs. The method I'm using for testing currently only works on the repos default branch so I've pushed this commit to master in my fork of this repo. https://buildbot.nix-community.org/#/builders/6570/builds/7, https://buildbot.nix-community.org/#/builders/6570/builds/9 |
danth
left a comment
There was a problem hiding this comment.
A few minor suggestions, but otherwise looks good to go :))
MattSturgeon
left a comment
There was a problem hiding this comment.
SGTM. Should this PR also be responsible for removing the relevant github workflows?
trueNAHO
left a comment
There was a problem hiding this comment.
Should this PR also be responsible for removing the relevant github workflows?
Ideally not to prevent temporary CI outage during the manual buildbot migration. This should be done in a follow-up PR when buildbot is fully ready. I would also like #1978 to be merged before removal for future reference and in case we ever move back to GitHub.
6f217b9 to
36b8be1
Compare
|
do we want to maintain the ci.buildbot = lib.pipe config.packages [
(lib.mapAttrs' (
name: drv:
if lib.hasPrefix "testbed:" name then
let
# name is formatted as `testbed:target:variant` e.g. `testbed:alacritty:dark`
splitName = lib.splitString ":" name;
target = builtins.elemAt splitName 1;
variant = builtins.elemAt splitName 2;
in
lib.nameValuePair "testbeds-${target}" { ${variant} = drv; }
else
lib.nameValuePair "stylix-packages" { ${name} = drv; }
))
(lib.mapAttrs pkgs.linkFarm)
]; |
8f051bd to
017c193
Compare
Good question, although slightly orthogonal to this PR. I think if testbeds are already easily runnable, and aren't too relevant to local development (or at least, building all of them isn't too relevant), then dropping them from the |
Speaking of which I think it makes most sense to add buildbot support in this pr and remove building testbeds with gh actions in a follow up once we've confirmed everything is working. That still leaves the question of building packages aside from testbeds with buildbot, which I'm in favor of. |
a564a56 to
923e93b
Compare
danth
left a comment
There was a problem hiding this comment.
LGTM - We should continue to add more packages to BuildBot and eventually remove the GitHub Actions workflows after this has been merged.
trueNAHO
left a comment
There was a problem hiding this comment.
LGTM after resolving the #1985 (comment) nitpick.
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
I disagree, running pre-commit and our other checks on github will yield much quicker results and be a better user experience and we don't really gain anything from putting them on buildbot. |
Does buildbot take much longer to start, or why would GitHub be faster? If buildbot shows the same error logs as GitHub, I would prefer moving off GitHub because its UI downloads 10--20 MB and renders extremely slowly. Unsure whether buildbot has the same problem, but I doubt it gets much worse than GitHub UI. |
|
To me, it makes sense to put everything on one platform just to simplify the configuration. |
github actions would be much faster to show status iiuc, nixvim moved their formatting back from builtbot to gh actions for this reason. |
currently our check workflow takes a long time to show status, but this only due to building testbeds. it should report the status of the checks in a few minutes once the testbeds are removed. |
so when testing locally even after removing |
So the only way to skip evaluating testbeds in |
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk> Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Approved-by: Matt Sturgeon <matt@sturgeon.me.uk> Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Approved-by: Daniel Thwaites <danth@danth.me>
|
Looks like this needs to be backported to the stable branch as the checks there aren't grouped and buildbot kind of chokes on it. |
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk> Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Approved-by: Matt Sturgeon <matt@sturgeon.me.uk> Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Approved-by: Daniel Thwaites <danth@danth.me> (cherry picked from commit adc6506)
|
Successfully created backport PR for |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-25.11
git worktree add -d .worktree/backport-1985-to-release-25.11 origin/release-25.11
cd .worktree/backport-1985-to-release-25.11
git switch --create backport-1985-to-release-25.11
git cherry-pick -x adc650610085adbe130b9860d5bdb869f96050af |
1 similar comment
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-25.11
git worktree add -d .worktree/backport-1985-to-release-25.11 origin/release-25.11
cd .worktree/backport-1985-to-release-25.11
git switch --create backport-1985-to-release-25.11
git cherry-pick -x adc650610085adbe130b9860d5bdb869f96050af |
Would buildbot even work without this being backported? The release-25.11 already has this patch, and release-25.05 will after #2050. |
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk> Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Approved-by: Matt Sturgeon <matt@sturgeon.me.uk> Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Approved-by: Daniel Thwaites <danth@danth.me> (cherry picked from commit adc6506)
Not well... Buildbot-nix will run on all your non-fork branches, Merge Queue groups, and PR branches. This PR allows it to run efficiently, without queuing up a rediculous number of build jobs per-push. Without the |
cc @trueNAHO @danth @zowoq
related: nix-community/infra#2027
inspired by nix-community/nixvim#3410