Skip to content

Commit 114f2e1

Browse files
authored
Create devtron-ci.yaml
1 parent a51b84c commit 114f2e1

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

devtron-ci.yaml

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

0 commit comments

Comments
 (0)