diff --git a/.woodpecker.yml b/.woodpecker.yml index 8c1445a..16fb1bd 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,25 +1,15 @@ +when: + - event: push + branch: main + steps: - - name: step-1 - image: alpine:latest + - name: build + image: debian commands: - - echo "Step 1: Starting preview pipeline" - - - name: step-2 - image: alpine:latest + - echo "This is the build step" + - echo "binary-data-123" > executable + - name: a-test-step + image: golang:1.16 commands: - - echo "Step 2: Simulating Helm Lint" - - - name: step-3 - image: alpine:latest - commands: - - echo "Step 3: Would validate ArgoCD YAML here" - - - name: step-4 - image: alpine:latest - commands: - - echo "Step 4: Would create Cloudflare DNS record here" - - - name: done - image: alpine:latest - commands: - - echo "Pipeline finished successfully" + - echo "Testing ..." + - ./executable \ No newline at end of file