Compare commits

...

8 commits

Author SHA1 Message Date
d2759ae4b2
Revert "try store mounted read-only"
Some checks failed
ci/woodpecker/manual/check-deployment-panel Pipeline is pending
ci/woodpecker/manual/check-mastodon Pipeline is pending
ci/woodpecker/manual/check-panel Pipeline is pending
ci/woodpecker/manual/check-peertube Pipeline is pending
ci/woodpecker/manual/check-pre-commit Pipeline is pending
ci/woodpecker/manual/check-resources Pipeline is pending
ci/woodpecker/manual/update Pipeline is pending
ci/woodpecker/manual/check-data-model Pipeline failed
ci/woodpecker/manual/cd Pipeline failed
ci/woodpecker/manual/check-deployment-cli Pipeline failed
ci/woodpecker/manual/check-deployment-basic Pipeline failed
This reverts commit 586be6f309.
2025-08-04 17:55:05 +02:00
586be6f309
try store mounted read-only
- `--store` as per
https://blog.kotatsu.dev/posts/2023-04-21-woodpecker-nix-caching/
- `--eval-store` as per
https://kevincox.ca/2022/01/02/nix-in-docker-caching/
2025-08-04 17:49:42 +02:00
aafc4069d5
schema 2025-08-04 17:47:57 +02:00
035558faec
max 5 2025-08-04 17:10:22 +02:00
4f661adbc4
un-bash strace
Some checks failed
ci/woodpecker/manual/check-data-model Pipeline was successful
ci/woodpecker/manual/check-deployment-basic Pipeline failed
ci/woodpecker/manual/check-deployment-cli Pipeline failed
ci/woodpecker/manual/check-mastodon Pipeline failed
ci/woodpecker/manual/check-peertube Pipeline failed
ci/woodpecker/manual/check-pre-commit Pipeline was successful
ci/woodpecker/manual/check-resources Pipeline failed
ci/woodpecker/manual/check-panel Pipeline failed
ci/woodpecker/manual/update Pipeline was successful
ci/woodpecker/manual/check-deployment-panel Pipeline failed
ci/woodpecker/manual/cd Pipeline failed
2025-08-04 17:00:56 +02:00
715da01e90
container dns
rm dns
2025-08-04 16:57:59 +02:00
d9f8b3c48c
enable firewall 2025-08-04 16:57:59 +02:00
590d5a747e
document nftables 2025-08-04 16:57:59 +02:00
11 changed files with 29 additions and 7 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:
- event: manual
- event: push
@ -7,16 +9,12 @@ steps:
- name: build
image: nixos/nix
commands:
- whoami
- pwd
- ls
- env
- |
mkdir -p ~/.ssh
echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519
ls -l ~/.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
- |
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:
- event: manual
- 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:
- event: manual
- 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:
- event: manual
- 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:
- event: manual
- 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:
- event: manual
- 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:
- event: manual
- 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:
- event: manual
- 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:
- event: manual
- 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:
- event: manual
- event: push

View file

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