Compare commits

...

9 commits

11 changed files with 30 additions and 8 deletions

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: push - event: push
@ -7,16 +9,12 @@ steps:
- name: build - name: build
image: nixos/nix image: nixos/nix
commands: commands:
- whoami
- pwd
- ls
- env
- | - |
mkdir -p ~/.ssh mkdir -p ~/.ssh
echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519 echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519
ls -l ~/.ssh/id_ed25519 ls -l ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
- bash -c "nix-shell -p strace --run 'strace -f -o ssh-agent.log ssh-agent -s'" - nix-shell -p strace --run 'strace -f -o ssh-agent.log ssh-agent -s'
- cat ssh-agent.log - cat ssh-agent.log
- | - |
eval "$(ssh-agent -s)" eval "$(ssh-agent -s)"

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: pull_request - event: pull_request

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: pull_request - event: pull_request

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: pull_request - event: pull_request

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: pull_request - event: pull_request

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: pull_request - event: pull_request

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: pull_request - event: pull_request

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: pull_request - event: pull_request

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: pull_request - event: pull_request

View file

@ -1,3 +1,5 @@
$schema: https://raw.githubusercontent.com/woodpecker-ci/woodpecker/refs/heads/main/pipeline/frontend/yaml/linter/schema/schema.json
when: when:
- event: manual - event: manual
- event: push - event: push

View file

@ -111,7 +111,7 @@
WOODPECKER_SERVER=localhost:9000 WOODPECKER_SERVER=localhost:9000
WOODPECKER_USERNAME=x-oauth-basic WOODPECKER_USERNAME=x-oauth-basic
WOODPECKER_HOSTNAME=https://woodpecker.fediversity.eu WOODPECKER_HOSTNAME=https://woodpecker.fediversity.eu
WOODPECKER_MAX_WORKFLOWS=4 WOODPECKER_MAX_WORKFLOWS=5
WOODPECKER_LOG_LEVEL=info WOODPECKER_LOG_LEVEL=info
WOODPECKER_DEBUG_PRETTY=false WOODPECKER_DEBUG_PRETTY=false
WOODPECKER_DEBUG_NOCOLOR=true WOODPECKER_DEBUG_NOCOLOR=true
@ -202,19 +202,21 @@
}; };
networking = { networking = {
nftables.enable = lib.mkForce false;
firewall = { firewall = {
enable = lib.mkForce true;
allowedTCPPorts = [ allowedTCPPorts = [
22 22
80 80
443 443
]; ];
# needed for podman to be able to talk over dns # needed for podman to be able to talk over dns
interfaces."podman0" = { interfaces."podman+" = {
allowedUDPPorts = [ 53 ]; allowedUDPPorts = [ 53 ];
allowedTCPPorts = [ 53 ]; allowedTCPPorts = [ 53 ];
}; };
}; };
# helps make sure DNS resolves from the containers
nftables.enable = lib.mkForce false;
}; };
virtualisation.podman = { virtualisation.podman = {
@ -223,6 +225,10 @@
enable = true; enable = true;
dates = "weekly"; dates = "weekly";
}; };
defaultNetwork.settings = {
dns_enabled = true;
ipv6_enabled = true;
};
}; };
systemd.services = { systemd.services = {