test promote
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2021-05-15 11:00:09 +08:00
parent 1a83f2ed5d
commit 767ca5dadd

View File

@@ -1,18 +1,34 @@
---
kind: pipeline
type: docker
name: build_linux_test
trigger:
event:
- pull_request
- push
steps:
- name: build_test
image: gcc
commands:
- echo "start test"
- gcc main.c -o test
- ./test
---
kind: pipeline
type: docker
name: build_linux_test
trigger:
event:
- pull_request
- push
steps:
- name: build_test
image: gcc
commands:
- echo "start test"
- gcc main.c -o test
- ./test
---
kind: pipeline
type: docker
name: promote_test
trigger:
event:
- promote
target:
- production
steps:
- name: test
image: gcc
commands:
- echo "start test"