38 lines
399 B
YAML
38 lines
399 B
YAML
|
kind: pipeline
|
||
|
type: exec
|
||
|
name: build
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
commands:
|
||
|
- echo "testing"
|
||
|
- sleep 5
|
||
|
|
||
|
trigger:
|
||
|
event:
|
||
|
- push
|
||
|
- pull_request
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: exec
|
||
|
name: deploy
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
commands:
|
||
|
- echo test
|
||
|
- echo test2
|
||
|
- echo test3
|
||
|
- sleep 3
|
||
|
|
||
|
- name: deploy
|
||
|
commands:
|
||
|
- echo deploy
|
||
|
- sleep 3
|
||
|
trigger:
|
||
|
event:
|
||
|
- promote
|
||
|
target:
|
||
|
- production
|