fixup! Use specific git forgejo CI
All checks were successful
CI / build (push) Successful in 13m56s
All checks were successful
CI / build (push) Successful in 13m56s
This commit is contained in:
parent
6bbd0f0157
commit
ec980bd86e
2 changed files with 11 additions and 7 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -8,6 +8,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
runs-on: docker
|
||||||
container: nixpkgs/nix-flakes:nixos-24.05
|
container: nixpkgs/nix-flakes:nixos-24.05
|
||||||
steps:
|
steps:
|
||||||
- name: Initialize CI
|
- name: Initialize CI
|
||||||
|
|
|
@ -39,6 +39,7 @@ with lib;
|
||||||
dockerCompat = true;
|
dockerCompat = true;
|
||||||
dockerSocket.enable = true;
|
dockerSocket.enable = true;
|
||||||
autoPrune.enable = true;
|
autoPrune.enable = true;
|
||||||
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.gitea-actions-runner = {
|
services.gitea-actions-runner = {
|
||||||
|
@ -59,6 +60,8 @@ with lib;
|
||||||
capacity = 30;
|
capacity = 30;
|
||||||
};
|
};
|
||||||
cache.enable = true; # TODO: This should probably be a central cache server?
|
cache.enable = true; # TODO: This should probably be a central cache server?
|
||||||
|
# the default network that also respects our dns server settings
|
||||||
|
container.network = "host";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -139,13 +142,13 @@ with lib;
|
||||||
storage.runroot = "/run/containers/storage";
|
storage.runroot = "/run/containers/storage";
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.containers.containersConf.settings = {
|
#virtualisation.containers.containersConf.settings = {
|
||||||
# podman seems to not work with systemd-resolved
|
# # podman seems to not work with systemd-resolved
|
||||||
containers.dns_servers = [
|
# containers.dns_servers = [
|
||||||
"8.8.8.8"
|
# "8.8.8.8"
|
||||||
"8.8.4.4"
|
# "8.8.4.4"
|
||||||
];
|
# ];
|
||||||
};
|
#};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
systemd.services =
|
systemd.services =
|
||||||
|
|
Loading…
Add table
Reference in a new issue