Commit 7add180 1 parent 6e67ba7 commit 7add180 Copy full SHA for 7add180
File tree 1 file changed +37
-9
lines changed
1 file changed +37
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
kind : pipeline
3
- name : default
3
+ name : pull-request
4
4
5
5
platform :
6
6
os : linux
7
7
arch : amd64
8
8
9
9
steps :
10
- - name : build
11
- pull : always
10
+ - name : test
11
+ pull : default
12
12
image : plugins/docker
13
13
settings :
14
14
context : .
15
15
dockerfile : Dockerfile.prod
16
16
dry_run : true
17
17
repo : rancher/docs
18
- tag : dev
19
18
when :
20
19
event :
21
20
- pull_request
22
21
22
+ ---
23
+ kind : pipeline
24
+ name : dev
25
+
26
+ platform :
27
+ os : linux
28
+ arch : amd64
29
+
30
+ steps :
23
31
- name : publish-dev
24
- pull : always
32
+ pull : default
25
33
image : plugins/docker
26
34
settings :
27
35
context : .
28
36
dockerfile : Dockerfile.dev
37
+ group : publish
29
38
repo : rancher/docs
30
39
tag : dev
31
40
password :
@@ -38,12 +47,22 @@ steps:
38
47
event :
39
48
- push
40
49
50
+ ---
51
+ kind : pipeline
52
+ name : staging
53
+
54
+ platform :
55
+ os : linux
56
+ arch : amd64
57
+
58
+ steps :
41
59
- name : publish-staging
42
- pull : always
60
+ pull : default
43
61
image : plugins/docker
44
62
settings :
45
63
context : .
46
64
dockerfile : Dockerfile.staging
65
+ group : publish
47
66
repo : rancher/docs
48
67
tag : staging
49
68
password :
@@ -56,8 +75,17 @@ steps:
56
75
event :
57
76
- push
58
77
78
+ ---
79
+ kind : pipeline
80
+ name : production
81
+
82
+ platform :
83
+ os : linux
84
+ arch : amd64
85
+
86
+ steps :
59
87
- name : publish-latest
60
- pull : always
88
+ pull : default
61
89
image : plugins/docker
62
90
settings :
63
91
context : .
@@ -75,8 +103,8 @@ steps:
75
103
event :
76
104
- push
77
105
78
- - name : publish-latest- algolia
79
- pull : always
106
+ - name : publish-algolia
107
+ pull : default
80
108
image : plugins/docker
81
109
settings :
82
110
context : .
You can’t perform that action at this time.
0 commit comments