trying out woodpecker CI

This commit is contained in:
2025-07-03 11:33:05 +03:00
parent 5b3b2b707c
commit 32094507fe
2 changed files with 17 additions and 2 deletions

View File

@ -26,7 +26,7 @@ agent:
env: env:
# -- Add the environment variables for the agent component # -- Add the environment variables for the agent component
WOODPECKER_SERVER: "woodpecker-server.woodpecker.svc.cluster.local:9000" WOODPECKER_SERVER: 'woodpecker-server:9000'
WOODPECKER_BACKEND: kubernetes WOODPECKER_BACKEND: kubernetes
WOODPECKER_BACKEND_K8S_NAMESPACE: woodpecker WOODPECKER_BACKEND_K8S_NAMESPACE: woodpecker
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: "" WOODPECKER_BACKEND_K8S_STORAGE_CLASS: ""
@ -34,7 +34,7 @@ agent:
WOODPECKER_BACKEND_K8S_STORAGE_RWX: true WOODPECKER_BACKEND_K8S_STORAGE_RWX: true
WOODPECKER_BACKEND_K8S_POD_LABELS: "" WOODPECKER_BACKEND_K8S_POD_LABELS: ""
WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS: "" WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS: ""
WOODPECKER_CONNECT_RETRY_COUNT: "3" WOODPECKER_CONNECT_RETRY_COUNT: "1"
# -- Add extra secret that is contains environment variables # -- Add extra secret that is contains environment variables
extraSecretNamesForEnvFrom: [] extraSecretNamesForEnvFrom: []

15
woodpecker.yaml Normal file
View File

@ -0,0 +1,15 @@
when:
- event: push
branch: main
steps:
- name: build
image: debian
commands:
- echo "This is the build step"
- echo "binary-data-123" > executable
- name: a-test-step
image: golang:1.24
commands:
- echo "Testing ..."
- go version