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] on: [push, workflow_dispatch]
jobs: jobs:
update-repo: update-repo:
runs-on: [home-server] runs-on: home-server
steps: steps:
- name: checkout repo - name: checkout repo
working-directory: /home/gitea-runner/infrastructure 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 git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
fi fi
update-infrastructure: update-infrastructure:
runs-on: [home-server] runs-on: home-server
needs: update-repo needs: update-repo
steps: steps:
- name: update home server containers - name: update home server containers

View File

@@ -298,6 +298,8 @@
"home-server:host" "home-server:host"
]; ];
hostPackages = with pkgs; [ hostPackages = with pkgs; [
bashNonInteractive
coreutils
docker docker
git git
git-secret git-secret
@@ -315,9 +317,10 @@
}; };
}; };
}; };
systemd.services.gitea-runner-infrastructure.environment = {
RUNNER_SHELL = "${pkgs.bashNonInteractive}/bin/bash";
};
systemd.services.gitea-runner-infrastructure.serviceConfig = { systemd.services.gitea-runner-infrastructure.serviceConfig = {
ReadWritePaths = [ ReadWritePaths = [
"/data/cloudflare/" "/data/cloudflare/"
"/data/runner/infrastructure" "/data/runner/infrastructure"
@@ -345,18 +348,8 @@
packages = with pkgs; [ packages = with pkgs; [
kubernetes-helm 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; networking.firewall.enable = false;