Add gitea actions runner
This commit is contained in:
@@ -8,6 +8,25 @@
|
||||
file = ../../secrets/sendmail_email_key_gitea.age;
|
||||
owner = "gitea";
|
||||
group = "gitea";
|
||||
};
|
||||
|
||||
gitea_actions_runner_token = {
|
||||
file = ../../secrets/gitea_actions_runner_token.age;
|
||||
};
|
||||
};
|
||||
|
||||
services.gitea-actions-runner = {
|
||||
instances = {
|
||||
primary = {
|
||||
enable = true;
|
||||
name = "actions-runner";
|
||||
url = config.services.gitea.settings.server.ROOT_URL;
|
||||
tokenFile = config.age.secrets.gitea_actions_runner_token.path;
|
||||
labels = [
|
||||
"native:host"
|
||||
"ubuntu-latest:docker://node:16-bullseye"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -40,12 +59,15 @@
|
||||
mailer = {
|
||||
ENABLED = true;
|
||||
FROM = "gitea@broccoli.town";
|
||||
MAILER_TYPE = "smtp";
|
||||
PROTOCOL = "smtp";
|
||||
SMTP_ADDR = "smtp.sendgrid.net";
|
||||
SMTP_PORT = 465;
|
||||
IS_TLS_ENABLED = true;
|
||||
USER = "apikey";
|
||||
};
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
};
|
||||
};
|
||||
mailerPasswordFile = config.age.secrets.sendmail_email_key_gitea.path;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user