!9IQChSjwSHXPPWTa:lix.systems

Lix

1105 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms294 Servers

Load older messages


SenderMessageTime
14 May 2024
@qyriad:katesiria.orgQyriad fear 00:36:36
@qyriad:katesiria.orgQyriad I think I would rather try to convince infinisil of lua 00:36:55
@raitobezarius:matrix.orgraitobezariusBack on the topic of CI and compute: I'd be wary of multiplying too many providers at the same time because it makes it hard to maintain them on the long run, I think, if we can have on-demand compute 24/7 for the four major platforms, that's really comfortable and then we can look into additional compute for special tasks if needed00:37:43
@raitobezarius:matrix.orgraitobezarius(thinking about things like Windows or BSD VMs but that's extremely long term)00:38:09
@samrose:matrix.orgsamroseThis is what it one of the main builds of postgresql looks like on cirrus fwiw https://cirrus-ci.com/github/postgresql-cfbot/postgresql00:40:04
@raitobezarius:matrix.orgraitobezariusI don't see the defn of the CI tasks in the repo00:41:36
@samrose:matrix.orgsamrose
In reply to @raitobezarius:matrix.org
I don't see the defn of the CI tasks in the repo
it looks like they just mirror to github, and run their own git server
00:43:21
@samrose:matrix.orgsamrosehttps://git.postgresql.org/gitweb/00:43:29
@samrose:matrix.orgsamrosealthough some of the cirrus build stuff can be seen at https://github.com/postgres/postgres00:44:08
@samrose:matrix.orgsamrose

this page says https://cirrus-ci.org/guide/linux/

For arm_container instances Cirrus CI uses a EKS cluster of Graviton2 instances running in AWS.

00:44:47
@raitobezarius:matrix.orgraitobezariusOK so container based and it doesn't seem to support dynamic CI targets like we do right now00:46:15
@raitobezarius:matrix.orgraitobezariusEverything has to be spelled in advance00:46:21
@samrose:matrix.orgsamrose raitobezarius: what are the dynamic targets looking like? 00:47:13
@raitobezarius:matrix.orgraitobezariusUnsure if it's worth the trouble compared to just obtaining an Altra Q80 tbh00:47:15
@samrose:matrix.orgsamroseyeah it may not be00:47:23
@raitobezarius:matrix.orgraitobezarius
In reply to @samrose:matrix.org
raitobezarius: what are the dynamic targets looking like?
Just nix-eval-jobs on the flake.nix and generate a task for each hydraJobs
00:47:43
@samrose:matrix.orgsamroseah ok 00:47:58
@samrose:matrix.orgsamroseyou can't do that in a container in any case can you?00:48:22
@raitobezarius:matrix.orgraitobezariusOrthogonal, you can do it in a container, but it doesn't seem like Cirrus has a phase where you tell it "ok spawn me N containers and make them do this and that"00:49:07
@raitobezarius:matrix.orgraitobezariusThus it's necessarily serial inside of that container or you statically list all your targets as you change them00:49:28
@samrose:matrix.orgsamroseI see 00:49:30
@raitobezarius:matrix.orgraitobezariusPlus the container means you go from clean Nix store and you need to redownload stuff00:50:00
@raitobezarius:matrix.orgraitobezariusOr you need to build some hot container, push it to registry and load it in the CI00:50:14
@raitobezarius:matrix.orgraitobezariusWhereas current model share the Nix store and GC it as it go00:50:28
@samrose:matrix.orgsamroseso the optimal way would be to have the actual hardware, and be running nix-eval-jobs and just let nix do it's thing + retain the store basically like the way many people have used hydra in the past00:51:12
@raitobezarius:matrix.orgraitobezariusI'd say so, right now, an improvement would be to go to something like Hydra New Generation00:51:56
@samrose:matrix.orgsamroseit doesn't sound like it would be a lot of fun to maintain building this in containers the way you describe it00:52:00
@raitobezarius:matrix.orgraitobezarius
In reply to @samrose:matrix.org
it doesn't sound like it would be a lot of fun to maintain building this in containers the way you describe it
Hahahahahahaha :-)
00:52:13
@samrose:matrix.orgsamroseI mean, not that I think you are wrong at all00:52:25
@raitobezarius:matrix.orgraitobezariusOh, those are my 2 cents00:52:43

Show newer messages


Back to Room ListRoom Version: 10