feat: add secret for forgejo runner
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Nydragon 2025-01-31 11:57:53 +01:00
parent 29697934da
commit 7b3d175ff6
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
3 changed files with 10 additions and 8 deletions

View file

@ -25,6 +25,7 @@ in
owner = "rustypaste"; owner = "rustypaste";
group = "rustypaste"; group = "rustypaste";
}; };
forgejo-runner-token.file = ../../secrets/forgejo-runner-token.age;
}; };
boot.loader.grub = { boot.loader.grub = {

View file

@ -20,11 +20,11 @@ in
instances."raptus" = { instances."raptus" = {
enable = true; enable = true;
name = "raptus"; name = "raptus";
tokenFile = config.age.secrets.forgejo-runner-token.age; tokenFile = config.age.secrets.forgejo-runner-token.path;
url = "https://git.ccnlc.eu"; url = "https://git.ccnlc.eu";
labels = [ labels = [
"debian-latest:docker://node:18-bullseye" "debian-latest:docker://node:18-bullseye"
"nix:docker://ghcr.io/nydragon/runner:latest" "nixos:docker://ghcr.io/nydragon/runner@sha256:0378d0f8ad08e2d4e541fba37c688fd46a3088d47314343ef3158ce94c7e1713"
]; ];
}; };
}; };

View file

@ -1,7 +1,8 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-ed25519 b3HlPA dBkOMVkozSkc7hGVGBV8KanAOqT57d/FGTyPQnZGQBM -> ssh-ed25519 b3HlPA dlnUjkDRPRNWtziZtRBlCLatRFnfhUNl0KK5yqL8Zwk
4MGa6vkR/XtD6scjA2giiDINdfFH4Y9Ebn/Pki7bxPM 5px5axQKE46D0BMLSxZwvm0pnNx/8dyVIhDyNKKh4q0
-> ssh-ed25519 WcjW5A HOrY4chLCOJJQmZqn2ax8sBWqFi1MnzwUmT3qY1+Uxk -> ssh-ed25519 WcjW5A /MtEneOoeJd8ygIoYEv8NKFQsPdLPHxpKgs5bT+hTwg
4L36W1eX4rfzH0e6YWtJ4hEl5FoKA9Okd1CYNWP1yXU t7Dsslx9BwyzmGd6QBnpuz+4d5UaVCFSutXax7ombKc
--- syAd07l1R2c15ZVprT+nEw0IO2o/EAWPG0KieTVQxOE --- xoCj85JiGHk9fx/l7wnJF2qt86mr62yOlIkuA6a0xk0
­ÆNÎh†ùN‰(sfE kS(¤Â)ž_kÐö K/iŽš˜<C5A1>eX/Ìí8 „ÒhÚá«S øÁ”¼Œ‡É~‡éjœÒ ²¶Hh=ÈÏêέ¢ª.!özàÂW
;A3í1žX;œW€ œ«.B,ç¶&žhÚZ¤8x'ó¸ÉïOŠ°É²®%t‰éÒ†>Âm÷ÚÑ~سZ