ci: add dummy pipelines for the stage-column graph demo
Some checks failed
ci/crow/push/release Pipeline is pending
ci/crow/push/docs Pipeline was successful
ci/crow/push/build/3 Pipeline failed
ci/crow/push/build/2 Pipeline was successful
ci/crow/push/build/1 Pipeline was successful
ci/crow/push/test Pipeline was successful
ci/crow/push/deploy Pipeline was successful
ci/crow/push/notify Pipeline was successful
ci/crow/push/lint Pipeline was successful
Some checks failed
ci/crow/push/release Pipeline is pending
ci/crow/push/docs Pipeline was successful
ci/crow/push/build/3 Pipeline failed
ci/crow/push/build/2 Pipeline was successful
ci/crow/push/build/1 Pipeline was successful
ci/crow/push/test Pipeline was successful
ci/crow/push/deploy Pipeline was successful
ci/crow/push/notify Pipeline was successful
ci/crow/push/lint Pipeline was successful
This commit is contained in:
commit
a29a2af77b
8 changed files with 186 additions and 0 deletions
32
.crow/build.yaml
Normal file
32
.crow/build.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
when:
|
||||
- event: [push, manual]
|
||||
|
||||
matrix:
|
||||
GO:
|
||||
- "1.24"
|
||||
- "1.25"
|
||||
- "1.26"
|
||||
|
||||
steps:
|
||||
deps:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands:
|
||||
- echo "go mod download (Go $${GO})"
|
||||
- sleep 5
|
||||
compile:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [deps]
|
||||
commands:
|
||||
- sleep 20
|
||||
unit:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [compile]
|
||||
commands:
|
||||
- sleep 10
|
||||
- if [ "$${GO}" = "1.26" ]; then echo "unit tests fail on Go 1.26"; exit 1; fi
|
||||
package:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [unit]
|
||||
commands:
|
||||
- sleep 5
|
||||
28
.crow/deploy.yaml
Normal file
28
.crow/deploy.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
when:
|
||||
- event: [push, manual]
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
|
||||
approval:
|
||||
required: true
|
||||
approvers:
|
||||
users:
|
||||
- pat-s
|
||||
timeout: 24h
|
||||
|
||||
skip_clone: true
|
||||
|
||||
steps:
|
||||
migrate:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [sleep 5]
|
||||
rollout:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [migrate]
|
||||
commands: [sleep 10]
|
||||
verify:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [rollout]
|
||||
commands: [sleep 5]
|
||||
16
.crow/docs.yaml
Normal file
16
.crow/docs.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
when:
|
||||
- event: [push, manual]
|
||||
|
||||
steps:
|
||||
prepare:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [sleep 3]
|
||||
render:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [prepare]
|
||||
commands: [sleep 6]
|
||||
linkcheck:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [prepare, render]
|
||||
commands: [sleep 4]
|
||||
32
.crow/lint.yaml
Normal file
32
.crow/lint.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
when:
|
||||
- event: [push, manual]
|
||||
|
||||
steps:
|
||||
fmt:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [sleep 4]
|
||||
vet:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [sleep 12]
|
||||
eslint:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands:
|
||||
- echo "slow on purpose, stays running for ~10 minutes"
|
||||
- sleep 600
|
||||
typecheck:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [sleep 30]
|
||||
license-headers:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [sleep 3]
|
||||
report:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [fmt, vet, eslint, typecheck, license-headers]
|
||||
commands: [echo "only runs when lint failed"]
|
||||
when:
|
||||
- status: failure
|
||||
13
.crow/notify.yaml
Normal file
13
.crow/notify.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
when:
|
||||
- event: [push, manual]
|
||||
|
||||
depends_on:
|
||||
- deploy
|
||||
|
||||
skip_clone: true
|
||||
|
||||
steps:
|
||||
announce:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [echo "deployed"]
|
||||
17
.crow/release.yaml
Normal file
17
.crow/release.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
when:
|
||||
- event: [push, manual]
|
||||
|
||||
depends_on:
|
||||
- build
|
||||
|
||||
skip_clone: true
|
||||
|
||||
steps:
|
||||
changelog:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [sleep 3]
|
||||
publish:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [changelog]
|
||||
commands: [sleep 3]
|
||||
44
.crow/test.yaml
Normal file
44
.crow/test.yaml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
when:
|
||||
- event: [push, manual]
|
||||
|
||||
steps:
|
||||
prepare:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: []
|
||||
commands: [sleep 5]
|
||||
db-migrate:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [prepare]
|
||||
commands: [sleep 8]
|
||||
api:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [prepare]
|
||||
commands: [sleep 15]
|
||||
web:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [prepare]
|
||||
commands: [sleep 25]
|
||||
integration:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [db-migrate, api]
|
||||
commands: [sleep 20]
|
||||
flaky-contract-check:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [api]
|
||||
failure: ignore
|
||||
commands:
|
||||
- sleep 6
|
||||
- echo "allowed to fail"
|
||||
- exit 1
|
||||
e2e:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [prepare, integration, web]
|
||||
commands: [sleep 30]
|
||||
smoke:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [e2e]
|
||||
commands: [sleep 5]
|
||||
upload-coverage-artifacts-to-object-storage:
|
||||
image: reg.devxy.io/docker.io/library/alpine:3.24
|
||||
depends_on: [api, smoke]
|
||||
commands: [sleep 4]
|
||||
4
README.md
Normal file
4
README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# crow-graph-demo
|
||||
|
||||
Dummy pipelines to exercise the stage-column pipeline graph from crowci/crow#1689.
|
||||
Every step only sleeps and echoes; nothing is built or deployed.
|
||||
Loading…
Reference in a new issue