Files
stonks-oracle/.woodpecker/test.yml
T
Celes Renata 81ed2f0803 fix(ci): bypass DNS for clone — use Gitea ClusterIP directly
All pipeline files now specify clone.git.settings.remote with the
Gitea service ClusterIP (10.43.73.77:3000) instead of relying on
DNS resolution of gitea-service.git-server.svc.cluster.local.

This permanently fixes the intermittent DNS resolution failures
that occur when multiple build pipelines clone simultaneously.
2026-07-11 05:36:41 +00:00

59 lines
1.4 KiB
YAML

when:
event:
- push
- pull_request
clone:
git:
image: woodpeckerci/plugin-git
settings:
remote: http://10.43.73.77:3000/admin/stonks-oracle.git
steps:
lint-python:
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
commands:
- pip install ruff==0.15.10 --quiet
- ruff --version
- ruff check --output-format=concise .
backend_options:
kubernetes:
resources:
requests:
memory: 256Mi
cpu: 200m
limits:
memory: 512Mi
cpu: 1000m
depends_on: []
test-python:
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
commands:
- pip install -r requirements.txt --quiet
- pip install hypothesis --quiet
- pytest tests/ -x --tb=short -q --ignore=tests/integration
backend_options:
kubernetes:
resources:
requests:
memory: 512Mi
cpu: 500m
limits:
memory: 1Gi
cpu: 2000m
depends_on: []
test-frontend:
image: registry.celestium.life/dockerhub-cache/library/node:24-slim
commands:
- cd frontend
- npm ci
- npx vitest --run
backend_options:
kubernetes:
resources:
requests:
memory: 512Mi
cpu: 500m
limits:
memory: 1Gi
cpu: 2000m
depends_on: []