Test some pipeline
This commit is contained in:
parent
9f7e2c2c8c
commit
4babfe4d1b
@ -1,16 +1,28 @@
|
||||
when:
|
||||
- event: push
|
||||
branch: master
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: debian
|
||||
- name: step-1
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "This is the build step"
|
||||
- echo "binary-data-123" > executable
|
||||
- name: a-test-step
|
||||
image: golang:1.16
|
||||
- echo "🚀 Step 1: Starting preview pipeline"
|
||||
|
||||
- name: step-2
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "Testing ...."
|
||||
- chmod +x ./executable
|
||||
- ./executable
|
||||
- echo "🔧 Step 2: Simulating Helm Lint"
|
||||
|
||||
- name: step-3
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "📦 Step 3: Would validate ArgoCD YAML here"
|
||||
|
||||
- name: step-4
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "🌐 Step 4: Would create Cloudflare DNS record here"
|
||||
|
||||
- name: done
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "✅ Pipeline finished successfully"
|
||||
|
||||
when:
|
||||
event: push
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user