32 lines
551 B
YAML
32 lines
551 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: alpine
|
|
commands:
|
|
- echo "Testing..."
|
|
|
|
- name: build
|
|
image: alpine
|
|
commands:
|
|
- echo "Building..."
|
|
|
|
- name: deploy-staging
|
|
image: alpine
|
|
commands:
|
|
- echo "Deploying to stage..."
|
|
|
|
- name: approval
|
|
image: alpine
|
|
commands:
|
|
- echo "Awaiting manual approval for production deployment."
|
|
|
|
- name: deploy-production
|
|
image: alpine
|
|
commands:
|
|
- echo "Deploying to production..."
|
|
depends_on:
|
|
- approval
|