forked from fediversity/fediversity
woodpecker: add packages needed for network
https://github.com/NixOS/nixpkgs/pull/73971#issuecomment-790421418
This commit is contained in:
parent
26bd520b2c
commit
5942011504
1 changed files with 28 additions and 19 deletions
|
|
@ -226,26 +226,35 @@
|
|||
};
|
||||
|
||||
# https://woodpecker-ci.org/docs/administration/configuration/agent
|
||||
woodpecker-agents.agents = {
|
||||
exec = {
|
||||
# enable = true;
|
||||
woodpecker-agents.agents =
|
||||
let
|
||||
path = with pkgs; [
|
||||
attic-client
|
||||
bash
|
||||
bind
|
||||
coreutils
|
||||
dnsutils
|
||||
git
|
||||
git-lfs
|
||||
woodpecker-plugin-git
|
||||
bash
|
||||
coreutils
|
||||
gnutar
|
||||
gzip
|
||||
nix
|
||||
attic-client
|
||||
openssh
|
||||
npins
|
||||
openssh
|
||||
strace
|
||||
woodpecker-plugin-git
|
||||
];
|
||||
in
|
||||
{
|
||||
exec = {
|
||||
# enable = true;
|
||||
inherit path;
|
||||
environmentFile = [ config.vars.generators."templates".files."woodpecker-agent-exec.conf".path ];
|
||||
extraGroups = [ "woodpecker-agent-exec" ];
|
||||
};
|
||||
docker = {
|
||||
enable = true;
|
||||
inherit path;
|
||||
environmentFile = [ config.vars.generators."templates".files."woodpecker-agent-podman.conf".path ];
|
||||
extraGroups = [
|
||||
"podman"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue