Skip to content

Commit 575dfe8

Browse files
authored
Merge pull request #19 from IBM/workshop-cicd
cicd workshop docs
2 parents 0652af9 + 9fe68c0 commit 575dfe8

19 files changed

+234
-2
lines changed

docs/workshop/06/cicd_a.png

44.3 KB
Loading

docs/workshop/06/cicd_b.png

57.2 KB
Loading

docs/workshop/06/cicd_c.png

59.5 KB
Loading

docs/workshop/06/cicd_d.png

60.8 KB
Loading

docs/workshop/06/cicd_e.png

15 KB
Loading

docs/workshop/06/cicd_f.png

18.9 KB
Loading

docs/workshop/06/cicd_g.png

68.9 KB
Loading

docs/workshop/06/cicd_h.png

74.2 KB
Loading

docs/workshop/06/cicd_i.png

15.9 KB
Loading

docs/workshop/06/cicd_j.png

38.9 KB
Loading

docs/workshop/06/cicd_k.png

7.28 KB
Loading

docs/workshop/06/cicd_l.png

39.9 KB
Loading

docs/workshop/06/cicd_m.png

75 KB
Loading

docs/workshop/06/cicd_n.png

100 KB
Loading

docs/workshop/06/cicd_o.png

6.33 KB
Loading

docs/workshop/06/cicd_p.png

74.3 KB
Loading

docs/workshop/06/cicd_q.png

34.4 KB
Loading

docs/workshop/06_cicd.md

Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
## CI/CD
2+
3+
4+
5+
<!-- panels:start -->
6+
7+
<!-- div:left-panel -->
8+
9+
From `Home>Overview` on the Merlin dashboard, launch the `IBM i CI/CD` application using the popup menu on the application
10+
11+
<!-- div:right-panel -->
12+
13+
![](06/cicd_a.png)
14+
15+
<!-- panels:end -->
16+
17+
---
18+
19+
<!-- panels:start -->
20+
21+
<!-- div:left-panel -->
22+
23+
From `Task Management>Create New Task` tab, enter a job name, e.g. `User1_job`. Click `Next`:
24+
25+
<!-- div:right-panel -->
26+
27+
![](06/cicd_b.png)
28+
29+
<!-- panels:end -->
30+
31+
---
32+
33+
<!-- panels:start -->
34+
35+
<!-- div:left-panel -->
36+
37+
Click `Next` (no git repository needs to be specified)
38+
39+
<!-- div:right-panel -->
40+
41+
![](06/cicd_c.png)
42+
43+
<!-- panels:end -->
44+
45+
---
46+
47+
<!-- panels:start -->
48+
49+
<!-- div:left-panel -->
50+
51+
Click `Add Build Actions>Add Build Server`
52+
53+
<!-- div:right-panel -->
54+
55+
![](06/cicd_d.png)
56+
57+
<!-- panels:end -->
58+
59+
---
60+
61+
<!-- panels:start -->
62+
63+
<!-- div:left-panel -->
64+
65+
Uncheck `Upload source code`. Check `Select build server (template)` and choose the existing build server
66+
67+
<!-- div:right-panel -->
68+
69+
![](06/cicd_e.png)
70+
71+
<!-- panels:end -->
72+
73+
74+
---
75+
76+
<!-- panels:start -->
77+
78+
<!-- div:left-panel -->
79+
80+
Click `Add Build Actions>Run an ARCAD-Builder build`
81+
82+
<!-- div:right-panel -->
83+
84+
![](06/cicd_f.png)
85+
86+
<!-- panels:end -->
87+
88+
89+
---
90+
91+
<!-- panels:start -->
92+
93+
<!-- div:left-panel -->
94+
95+
Uncheck `Upload source code`. Check `Select build server (template)` and choose the existing template
96+
97+
<!-- div:right-panel -->
98+
99+
![](06/cicd_g.png)
100+
101+
<!-- panels:end -->
102+
103+
---
104+
105+
<!-- panels:start -->
106+
107+
<!-- div:left-panel -->
108+
109+
Configure the `Run an ARCAD-Builder build` then click `Next`.
110+
111+
<!-- div:right-panel -->
112+
113+
![](06/cicd_h.png)
114+
115+
<!-- panels:end -->
116+
117+
---
118+
119+
<!-- panels:start -->
120+
121+
<!-- div:left-panel -->
122+
123+
No Deploy actions are required. Click `Next`
124+
125+
<!-- div:right-panel -->
126+
127+
![](06/cicd_i.png)
128+
129+
<!-- panels:end -->
130+
131+
---
132+
133+
<!-- panels:start -->
134+
135+
<!-- div:left-panel -->
136+
137+
Review the summary and click `Finish`
138+
139+
<!-- div:right-panel -->
140+
141+
![](06/cicd_j.png)
142+
143+
<!-- panels:end -->
144+
145+
---
146+
147+
<!-- panels:start -->
148+
149+
<!-- div:left-panel -->
150+
151+
Click `Yes` to save the task
152+
153+
<!-- div:right-panel -->
154+
155+
![](06/cicd_k.png)
156+
157+
<!-- panels:end -->
158+
159+
---
160+
161+
<!-- panels:start -->
162+
163+
<!-- div:left-panel -->
164+
165+
Under `Task Management>Task Dashboard`, select `Run Task` from the popup menu on the new task
166+
167+
<!-- div:right-panel -->
168+
169+
![](06/cicd_l.png)
170+
171+
<!-- panels:end -->
172+
173+
---
174+
175+
<!-- panels:start -->
176+
177+
<!-- div:left-panel -->
178+
179+
Click `Next` on eash panel and update any values if desired.
180+
181+
<!-- div:right-panel -->
182+
183+
![](06/cicd_m.png)
184+
185+
<!-- panels:end -->
186+
187+
---
188+
189+
<!-- panels:start -->
190+
191+
<!-- div:left-panel -->
192+
193+
Click `Finish` to submit the job
194+
195+
<!-- div:right-panel -->
196+
197+
![](06/cicd_n.png)
198+
199+
<!-- panels:end -->
200+
201+
---
202+
203+
<!-- panels:start -->
204+
205+
<!-- div:left-panel -->
206+
207+
Click `Yes`
208+
209+
<!-- div:right-panel -->
210+
211+
![](06/cicd_o.png)
212+
213+
<!-- panels:end -->
214+
215+
---
216+
217+
<!-- panels:start -->
218+
219+
<!-- div:left-panel -->
220+
221+
The Build results show the final status. Additional details are provided by checking the Jenkins information
222+
223+
<!-- div:right-panel -->
224+
225+
![](06/cicd_p.png)
226+
227+
![](06/cicd_q.png)
228+
229+
<!-- panels:end -->
230+

docs/workshop/sidebar.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
- IDE
55
- [Overview](workshop/ide_overview)
66
- [Usage](workshop/03_ide)
7-
- [Observer](workshop/04_observer)
8-
- [Build](workshop/05_build)
7+
- [Observer](workshop/04_observer)
8+
- [Build](workshop/05_build)
9+
- CI/CD
10+
- [Usage](workshop/06_cicd)

0 commit comments

Comments
 (0)