!zghijEASpYQWYFzriI:nixos.org

Hydra

385 Members
110 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Jan 2024
@hacker1024:matrix.orghacker1024Another unrelated question: We currently have an x86_64 AWS EC2 instance running Hydra and performing local builds, using an S3 store. We want to use the Oracle Cloud free tier for remote ARM builds as well, but network costs to and from the EC2 instance are expensive. Is there a way to get Nix to use the S3 store to send things to and get things from the remote builder? I believe it normally uses SSH. S3 is much cheaper than generic Internet traffic.04:21:03
11 Jan 2024
@jackdk:matrix.orgjackdk

Try turning on the nix option builders-use-substitutes and add the S3 cache as a substituter on your ARM machine?

Also be sure to use hydra's store_uri parameter and not a nix post-build-hook to copy built derivations back to S3, otherwise you won't get remote-built derivations into your cache.

Also also, in case it helps: AWS are still running their free tier for graviton t4.small instances: https://aws.amazon.com/ec2/faqs/#t4g-instances

11:01:21
@andar1an:matrix.org@andar1an:matrix.org left the room.11:44:19
12 Jan 2024
@hacker1024:matrix.orghacker1024Thanks! This looks good. Unfortunately t4g.small has too little RAM for us, we're on t4g.medium :(. I haven't tried using swap though, that's probably worth looking into.00:12:07
16 Jan 2024
@hacker1024:matrix.orghacker1024image.png
Download image.png
22:50:19
@hacker1024:matrix.orghacker1024 I'm getting AWS authentication errors when trying to download build products. What process does the failing code run under? I've made the AWS credentials available to hydra-evaluator, hydra-queue-runner, hydra-server and hydra-notify already, but that doesn't seem to help. 22:51:36
@hacker1024:matrix.orghacker1024 Ah, turns out hydra-server was right, but the hydra-www user couldn't access the credential file. 23:05:28
@samueldr:matrix.orgsamueldrquick question: is there a way to cancel all builds from an eval, without having a new eval to "cancel non-current builds"?23:26:16
@samueldr:matrix.orgsamueldr* quick question: is there a way to cancel all builds from an eval, without having a new eval to "cancel queued non-current builds"?23:26:22
@samueldr:matrix.orgsamueldr[though the eval apparently just finished, so I don't need it anymore]23:30:24
17 Jan 2024
@janne.hess:helsinki-systems.dedas_jimage.png
Download image.png
08:16:11
@janne.hess:helsinki-systems.dedas_jclose enough, it will kill all queued ones but not the running ones08:16:28
@delta231:matrix.orgSwastik Baranwal set a profile picture.21:23:42

Show newer messages


Back to Room ListRoom Version: 6