From b490c0fb66222486e93681a8fc6879c6c44f10fc Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 12 Oct 2025 22:27:52 -0400 Subject: [PATCH] Add directory verification without changing node constraints --- .woodpecker.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 420f3aa..a05e547 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -26,9 +26,13 @@ steps: - docker node ls || (echo "Runner must be on a Swarm manager" && exit 1) - echo "Checking for existing networks..." - docker network ls + - echo "Checking if required directories exist..." + - ls -la /mnt/data/nixc.us/woodpecker/production/ || echo "Directory doesn't exist" - echo "Creating required directories..." - mkdir -p /mnt/data/nixc.us/woodpecker/production/db /mnt/data/nixc.us/woodpecker/production/data || true - chmod -R 777 /mnt/data/nixc.us/woodpecker/production || true + - echo "Verifying directories..." + - ls -la /mnt/data/nixc.us/woodpecker/production/ - echo "Ensuring traefik network exists..." - docker network create --driver=overlay --attachable traefik || true - echo "Removing any existing stack..."