1
0
forked from k-space/kube
kube/woodpecker
2024-07-27 22:57:01 +03:00
..
README.md Revert "Add GH to Woodpecker" 2024-02-12 06:59:24 +02:00
woodpecker-agent.yml Update to Woodpecker 2.7.0 2024-07-26 13:26:24 +03:00
woodpecker-server.yml migrate woodpecker to external mysql 2024-07-27 22:57:01 +03:00

Woodpecker CI

Woodpecker CI obsoletes Drone CI which has confusing licensing conditions.

Deployment steps:

kubectl create namespace woodpecker
kubectl create namespace woodpecker-execution
kubectl create secret generic -n woodpecker woodpecker-secret \
  --from-literal=WOODPECKER_AGENT_SECRET=$(openssl rand -hex 32) \
  --from-literal=WOODPECKER_GITEA_CLIENT=... \
  --from-literal=WOODPECKER_GITEA_SECRET=...
kubectl create secret generic -n woodpecker-execution woodpecker-secret \
  --from-literal=WOODPECKER_AGENT_SECRET=$(kubectl get secret -n woodpecker woodpecker-secret -o jsonpath="{.data.WOODPECKER_AGENT_SECRET}" | base64 -d)
kubectl apply -n woodpecker -f woodpecker-server.yml
kubectl apply -n woodpecker-execution -f woodpecker-agent.yml