Compare commits

..

8 Commits

Author SHA1 Message Date
e7c84aa4ee maybe change config 2026-03-14 11:44:01 +01:00
69043687cf Fuck me dude this can't be that difficult... 2026-03-13 18:34:52 +01:00
872ab0d944 test 1323 2026-03-13 18:19:55 +01:00
79b6b56246 2 2026-03-13 18:14:19 +01:00
0a8e7bf271 FASTER 2026-03-13 18:12:53 +01:00
caa7dbadb3 Try this one maybe 2026-03-13 17:42:21 +01:00
8c797e4269 Actually fix status this time 2026-03-13 17:20:27 +01:00
e73516fbe7 Document the gitea-translator module 2026-03-13 16:29:49 +01:00
4 changed files with 7 additions and 38 deletions

View File

@@ -1,31 +0,0 @@
name: Weekly Flake Update
on:
pull_request:
types:
- opened
permissions:
contents: write
jobs:
hydra_callback:
runs-on: ubuntu-latest
env:
NIXPKGS_ALLOW_UNFREE: 1
steps:
- name: Install sudo
run: |
apt-get update
apt-get install -y sudo
- name: Set up Nix
uses: https://github.com/cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.AHTLONS_GITHUB_TOKEN }}
- name: Find pr number
run: |
echo PR=$(echo "${{ github.ref }}" | cut -d / -f 3) >> "$GITHUB_ENV"
- name: run hydra wait
run: |
echo "Running now @ pr no $PR"
nix run nixpkgs#hydra-cli -- -H https://hydra.dynamicdiscord.de jobset-wait malobeo2 "$PR"

View File

@@ -8,13 +8,13 @@ let
enabled = 1;
hidden = false;
description = "PR ${num}: ${info.title}";
checkinterval = 300;
checkinterval = 60;
schedulingshares = 20;
enableemail = false;
emailoverride = "";
keepnr = 1;
type = 1;
flake = "${info.head.repo.html_url}/archive/${info.head.ref}.tar.gz";
flake = "${info.head.repo.html_url}/archive/${info.head.sha}.tar.gz";
inputs = {
gitea_repo_name = {
type = "string";
@@ -33,14 +33,14 @@ let
};
gitea_status_repo = {
type = "string";
value = "${info.head.ref}";
value = "${info.head.sha}";
emailresponsible = false;
};
};
}) prs;
mkFlakeJobset = branch: {
description = "Build ${branch} branch of the Malobeo Infrastructure repo";
checkinterval = 300;
checkinterval = 60;
enabled = "1";
schedulingshares = 100;
enableemail = false;
@@ -48,7 +48,7 @@ let
keepnr = 3;
hidden = false;
type = 1;
flake = "https://git.dynamicdiscord.de/malobeo/infrastructure/archive/${branch}.tar.gz";
flake = "https://git.dynamicdiscord.de/ahtlon/infrastructure/archive/${branch}.tar.gz";
};
desc = prJobsets // {

View File

@@ -8,7 +8,7 @@ hosts are deployed automatically from master. The [hydra build server](https://h
Big changes (like updating flake lock) could be commited to the staging branch first. [Hydra builds staging seperate](https://hydra.dynamicdiscord.de/jobset/malobeo/staging), and on success you can merge into master.
### deploy fresh host
if you want to deploy a completldy new host refer to [docs](https://docs.malobeo.org/anleitung/create.html)
if you want to deploy a completly new host refer to [docs](https://docs.malobeo.org/anleitung/create.html)
### testing configuration

View File

@@ -19,7 +19,6 @@ with lib;
imports = [
self.nixosModules.malobeo.metrics
inputs.tasklist.nixosModules.malobeo-tasklist
../modules/malobeo_user.nix
../modules/sshd.nix
../modules/minimal_tools.nix
@@ -32,6 +31,7 @@ with lib;
};
services.malobeo-tasklist.enable = true;
services.gitea-translator.enable = true;
system.stateVersion = "22.11"; # Did you read the comment?
}