Skip to content

Commit ccf16b3

Browse files
authored
Create devtron-ci.yaml
1 parent 9084fe3 commit ccf16b3

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

devtron-ci.yaml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
version: 0.0.1
2+
pipelineConf:
3+
- appliesTo:
4+
- type: BRANCH_FIXED
5+
value:
6+
- master
7+
- type: TAG_PATTERN
8+
value:
9+
- "%d.%d.%d-rc"
10+
- ".*-rc"
11+
beforeDockerBuildStages:
12+
- name: "test-1"
13+
script: |
14+
date > test.report
15+
echo 'hello'
16+
outputLocation: "./test.report"
17+
- name: "test-2"
18+
script: |
19+
date > test2.report
20+
outputLocation: "./test2.report"
21+
afterDockerBuildStages:
22+
- name: "test-3"
23+
script: |
24+
date > test3.report
25+
echo 'hello'
26+
outputLocation: "./test3.report"
27+
- name: "test-4"
28+
script: |
29+
date > test4.report
30+
outputLocation: "./test4.report"
31+
- name: "test-5"
32+
script: |
33+
apk add lua5.3
34+
apk add lua5.3-dev
35+
echo 'print("Hello World")' > hello.lua
36+
lua5.3 hello.lua > test5.txt
37+
outputLocation: "./test5.txt"
38+
- appliesTo:
39+
- type: BRANCH_FIXED
40+
value:
41+
- qa
42+
- type: TAG_PATTERN
43+
value:
44+
- "%d.%d.%d-rc"
45+
beforeDockerBuildStages:
46+
- name: "stage2-test-1"
47+
script: |
48+
date > test5.report
49+
echo 'hello'
50+
outputLocation: "./test5.report"
51+
afterDockerBuildStages:
52+
- name: "stage2-test-2"
53+
script: |
54+
date > test6.report
55+
echo 'hello'
56+
outputLocation: "./test6.report"

0 commit comments

Comments
 (0)