forked from mies/getting-started-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 15
/
devtron-ci.yaml
56 lines (56 loc) · 1.41 KB
/
devtron-ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version: 0.0.1
pipelineConf:
- appliesTo:
- type: BRANCH_FIXED
value:
- master
- type: TAG_PATTERN
value:
- "%d.%d.%d-rc"
- ".*-rc"
beforeDockerBuildStages:
- name: "test-1"
script: |
date > test.report
echo 'hello'
outputLocation: "./test.report"
- name: "test-2"
script: |
date > test2.report
outputLocation: "./test2.report"
afterDockerBuildStages:
- name: "test-3"
script: |
date > test3.report
echo 'hello'
outputLocation: "./test3.report"
- name: "test-4"
script: |
date > test4.report
outputLocation: "./test4.report"
- name: "test-5"
script: |
apk add lua5.3
apk add lua5.3-dev
echo 'print("Hello World")' > hello.lua
lua5.3 hello.lua > test5.txt
outputLocation: "./test5.txt"
- appliesTo:
- type: BRANCH_FIXED
value:
- qa
- type: TAG_PATTERN
value:
- "%d.%d.%d-rc"
beforeDockerBuildStages:
- name: "stage2-test-1"
script: |
date > test5.report
echo 'hello'
outputLocation: "./test5.report"
afterDockerBuildStages:
- name: "stage2-test-2"
script: |
date > test6.report
echo 'hello'
outputLocation: "./test6.report"