11---
22kind : pipeline
3+ type : docker
34name : default
45
6+ # Build and publish docker images for analyzers
7+
58steps :
69 - name : build analyzers for release
710 image : thehiveproject/cortex-worker-builder
@@ -14,28 +17,30 @@ steps:
1417 when :
1518 event : [tag]
1619
17- - name : build responders for release
20+ - name : build snapshot analyzers
1821 image : thehiveproject/cortex-worker-builder
1922 settings :
20- worker_path : responders
23+ worker_path : analyzers
2124 namespace : cortexneurons
2225 user : {from_secret: docker_username}
2326 password : {from_secret: docker_password}
24- stable : true
2527 when :
26- event : [tag]
28+ branch :
29+ - develop
30+ event : {exclude: [tag]}
2731
28- - name : build snapshot analyzers
32+ # Build and publish docker images for responders
33+
34+ - name : build responders for release
2935 image : thehiveproject/cortex-worker-builder
3036 settings :
31- worker_path : analyzers
37+ worker_path : responders
3238 namespace : cortexneurons
3339 user : {from_secret: docker_username}
3440 password : {from_secret: docker_password}
41+ stable : true
3542 when :
36- branch :
37- - develop
38- event : {exclude: [tag]}
43+ event : [tag]
3944
4045 - name : build snapshot responders
4146 image : thehiveproject/cortex-worker-builder
@@ -49,6 +54,13 @@ steps:
4954 - develop
5055 event : {exclude: [tag]}
5156
57+ # Build and publish catalogs for docker images
58+
59+ - name : build catalogs
60+ image : thehiveproject/neurons-build-catalogs
61+ when :
62+ event : [tag]
63+
5264 - name : upload catalogs to bintray
5365 image : thehiveproject/drone-bintray
5466 settings :
@@ -83,6 +95,13 @@ steps:
8395 when :
8496 event : [tag]
8597
98+
99+ - name : build catalogs
100+ image : thehiveproject/neurons-build-catalogs
101+ when :
102+ branch :
103+ - develop
104+
86105 - name : upload devel catalogs to bintray
87106 image : thehiveproject/drone-bintray
88107 settings :
@@ -113,12 +132,7 @@ steps:
113132 branch :
114133 - develop
115134
116- - name : build catalogs
117- image : thehiveproject/neurons-build-catalogs
118- when :
119- branch :
120- - develop
121- - master
135+ # Build and publish Documentation
122136
123137 - name : Prepare documentation files
124138 image : thehiveproject/doc-builder
0 commit comments