2 Commits
v1.0 ... master

Author SHA1 Message Date
dd8b19f90e 更新 main.c
Signed-off-by: a1012112796 <1012112796@qq.com>
2023-06-02 10:02:44 +08:00
767ca5dadd test promote
Signed-off-by: a1012112796 <1012112796@qq.com>
2021-05-15 11:00:09 +08:00
2 changed files with 40 additions and 19 deletions

View File

@@ -16,3 +16,19 @@ steps:
- 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"

5
main.c
View File

@@ -21,3 +21,8 @@ int add(int a, int b)
{
return a + b;
}
int a1()
{
return 1;
}