- GHA ci.yml: add build + deploy jobs (push to DockerHub, trigger Woodpecker) - Drop test matrix to single Python 3.12, preserve mypy step - Build/deploy gated on push to main (PRs still run tests only) - Woodpecker: deploy.yml (manual event, kubectl set image + slack notify) - Old pipeline preserved as build-fallback.yml (manual trigger)
18 lines
483 B
YAML
18 lines
483 B
YAML
when:
|
|
- event: manual
|
|
|
|
steps:
|
|
- name: deploy
|
|
image: bitnami/kubectl:1.32
|
|
commands:
|
|
- kubectl set image deployment/claude-memory claude-memory=${IMAGE_NAME}:${IMAGE_TAG} -n claude-memory
|
|
- kubectl rollout status deployment/claude-memory -n claude-memory --timeout=300s
|
|
|
|
- name: notify
|
|
image: woodpeckerci/plugin-slack
|
|
settings:
|
|
webhook:
|
|
from_secret: slack-webhook-url
|
|
channel: general
|
|
when:
|
|
- status: [success, failure]
|