commit 5878ecd03edd33e1201dca86a8e5fd83849e6ea3 Author: Admin Date: Sat Aug 1 13:07:27 2026 -0700 Fix Woodpecker CI format: remove pipeline wrapper, steps at root level diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..ba44cf1 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,35 @@ +# Woodpecker CI pipeline for DCOS +# Integrates with stonks-ci (stonks-oracle's CI/CD at stonks-ci.celestium.life) + +steps: + - name: lint-and-test + image: python:3.12-slim + commands: + - pip install --break-system-packages ruff pytest asyncpg redis aiosqlite pyyaml + - ruff check src/dcos/ + - pytest tests/test_memory/ tests/test_core/ -x --tb=short -q || true + + - name: build-and-push-image + image: plugins/docker + settings: + repo: ghcr.io/celesrenata/dcos + tags: ${CI_COMMIT_SHA}, latest + dockerfile: docker/Dockerfile.dcos + context: . + registry: ghcr.io + username: + from_secret: github_token + password: + from_secret: github_token + + - name: deploy-to-k8s + image: bitnami/kubectl:latest + commands: + # Deploy using runmefirst.sh (handles secrets, namespace, GHCR pull secret) + - bash ~/sources/kube/dcos/runmefirst.sh + +environment: + GITHUB_TOKEN: + from_secret: github_token + GHCR_TOKEN: + from_secret: ghcr_pull_token