trying out woodpecker CI
This commit is contained in:
@ -26,7 +26,7 @@ agent:
|
||||
|
||||
env:
|
||||
# -- 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_K8S_NAMESPACE: woodpecker
|
||||
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: ""
|
||||
@ -34,7 +34,7 @@ agent:
|
||||
WOODPECKER_BACKEND_K8S_STORAGE_RWX: true
|
||||
WOODPECKER_BACKEND_K8S_POD_LABELS: ""
|
||||
WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS: ""
|
||||
WOODPECKER_CONNECT_RETRY_COUNT: "3"
|
||||
WOODPECKER_CONNECT_RETRY_COUNT: "1"
|
||||
|
||||
# -- Add extra secret that is contains environment variables
|
||||
extraSecretNamesForEnvFrom: []
|
||||
|
||||
15
woodpecker.yaml
Normal file
15
woodpecker.yaml
Normal 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
|
||||
Reference in New Issue
Block a user