File tree 6 files changed +176
-0
lines changed
incubating/pipeline-trigger-merge/sample
6 files changed +176
-0
lines changed Original file line number Diff line number Diff line change
1
+ spec :
2
+ triggers :
3
+ - name : triga
4
+ type : git
5
+ repo : ORG/REPO
6
+ events :
7
+ - push.heads
8
+ pullRequestAllowForkEvents : false
9
+ commentRegex : /.*/gi
10
+ branchRegex : /branch-a/gi
11
+ branchRegexInput : regex
12
+ provider : github
13
+ disabled : true
14
+ options :
15
+ noCache : false
16
+ noCfCache : false
17
+ resetVolume : false
18
+ verified : true
19
+ context : github
20
+ contexts : [ ]
Original file line number Diff line number Diff line change
1
+ spec :
2
+ triggers :
3
+ - name : trigb
4
+ type : git
5
+ repo : ORG/REPO
6
+ events :
7
+ - push.heads
8
+ pullRequestAllowForkEvents : false
9
+ commentRegex : /.*/gi
10
+ branchRegex : /branch-b/gi
11
+ branchRegexInput : regex
12
+ provider : github
13
+ disabled : true
14
+ options :
15
+ noCache : false
16
+ noCfCache : false
17
+ resetVolume : false
18
+ verified : true
19
+ context : github
20
+ contexts : [ ]
Original file line number Diff line number Diff line change
1
+ version : " 1.0"
2
+
3
+ stages :
4
+ - clone
5
+
6
+ steps :
7
+ clone :
8
+ title : " Cloning repository"
9
+ type : " git-clone"
10
+ repo : " ORG/REPO"
11
+ revision : " master"
12
+ stage : clone
13
+
14
+ create_pipeline :
15
+ type : laurent-cf/pipeline_trigger_merge
16
+ title : " Creating pipeline"
17
+ working_directory : ${{clone}}/sample
18
+ stage : clone
19
+ arguments :
20
+ TRIGGERS : foobar trig1.yml trig2.yml TRIGGERS
21
+ # SPEC: spec.yml
Original file line number Diff line number Diff line change
1
+ # More examples of Codefresh YAML can be found at
2
+ # https://codefresh.io/docs/docs/yaml-examples/examples/
3
+
4
+ version : " 1.0"
5
+ kind : pipeline
6
+ metadata :
7
+ name : Creator/full
8
+ project : Creator
9
+
10
+
11
+ # Stages can help you organize your steps in stages
12
+ spec :
13
+ stages :
14
+ - " clone"
15
+ - " build"
16
+ - " test"
17
+
18
+
19
+ steps :
20
+ clone :
21
+ title : " Cloning repository"
22
+ type : " git-clone"
23
+ repo : " https://github.com/codefresh-io/cli/"
24
+ revision : " master"
25
+ stage : " clone"
26
+
27
+ build :
28
+ title : " Building Docker image"
29
+ type : " build"
30
+ image_name : " codefresh-io/cli"
31
+ working_directory : " ${{clone}}"
32
+ tag : " latest"
33
+ dockerfile : " Dockerfile"
34
+ stage : " build"
35
+
36
+ test :
37
+ title : " Running test"
38
+ type : " freestyle" # Run any command
39
+ image : " codefresh-io/cli" # The image in which command will be executed
40
+ working_directory : " ${{clone}}" # Running command where code cloned
41
+ commands :
42
+ - " ls"
43
+ stage : " test"
Original file line number Diff line number Diff line change
1
+ spec :
2
+ triggers :
3
+ - name : acceptance-india
4
+ type : git
5
+ repo : ORG/REPO
6
+ events :
7
+ - push.heads
8
+ pullRequestAllowForkEvents : false
9
+ commentRegex : /.*/gi
10
+ branchRegex : /codefresh/gi
11
+ branchRegexInput : regex
12
+ provider : github
13
+ disabled : true
14
+ options :
15
+ noCache : false
16
+ noCfCache : false
17
+ resetVolume : false
18
+ verified : true
19
+ context : github
20
+ contexts : []
21
+ variables :
22
+ - key : GEO_LOCATION
23
+ value : india
24
+ - key : CLUSTER_NAME
25
+ value : qa-india-cluster
26
+ - key : NAMESPACE
27
+ value : codefresh-beauto
28
+ - key : RELEASE_NAME
29
+ value : acceptance-codefresh
30
+ - key : ENV
31
+ value : beauto
32
+ runtimeEnvironment :
33
+ name : qa.india.example.com/codefresh
34
+ cpu : 1000m
35
+ memory : 1024Mi
36
+ dindStorage : nullGi
Original file line number Diff line number Diff line change
1
+ spec :
2
+ triggers :
3
+ - name : acceptance-mx
4
+ type : git
5
+ repo : ORG/REPO
6
+ events :
7
+ - push.heads
8
+ pullRequestAllowForkEvents : false
9
+ commentRegex : /.*/gi
10
+ branchRegex : /codefresh/gi
11
+ branchRegexInput : regex
12
+ provider : github
13
+ disabled : true
14
+ options :
15
+ noCache : false
16
+ noCfCache : false
17
+ resetVolume : false
18
+ verified : true
19
+ context : github
20
+ contexts : [ ]
21
+ variables :
22
+ - key : GEO_LOCATION
23
+ value : mx
24
+ - key : CLUSTER_NAME
25
+ value : dev-mx-cluster
26
+ - key : NAMESPACE
27
+ value : codefresh-beauto
28
+ - key : RELEASE_NAME
29
+ value : acceptance-codefresh
30
+ - key : ENV
31
+ value : dev
32
+ runtimeEnvironment :
33
+ name : dev.mx.sample.com/codefresh
34
+ cpu : 1000m
35
+ memory : 1024Mi
36
+ dindStorage : nullGi
You can’t perform that action at this time.
0 commit comments