diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index fd4d9cd..366cf23 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -7,7 +7,8 @@ depends_on: steps: python_sync: - image: code.philo.ydns.eu/philorg/uv + image: code.philo.ydns.eu/philorg/uv-geo + pull: true volumes: - uv-cache:/uv-cache environment: @@ -17,7 +18,7 @@ steps: - uv sync python_build: - image: code.philo.ydns.eu/philorg/uv + image: code.philo.ydns.eu/philorg/uv-geo volumes: - uv-cache:/uv-cache environment: @@ -28,13 +29,12 @@ steps: - uv cache prune --ci python_publish: - image: code.philo.ydns.eu/philorg/uv + image: code.philo.ydns.eu/philorg/uv-geo volumes: - uv-cache:/uv-cache environment: UV_CACHE_DIR: /uv-cache UV_LINK_MODE: copy - environment: OWNER: philorg REGISTRY_URL: https://code.philo.ydns.eu REGISTRY_TOKEN: diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml index d8816b2..47d58d3 100644 --- a/.woodpecker/test.yaml +++ b/.woodpecker/test.yaml @@ -6,7 +6,8 @@ when: steps: sync: - image: code.philo.ydns.eu/philorg/uv + image: code.philo.ydns.eu/philorg/uv-geo + pull: true volumes: - uv-cache:/uv-cache environment: @@ -16,6 +17,12 @@ steps: - uv sync test: - image: code.philo.ydns.eu/philorg/uv + image: code.philo.ydns.eu/philorg/uv-geo + environment: + TREETRAIL_DB_HOST: treetrail-database commands: - .venv/bin/pytest -s tests/basic.py + +services: + treetrail-database: + image: code.philo.ydns.eu/philorg/treetrail-database