no need to specify the dns server explicitly as it just works with docker
This commit is contained in:
parent
f593f2e269
commit
a23d3c5a0f
3 changed files with 6 additions and 7 deletions
|
@ -61,7 +61,7 @@ container:
|
||||||
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
|
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
|
||||||
privileged: false
|
privileged: false
|
||||||
# And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway).
|
# And other options to be used when the container is started (eg, --add-host=my.gitea.url:host-gateway).
|
||||||
options: --dns=9.9.9.9
|
options:
|
||||||
# The parent directory of a job's working directory.
|
# The parent directory of a job's working directory.
|
||||||
# If it's empty, /workspace will be used.
|
# If it's empty, /workspace will be used.
|
||||||
workdir_parent:
|
workdir_parent:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"data": "ENC[AES256_GCM,data:v2Wwja9LVmHL0nrRKaD+qSpS97VHOVyUSkaC7zDLJ3MkrZYDLRIPZ3NaxFlaWfSz,iv:z5tlmwGAMh+Xaf9jVR2CrWMHv5+MBBG8cP8qvy6sG70=,tag:Vxfi2f/ed/XH7Joc2P5oxA==,type:str]",
|
"data": "ENC[AES256_GCM,data:QKh/Ec3vLlxdWD2UsbJYMJpeEHgy7eXQ4n4ZZOcy7yaIo+1gp6NO73P7XJIj73Xn,iv:zjYfsNIrzOq2hWdOOCEzcXKTpARyAHcJYJVmFVy7M8g=,tag:jbqZfwPvJsfrUgYlC8jzFw==,type:str]",
|
||||||
"sops": {
|
"sops": {
|
||||||
"kms": null,
|
"kms": null,
|
||||||
"gcp_kms": null,
|
"gcp_kms": null,
|
||||||
|
@ -47,8 +47,8 @@
|
||||||
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRTXVwRzVSd2NSSi90SVVu\na05jeitPNnE5TVJ1NXk5WGd6UnhObUwveHg0CjU0dTNxUUdtb253ZHdTMFkycWdI\nbjZsanUwSGdHcFZkckIrRDRTWldha3cKLS0tIE8wM09WMnhNeklnYytUWkVTc01E\neldXYlJXRm1OMWo0T1U3UlY4SFBndVEKs56uk3j02g1g7Ae16UGfwRQJghPvS8iG\nDcIrJp6tb5ToYKeAGcTDpDvaQeNWKBX6fSLVIiJbgDWIbbZp1HRYpw==\n-----END AGE ENCRYPTED FILE-----\n"
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRTXVwRzVSd2NSSi90SVVu\na05jeitPNnE5TVJ1NXk5WGd6UnhObUwveHg0CjU0dTNxUUdtb253ZHdTMFkycWdI\nbjZsanUwSGdHcFZkckIrRDRTWldha3cKLS0tIE8wM09WMnhNeklnYytUWkVTc01E\neldXYlJXRm1OMWo0T1U3UlY4SFBndVEKs56uk3j02g1g7Ae16UGfwRQJghPvS8iG\nDcIrJp6tb5ToYKeAGcTDpDvaQeNWKBX6fSLVIiJbgDWIbbZp1HRYpw==\n-----END AGE ENCRYPTED FILE-----\n"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"lastmodified": "2023-08-12T07:27:46Z",
|
"lastmodified": "2023-08-13T15:50:38Z",
|
||||||
"mac": "ENC[AES256_GCM,data:z2hkjo1ABKc9xPrX+vPbxyNEdXBc2MlyihxhfdBq75R6y8GF8EjwG70ExtsqANBH6PKmj49nef9YzDrEJ19YAFbSXV+GTwOfgyBTAcgPwmc7mS2+xN6Ilx41XKjHCMqeb5oCJK4pFLTXP3HLWaLWVduITJ5xjSDhev9Tl+oakH0=,iv:LE2lKzgXboPGHZ5Z+OXhab+wfFolVvEe5Siowmssn0k=,tag:3pTBd/6HajuH1yCilM0eUw==,type:str]",
|
"mac": "ENC[AES256_GCM,data:YuQxKIkxw9mDlsbJFxpqADtlxGaJDrd59ob1riXbL087pLTI8ZptLVhR1YWcS+E0Hz9RSb+ycWoZHoB4n30hck4LJPH4ZFh6N0Z0L7SLIb1JJo1d/nJC1pzV0dvgAfTkxv3Xbty3Itui4zNS50OSUH0J6esU1s2aVHrZuLU8NYo=,iv:bmDTasYOYdVjFgObLW0SK1otzD3nC2tk3hHPizuSC70=,tag:hIjUdbY9CFWq00Rslgj61w==,type:str]",
|
||||||
"pgp": null,
|
"pgp": null,
|
||||||
"unencrypted_suffix": "_unencrypted",
|
"unencrypted_suffix": "_unencrypted",
|
||||||
"version": "3.7.3"
|
"version": "3.7.3"
|
||||||
|
|
|
@ -12,7 +12,6 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
daemon.settings = {
|
daemon.settings = {
|
||||||
dns = ["9.9.9.9"];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
disabledModules = [ "services/continuous-integration/gitea-actions-runner.nix" ];
|
disabledModules = [ "services/continuous-integration/gitea-actions-runner.nix" ];
|
||||||
|
@ -20,11 +19,11 @@ in
|
||||||
|
|
||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
inherit package;
|
inherit package;
|
||||||
instances.bolty1 = {
|
instances.boltyone = {
|
||||||
enable = true;
|
enable = true;
|
||||||
url = "https://git.cyplo.dev";
|
url = "https://git.cyplo.dev";
|
||||||
tokenFile = config.sops.secrets."gitea-runner-token".path;
|
tokenFile = config.sops.secrets."gitea-runner-token".path;
|
||||||
name = "bolty1";
|
name = "bolty one";
|
||||||
hostPackages = with pkgs; [
|
hostPackages = with pkgs; [
|
||||||
bash
|
bash
|
||||||
coreutils
|
coreutils
|
||||||
|
|
Loading…
Reference in a new issue