Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build05: init (aarch64-build-box.nix-community.org) #1566

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/community-builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ We provide machines as public builders for the nix community.
build-box.nix-community.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIElIQ54qAy7Dh63rBudYKdbzJHrrbrrMXLYl7Pkmk88H
```

`aarch64-linux`

```
aarch64-build-box.nix-community.org ssh-ed25519 ?
```

`aarch64-darwin`, `x86_64-darwin`

```
Expand Down
8 changes: 8 additions & 0 deletions docs/infrastructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
- RAM: 128GB DDR4 ECC
- Drives: 2 x 960GB NVME

#### `build05` - [`aarch64-build-box.nix-community.org`](./community-builder.md)

- Provider: Hetzner
- Instance type: [RX170](https://www.hetzner.com/dedicated-rootserver/rx170)
- CPU: Ampere Altra Q80-30 80-Core Processor
- RAM: 128GB DDR4 ECC
- Drives: 2 x 960GB NVME

#### `darwin01` - [`darwin-build-box.nix-community.org`](./community-builder.md)

- Provider: OakHost
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
build02.system = "x86_64-linux";
build03.system = "x86_64-linux";
build04.system = "aarch64-linux";
build05.system = "aarch64-linux";
darwin01.system = "aarch64-darwin";
darwin02.system = "aarch64-darwin";
web02.system = "x86_64-linux";
Expand Down
13 changes: 13 additions & 0 deletions hosts/build05/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ inputs, ... }:
{
imports = [
inputs.srvos.nixosModules.hardware-hetzner-online-arm
inputs.self.nixosModules.disko-zfs
inputs.self.nixosModules.builder
inputs.self.nixosModules.community-builder
];

system.stateVersion = "23.11";

systemd.network.networks."10-uplink".networkConfig.Address = "?";
}
4 changes: 4 additions & 0 deletions modules/shared/known-hosts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
hostNames = [ "build04.nix-community.org" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINvzMJfCiVKGfEjCfBZqDD7Kib5y+2zz04YI8XrCZ68O";
};
build05 = {
hostNames = [ "build05.nix-community.org" ];
publicKey = "ssh-ed25519 ?";
};
darwin01 = {
hostNames = [ "darwin01.nix-community.org" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFz8FXSVEdf8FvDMfboxhB5VjSe7y2WgSa09q1L4t099";
Expand Down
1 change: 1 addition & 0 deletions secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ssh_host_ed25519_key:
build02: ENC[AES256_GCM,data:kwc1rs7xbKod7+vV9yDNqAZMmTqencDe6LTMqxihNLuvGny1atjJ/4cf2vnWEyPar4AvqLtawbIexowbpgyzIiJBKskw0voUgUan0TMH7dsjeZtcdnBSsGWDlcBSjq8bK+yfNMWxwaq7FB9eTJkhN41UhQwqXIVpitEJg0LQcz7+BeQnYhCMnMOc+AG78zIZK+lbzAikejFJUV1A0/kmEl9VirBTpGqxhsiPUSCpAq9c3mE16f31YF9bUn9Dr/4gLW42xxbt/+6psDstKlKgfldzC+izCCCfL1qKcKz7RtyLX37O1MkQqLWvC5I5XRt81tKPOgmtjtGSM0iYmx9zy6FKGJlWqHGNb5K+g1NugWuKMzkBQNoWIypS/yHUY9R3eLa6JJM+tfE/Hvw4Q6/4HGBePMauULd/sgTC8D6o+6023a9ZdC6vdwAWzgWzhbG8uN8vjRR9JKy8/tzgz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GCM,data:zDa+TUczDkjxthze,iv:VdYAf5EP6RjRLkWQzWRRlkWiUKSfoFR8f2GTMMTZg3Q=,tag:8CZSA1qxxOBxbPdzqU4NFg==,type:str]
Expand Down
2 changes: 2 additions & 0 deletions secrets/secrets.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ let
build02 = knownHosts.build02.publicKey;
build03 = knownHosts.build03.publicKey;
build04 = knownHosts.build04.publicKey;
build05 = knownHosts.build05.publicKey;
darwin01 = knownHosts.darwin01.publicKey;
darwin02 = knownHosts.darwin02.publicKey;
web02 = knownHosts.web02.publicKey;
Expand All @@ -24,6 +25,7 @@ let
# from `nix-community-buildbot` (user account, not the github app)
community-builder-nix-access-tokens = [
build01
build05
darwin01
];
grafana-client-secret = [ web02 ];
Expand Down
5 changes: 5 additions & 0 deletions terraform/cloudflare_nix-community_org.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ locals {
ipv4 = "65.109.107.32"
ipv6 = "2a01:4f9:3051:3962::2"
}
"build05" = {
ipv4 = "?"
ipv6 = "?"
}
"darwin01" = {
ipv4 = "85.209.53.240"
ipv6 = "2a09:9340:808:630::1"
Expand All @@ -38,6 +42,7 @@ locals {
}

cname = {
"aarch64-build-box" = "build05.nix-community.org"
"build-box" = "build01.nix-community.org"
"buildbot" = "build03.nix-community.org"
"darwin-build-box" = "darwin01.nix-community.org"
Expand Down