Compare commits

...

5 Commits

Author SHA1 Message Date
565572c869 more stuff
Some checks failed
Update home server containers / update-repo (push) Failing after 0s
Update home server containers / update-infrastructure (push) Has been skipped
Apply Kuberentes Configs / update-repo (push) Failing after 0s
Apply Kuberentes Configs / update-infrastructure (push) Has been skipped
2026-01-27 22:44:40 -07:00
dcd8a8590d more stuff 2026-01-27 22:42:43 -07:00
7575c9c974 more stuff 2026-01-27 22:40:07 -07:00
90df48ccee more stuff 2026-01-27 22:38:09 -07:00
6b516697e2 more stuff 2026-01-27 22:37:01 -07:00
2 changed files with 8 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ name: Apply Kuberentes Configs
on: [push, workflow_dispatch]
jobs:
update-repo:
runs-on: [home-server]
runs-on: home-server
steps:
- name: checkout repo
working-directory: /home/gitea-runner/infrastructure
@@ -16,7 +16,7 @@ jobs:
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
fi
update-infrastructure:
runs-on: [home-server]
runs-on: home-server
needs: update-repo
steps:
- name: update home server containers

View File

@@ -298,6 +298,8 @@
"home-server:host"
];
hostPackages = with pkgs; [
bashNonInteractive
coreutils
docker
git
git-secret
@@ -315,9 +317,10 @@
};
};
};
systemd.services.gitea-runner-infrastructure.environment = {
RUNNER_SHELL = "${pkgs.bashNonInteractive}/bin/bash";
};
systemd.services.gitea-runner-infrastructure.serviceConfig = {
ReadWritePaths = [
"/data/cloudflare/"
"/data/runner/infrastructure"
@@ -345,18 +348,8 @@
packages = with pkgs; [
kubernetes-helm
];
shell = pkgs.bashInteractive;
shell = pkgs.bashNonInteractive;
};
# users.users.github = {
# isNormalUser = true;
# description = "github";
# extraGroups = [ "docker" ];
# shell = pkgs.fish;
# packages = with pkgs; [
# kubernetes-helm
# ];
# };
networking.firewall.enable = false;