From 8835b317b271bf262538a1b8d1db07e4252684d4 Mon Sep 17 00:00:00 2001 From: dvirlabs <114520947+dvirlabs@users.noreply.github.com> Date: Mon, 5 May 2025 21:27:30 +0300 Subject: [PATCH] Fix pipeline --- .woodpecker.yml | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) 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