Compare commits
2 Commits
05e2c6f95d
...
ada066dbec
| Author | SHA1 | Date | |
|---|---|---|---|
| ada066dbec | |||
| 758371ff22 |
@@ -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:host]
|
||||||
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:host]
|
||||||
needs: update-repo
|
needs: update-repo
|
||||||
steps:
|
steps:
|
||||||
- name: update home server containers
|
- name: update home server containers
|
||||||
|
|||||||
@@ -294,7 +294,7 @@
|
|||||||
url = "https://git.alexmickelson.guru";
|
url = "https://git.alexmickelson.guru";
|
||||||
tokenFile = "/data/runner/gitea-infrastructure-token.txt";
|
tokenFile = "/data/runner/gitea-infrastructure-token.txt";
|
||||||
labels = [
|
labels = [
|
||||||
"home-server"
|
"home-server:host"
|
||||||
];
|
];
|
||||||
hostPackages = with pkgs; [
|
hostPackages = with pkgs; [
|
||||||
docker
|
docker
|
||||||
@@ -307,13 +307,13 @@
|
|||||||
kubectl
|
kubectl
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
];
|
];
|
||||||
};
|
|
||||||
settings = {
|
settings = {
|
||||||
container = {
|
container = {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services.gitea-runner-infrastructure.serviceConfig = {
|
systemd.services.gitea-runner-infrastructure.serviceConfig = {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user