Readit News logoReadit News
gallexme commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
alexellisuk · 9 days ago
It sounds like you'd be better off self-hosting Jenkins. The other issue with GHA is they cap all runs at 6 hours.

Despite what people say about "maintaining" Jenkins (whatever that means to them personally) - you can set it up in an IaaC way including the jobs. You can migrate/create jobs en masse via its API (I did this about 10 years ago for a large US company converting from what was then called TFS)

gallexme · 9 days ago
I'll likely check out buildbot or just switch to gitlab
gallexme commented on Pricing Changes for GitHub Actions   resources.github.com/acti... · Posted by u/kevin-david
larkost · 10 days ago
GitHub has still been managing the orchestration and monitoring of runs that you run on your own (or other cloud) hardware. They have just decided that they are no longer going to do this for free.

So the question becomes: is $0.002/minute a good price for this. I have never run GitHub Actions, so I am going to assume that experience on other, similar, systems applies.

So if your job takes an hour to build and run though all tests (a bit on the long side, but I have some tests that run for days), then you are going to pay GitHub $.12 for that run. You are probably going to pay significantly more for the compute for running that (especially if you are running on multiple testers simultaneously). So this does not seem to be too bad.

This is probably going to push a lot of people to invest more in parallelizing their workloads, and/or putting them on faster machines in order to reduce the number of minutes they are billed for.

I should note that if you are doing something similar in AWS using SMS (Systems Management Service), that I found that if you are running small jobs on lots of system that the AWS charges can add up very quickly. I had to abandon a monitoring system idea I had for our fleet (~800 systems) because the per-hit cost of just a monitoring ping was $1.84 (I needed a small mount of data from an on-worker process). Running that every 10 minutes was going to be more than $250/day. Writing/running my own monitoring system was much cheaper.

gallexme · 10 days ago
I run about 1 action a day taking 18h running on 2 runners One being self hosted 24gb ram 8 core ARM vps and one being a 64gb 13900k x86 dedicated server

Now the GitHub pricing change definitely? costs more than both servers combined a month ... (They cost about 60$ together )

3 step GitHub action builds around 1200 nix packages and derivations , but produces only around 50 lines of logs total if successful and maybe 200 lines of log once when a failure occurs And I'm supposed to pay 4$ a day for that ? Wonder what kind of actual costs are involved on their side of waiting for a runner to complete and storing 50 lines of log

gallexme commented on Ask HN: How to boost Gemini transcription accuracy for company names?    · Posted by u/bingwu1995
gallexme · 2 months ago
Adding it to the instructions worked well for me with specific terms
gallexme commented on Vaultwarden commit introduces SSO using OpenID Connect   github.com/dani-garcia/va... · Posted by u/speckx
arjvik · 4 months ago
What's your (OSS?) OIDC server of choice?

Authelia? Authentik? Keycloak? (These are the three I see a lot about.) Something else?

gallexme · 4 months ago
Mine is zitadel
gallexme commented on NixOS is a good server OS, except when it isn't   sidhion.com/blog/posts/ni... · Posted by u/IrisBMeredith
tkz1312 · a year ago
gallexme · a year ago
And for cloud/dedicated servers perhaps https://github.com/nix-community/nixos-anywhere

(There's also a terraform module ) And for state changes https://github.com/serokell/deploy-rs Or Colmena /nixops/ and x other

For secret handling perhaps https://github.com/ryantm/agenix/ + https://github.com/oddlama/agenix-rekey

The ecosystem is in my experience very well fleshed out (7 yrs of use), as long as you don't require a knowledgebase/wiki/ up2date documentation, it's not been a issue for me since I could always fall back on Linux knowledge and just looking for how other distributions do x / how the thing itself is configured , and looking at how perhaps a existing nix module wraps that

gallexme commented on Set Up a $4/Mo Hetzner VM to Skip the Serverless Tax   shipixen.com/tutorials/se... · Posted by u/tosh
dawnerd · a year ago
Is Hetzner the same as OVH? OVH has data centers in the same cities.
gallexme · a year ago
Nope different companies But they may colocated in the same date centers Hetzner USA is located inside NTT Global Data Centers Americas, Inc. QTS Investment Properties Hillsboro, LLC
gallexme commented on Set Up a $4/Mo Hetzner VM to Skip the Serverless Tax   shipixen.com/tutorials/se... · Posted by u/tosh
overbytecode · a year ago
Who are comparable providers in your opinion? Hetzner has KYC and needs ID for you to use their services, I’d rather go with a service that didn’t. Any recommendations?
gallexme · a year ago
There some hetzner resellers which accept crypto coins instead

OVH(and subsidiaries like server 4 you,kimsufi) is the pricing a bit higher but comparable (in some regions) But last time I used ovh Hetzner also didn't require Id verification, maybe they changed since then

Ionos also similarly priced didn't need Id last time I used them

gallexme commented on Running NixOS on Proxmox LXC   taoofmac.com/space/blog/2... · Posted by u/rcarmo
gallexme · a year ago
There is now also a project to run proxmox inside of Nixos

https://github.com/SaumonNet/proxmox-nixos

gallexme commented on Oasis – a small, statically-linked Linux system   github.com/oasislinux/oas... · Posted by u/smartmic
IshKebab · 2 years ago
Nix isn't as fine-grained as Bazel as I understand it? I don't think it's incremental within a package, which is presumably what dijit achieved.
gallexme · 2 years ago
Nix can do it incremental U could split it into multiple derivations which get built into one package For rust there ist the excellent https://crane.dev/index.html project

Or you can also go to the extreme and do 1:1 source to derivation mapping So for example if ur project has 100 source files it could be built from 100 derivations, the language/CLI tools are flexible enough for that

https://discourse.nixos.org/t/distributed-nix-build-split-la...https://discourse.nixos.org/t/per-file-derivations-with-c/19...

Don't know tho if there any well working smart nix tools which can make it well working /efficient, in theory it's very possible, just unsure about practicality/overheads

gallexme commented on Building and Privately Caching x86 and Aarch64 NixOS Systems with GitHub Actions   lgug2z.com/articles/build... · Posted by u/bsnnkv
gallexme · 2 years ago
Attic is sooo wonderful, been using it now for about 6 months on b2 as storage , with the deduplication it's freaking cheap, I'm not sure how much is cached right now but I use it for 6 systems + microvms and b2 bucket stats are

Current Files:364,529,711 Current Size:61.2 GB

And atticd itself runs on the free Ampere oracle instance

Is there a command in attic to show details about the cache ?

u/gallexme

KarmaCake day235June 10, 2016View Original