mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 02:52:55 +00:00
delay gitea runner until gitea is running
This commit is contained in:
parent
dfd52e2cd5
commit
939d17ada1
@ -31,6 +31,11 @@
|
|||||||
tokenFile = config.secrets.giteaRunnerToken.dest;
|
tokenFile = config.secrets.giteaRunnerToken.dest;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Make sure the runner doesn't start until after Gitea
|
||||||
|
systemd.services."gitea-runner-${config.networking.hostName}".after =
|
||||||
|
[ "gitea.service" ];
|
||||||
|
|
||||||
|
# API key needed to connect to Gitea
|
||||||
secrets.giteaRunnerToken = {
|
secrets.giteaRunnerToken = {
|
||||||
source = ../../../private/gitea-runner-token.age; # TOKEN=xyz
|
source = ../../../private/gitea-runner-token.age; # TOKEN=xyz
|
||||||
dest = "${config.secretsDirectory}/gitea-runner-token";
|
dest = "${config.secretsDirectory}/gitea-runner-token";
|
||||||
|
Loading…
Reference in New Issue
Block a user