Server infrastructure for the clan project
Go to file
Clan Merge Bot fb49705f3a
Some checks failed
buildbot/nix-build .#checks.aarch64-linux Build done.
buildbot/nix-eval Build done.
buildbot/nix-build .#checks.x86_64-linux Build done.
update flake lock - 2024-05-27T00:00+00:00
Flake lock file updates:

• Updated input 'buildbot-nix':
    'github:Mic92/buildbot-nix/22885edd30aa5c1be2998213996596fe2536c7ea' (2024-05-03)
  → 'github:Mic92/buildbot-nix/af4a31c72fea81abb6317f268f487312680258b7' (2024-05-26)
• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=480bb396ed2a080472df5ba6887b5b91a278a7a5' (2024-04-30)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6e9f1515d3f3a5ffb5a89a2a28d6014ea0022948' (2024-05-26)
• Updated input 'clan-core/disko':
    'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb' (2024-04-05)
  → 'github:nix-community/disko/23c63fb09334c3e8958b57e2ddc3870b75b9111d' (2024-05-22)
• Added input 'clan-core/git-hooks':
    'github:fricklerhandwerk/git-hooks/99a78fcf7dc03ba7b1d5c00af109c1e28ced3490' (2024-05-22)
• Updated input 'clan-core/nixos-generators':
    'github:nix-community/nixos-generators/0c15e76bed5432d7775a22e8d22059511f59d23a' (2024-04-04)
  → 'github:nix-community/nixos-generators/a63e0c83dd83fe28cc571b97129e13373436bd82' (2024-05-19)
• Updated input 'clan-core/nixos-generators/nixlib':
    'github:nix-community/nixpkgs.lib/90b1a963ff84dc532db92f678296ff2499a60a87' (2024-03-31)
  → 'github:nix-community/nixpkgs.lib/3c62b6a12571c9a7f65ab037173ee153d539905f' (2024-04-07)
• Added input 'clan-core/nixos-images':
    'github:nix-community/nixos-images/8c9cab8c44434c12dafc465fbf61a710c5bceb08' (2024-05-19)
• Added input 'clan-core/nixos-images/nixos-2311':
    'github:NixOS/nixpkgs/95742536dc6debb5a8b8b78b27001c38f369f1e7' (2024-05-16)
• Added input 'clan-core/nixos-images/nixos-unstable':
    follows 'clan-core/nixpkgs'
• Updated input 'disko':
    'github:nix-community/disko/5eaf747af38dd272e1ab28a8ec4bd972424b07cf' (2024-04-29)
  → 'github:nix-community/disko/7ffc4354dfeb37c8c725ae1465f04a9b45ec8606' (2024-05-23)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01)
  → 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae' (2024-04-28)
  → 'github:NixOS/nixpkgs/e2dd4e18cc1c7314e24154331bae07df76eb582f' (2024-05-26)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/f1b0adc27265274e3b0c9b872a8f476a098679bd' (2024-04-23)
  → 'github:Mic92/sops-nix/962797a8d7f15ed7033031731d0bb77244839960' (2024-05-26)
• Updated input 'srvos':
    'github:numtide/srvos/b18e74f2245eaae150bc753821079c2512fe1516' (2024-04-30)
  → 'github:numtide/srvos/1122cd50a23647e09c3e7a679d37ec02113bc412' (2024-05-23)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25)
  → 'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
2024-05-27 00:00:19 +00:00
devShells switch to tofu from terraform 2024-03-12 11:33:06 +01:00
modules Redirect clan.lol/blog to docs.clan.lol/blog 2024-05-17 16:33:57 +02:00
pkgs fix buildbot setup 2024-05-01 12:29:01 +02:00
sops Update secret buildbot-workers-file 2024-05-01 12:05:01 +02:00
targets fix buildbot setup 2024-05-01 12:29:01 +02:00
terraform add buildbot subdomain 2024-04-30 14:00:07 +02:00
.envrc add envrc 2023-07-05 13:50:48 +02:00
.envrc.private-template .envrc.private-template: remove NETLIFY_TOKEN 2023-07-17 13:38:28 +02:00
.gitignore gitignore: add .pre-commit-config.yaml 2023-07-28 18:45:09 +02:00
.sops.yaml add new baremetal server 2023-07-18 16:21:31 +02:00
flake.lock update flake lock - 2024-05-27T00:00+00:00 2024-05-27 00:00:19 +00:00
flake.nix buildbot-nix: switch to main branch 2024-05-03 13:02:36 +02:00
LICENSE.md add license 2023-07-05 13:50:52 +02:00
README.md README: document CI 2024-05-03 13:01:44 +02:00
renovate.json Add renovate.json 2023-07-14 14:44:19 +02:00

clan-infra

This repository contains nixos modules and terraform code that powers clan.lol. The website and git hosting is currently on hetzner.

Servers

  • web01:
    • Instance type: ex101
    • CPU: Intel Core i9-13900 (24 cores / 32 threads)
    • RAM: 64GB DDR5
    • Drives: 2 x 1.92 TB NVME

To deploy new ssh keys on hcloud:

$ cd ./targets/admins
$ ./tf.sh apply

To deploy a server i.e. web01:

$ cd ./targets/web01
$ ./tf.sh apply

To add a new project to CI

  1. Add the 'buildbot-clan' topic to the repository using the "Manage topics" button below the project description
  2. Go to https://buildbot.clan.lol/#/builders/2 and press "Update projects" after you have logged in.