Post AZ2bM5KghtdB2dPt68 by hannibal_ad_portas@linuxrocks.online
(DIR) More posts by hannibal_ad_portas@linuxrocks.online
(DIR) Post #AZ2LNqcGnKrOiCSWEy by icedquinn@blob.cat
2023-08-23T22:55:18.946240Z
0 likes, 0 repeats
cursedusing ninja to orchestrate jobs across a network :cirno_for_reals:
(DIR) Post #AZ2LS6Pe0RcorUaADI by hannibal_ad_portas@linuxrocks.online
2023-08-23T22:56:05Z
0 likes, 0 repeats
@icedquinn but I’ll be sooooo much faster than using make
(DIR) Post #AZ2LWI1WmKp01zIZii by icedquinn@blob.cat
2023-08-23T22:56:51.810768Z
0 likes, 0 repeats
@hannibal_ad_portas using makefiles would also be cursed.
(DIR) Post #AZ2LjADV7EYZaD2PAm by icedquinn@blob.cat
2023-08-23T22:59:10.823985Z
0 likes, 0 repeats
@hannibal_ad_portas i shitpost about ninja but i was thinking about it in context of updating packages. also in the context that some CIs like Laminar work around a simple cli app, so between token files and launchers you actually can do some cursed shit like 'i touched the mysql token, now all the servers that depended on that are getting configs run on them':blobcatwaitwhat: i'm not sure if this is big brain or big dumb
(DIR) Post #AZ2bM5KghtdB2dPt68 by hannibal_ad_portas@linuxrocks.online
2023-08-24T01:54:18Z
0 likes, 0 repeats
@icedquinn I’d rather use ansible for that. Seems saner just to have your ci run a playbook.With the ninja/make solution you’d have to make sure all the action are idempotent yourself
(DIR) Post #AZ2bWfzpFQJxeBi0IK by icedquinn@blob.cat
2023-08-24T01:56:12.608613Z
0 likes, 0 repeats
@hannibal_ad_portas playbooks easily become non-idempotent. and they don't handle dependencies. (i say this as someone who would install salt if i had a genuine need for it)bsd port tree does use make to deal with dependency updates in whole build trees, by using touch files to track if those things are installed or out of date.
(DIR) Post #AZ2bxrHpNWv0Ty5fn6 by hannibal_ad_portas@linuxrocks.online
2023-08-24T02:01:07Z
0 likes, 0 repeats
@icedquinn I haven’t messed much with salt, and I’m getting flashbacks to dealing with 300+ makefiles in a project a work.I don’t know how the bsd’s handle containers but at least on Linux using make to build your docker images is the wrong way.Sure you could use sentinel files but then someone looks at a different project and does a docker system prune and make doesn’t care
(DIR) Post #AZ2cCbau0LG89o2oPw by icedquinn@blob.cat
2023-08-24T02:03:47.293232Z
0 likes, 0 repeats
@hannibal_ad_portas some insane persons have made oci containers with redo. i think they used buildah, touch files, and wrapped the creation of each layer that way.what i'm saying is i would use something marginally sane, but for a thought experiment how far can we run the network without being sane :blobcatgoogly: