You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These set-up steps have already been run for you. They are documented here for your awareness and education and will be useful when you want to set up Merlin in your own environment.
5
5
6
-
After your Infrastructure has been installed/configured, but before you can actually start using Merlin:
7
-
8
-
1. Configure git for Source Configuration Management
4. Create Application definition - source and object libraries
6
+
1. Setup git
7
+
1. Configure git repository for Source Configuration Management
8
+
2. Load ARCAD-EXAMPLE source into git repository (in general, if necessary migrate source from physical files -> IFS -> git repository)
9
+
3. Generate SSH key pair for use from Merlin IDE, git repository, and IBM i userid
10
+
4. Configure webhook for Arcad builder
11
+
2. Create ide and cicd projects in Merlin
12
+
3. Install IDE tool into ide project, install CICD tool into cicd project
13
+
4. Create Merlin users, e.g. `lparXuserY`
14
+
5. Add Inventory for each IBM i hostname
15
+
6. Add Merlin users and inventory into group
16
+
7. Add group to project
17
+
8. For each user, create credentials with IBM i userid and password, create template using credential and inventory
18
+
9. Run IBM i configuration for Merlin
19
+
10. In CICD tool:
20
+
1. initialize internal Jenkins server
21
+
2. add users
22
+
3. add jenkins credential for IBM i user id to access ARCAD build server,
23
+
4. enable ARCAD integration for jenkins server
24
+
<!--4. Create Application definition - source and object libraries-->
12
25
13
26
### Configuring of Source Control Management
14
27
Modern application development presupposes good source control that can enable best practices.
15
-
Git is the most popular source code which can be used to drived your CI/CD pipeline suing web-hooks that can trigger builds when certain events happen in git. There are many different web interfaces to git that help automate the development process. These include Github, Gitlab and Gitbucket. If this is hosted outside of Merlin than the git hook needs some firewall configuration to access the builders running in Merlin. The sandobx environment is configured with Gitbucket running on the IBM i. This means that no new server is required and everything runs within the same secure network. The source for the demo the repository already contains the sample application source and the git hook is configured. Arcad products clone source from the git repository when doing builds on the IBM i and the user profile launching this needs to have the ssh key set up to access the git repository. This also taken care of the sandbox environmetn.
28
+
Git is the most popular source code which can be used to drive your CI/CD pipeline using web-hooks that can trigger builds when certain events happen in git. There are many different web interfaces to git that help automate the development process. These include Github, Gitlab and Gitbucket. If this is hosted outside of Merlin than the web-hook needs some firewall configuration to access the builders running in Merlin. The sandbox environment is configured with Gitbucket running on the IBM i. This means that no new server is required and everything runs within the same secure network. The source for the demo the repository already contains the sample application source and the web-hook is configured. Arcad products clone source from the git repository when doing builds on the IBM i and the user profile launching this needs to have the ssh key set up to access the git repository. This also taken care of the sandbox environment.
16
29
17
-
### IBM i integration in Merlin
30
+
### IBM i configuration for Merlin
18
31
19
32
<!-- panels:start -->
20
33
@@ -23,10 +36,10 @@ Git is the most popular source code which can be used to drived your CI/CD pipel
23
36
6 actions on IBM i performed sequentially from Merlin by the Administrator:
24
37
25
38
1. Enable ansible (_this is the automation framework used for the subsequent steps_)
26
-
2. Validate PTF level (_ensures that the IBM i is a the prequisite software level_)
27
-
3. Install certificates (_are required to have encrypted HTTPS communications_)
39
+
2. Validate PTF level (_ensures that the IBM i is at the prerequisite software level_)
40
+
3. Install certificates (_required to have encrypted HTTPS communications_)
28
41
4. Enable IBM i Developer (_configures IBM i backend for Merlin_)
29
-
5. Enable remote debugger (_configures IBM i backend for the debugger_)
42
+
5. Enable debug service (_configures IBM i backend for the debugger_)
30
43
6. Enable Arcad (_install Arcad solutions on the target IBM i_)
31
44
32
45
<!-- div:right-panel -->
@@ -37,16 +50,17 @@ Git is the most popular source code which can be used to drived your CI/CD pipel
37
50
38
51
---
39
52
40
-
### Creation of an Arcad Application
41
-
53
+
<!--### Creation of an Arcad Application
54
+
-->
42
55
<!-- panels:start -->
43
56
44
57
<!-- div:left-panel -->
45
58
46
-
The Arcad application has already been created for you.
59
+
<!--The Arcad application has already been created for you.
47
60
When doing this for your own application this can easily be done from with the IDE as an action on the IBM i project or alternatively it can be done through Arcad green screen commands.
* URL to Merlin landing page will be provided to you.
17
+
*Merlin userid and password will be provided to you.
18
18
19
19
<!-- div:right-panel -->
20
20
@@ -30,9 +30,7 @@ Result: Source files migrated to git
30
30
31
31
### Landing page
32
32
33
-
Accessible services granted by Merlin administrators.
34
-
35
-
Here, teamX users (group "techxchange") have access to projects "cicd" and "merlin-tools". "cicd" and "merlin-tools" have provisioned services: IBM i CI/CD and and IBM i Developer, respectively.
33
+
Here, users have access to projects "cicd" and "ide" which have provisioned services: IBM i CI/CD and IBM i Developer (as configured by Merlin admin).
36
34
37
35
Isolation can be done by projects, with different authorizations & roles on resources.
38
36
@@ -75,7 +73,7 @@ Merlin can provision IBM i VM for a project (dev environment etc). PowerVC / Pow
75
73
76
74
<!-- div:left-panel -->
77
75
78
-
**Starting Point**: Merlin admin already created an Inventory entry with your IBM i and authorized you to use it. System name with arcad-example application: MONZA, IP Address is *will be provided to you*.
76
+
**Starting Point**: Under **Connections**, Merlin admin already created an Inventory entry with your IBM i hostname and authorized you to use it.
79
77
80
78
<!-- div:right-panel -->
81
79
@@ -89,11 +87,7 @@ Merlin can provision IBM i VM for a project (dev environment etc). PowerVC / Pow
89
87
90
88
<!-- div:left-panel -->
91
89
92
-
Go to Credentials > Add new credential > fill in with your IBM i (MONZA) user profile
93
-
94
-
* Name: `teamX-profile-monza`
95
-
* Username: `teamX` (X from 1 to 12)
96
-
* Password: `abc123`
90
+
Merlin admin already created a Credential entry with your IBM i userid and password.
97
91
98
92
<!-- div:right-panel -->
99
93
@@ -107,39 +101,33 @@ Go to Credentials > Add new credential > fill in with your IBM i (MONZA) user pr
107
101
108
102
<!-- div:left-panel -->
109
103
110
-
### Creation of your template
111
-
112
-
Go to Templates > add new template
113
-
114
-
* Name: `teamX-template-monza`
115
-
* Inventory: ibmi
116
-
* Credential: your credential created before
104
+
Merlin admin already created a template which associates the defined inventory and credential together. This Merlin template will be used by IBM i Developer so you can interact with your IBM i and services (compiler, debugger, arcad tools, etc.).
117
105
118
106
<!-- div:right-panel -->
119
107
120
108

121
109
122
110
<!-- panels:end -->
123
111
124
-
> [!TIP]
125
-
> This Merlin template will be used by IBM i Developer so you can interact with your IBM i and services (compiler, debugger, arcad tools, etc.)
126
-
127
112
---
128
113
129
114
<!-- panels:start -->
130
115
131
116
<!-- div:left-panel -->
132
117
118
+
<!--
133
119
### Launch IDE
134
120
135
121
Go to Tools > Deployed Tools
136
122
137
123
* Project: merlin-tools
138
124
139
125
Right click on IBM i Developer, Launch the Application (you may have to Open the workspace if it doesn’t automatically)
Copy file name to clipboardExpand all lines: docs/workshop/ide_overview.md
+7-5
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,14 @@
1
1
2
+
## IDE Workspace
3
+
2
4

3
5
4
6
* Green panel: Explorer Panel, file explorer containing git repository files (source) + other IBM i specific explorers like IBM i Project Explorer, Arcad view, Job Logs…
5
7
* Orange panel: central code Panel, where you can visualize and update your source code.
6
8
* Red panel: outline view displays all defined variables, structs and files in active editor
7
9
* Blue panel: Problems & Output view, compilation output, warnings, etc.
8
10
9
-
###ILE RPG has most support
11
+
## ILE RPG has extensive support
10
12
11
13
* Outline
12
14
* Model created
@@ -19,9 +21,8 @@
19
21
* And lets you go to those calls
20
22
* Collapsible blocks of code
21
23
22
-
## Features
23
24
24
-
### Tokenisation
25
+
### Tokenization
25
26
26
27

27
28
@@ -72,7 +73,7 @@
72
73
73
74
<!-- div:left-panel -->
74
75
75
-
###SQL
76
+
## SQL
76
77
77
78
* Tokenization
78
79
* Formatting
@@ -87,6 +88,7 @@
87
88
88
89
---
89
90
91
+
## IBM i Workspace actions
90
92
<!-- panels:start -->
91
93
92
94
<!-- div:left-panel -->
@@ -112,7 +114,7 @@ Press F1, then type “IBM” to see the IBM i functions available:
112
114
113
115
<!-- div:left-panel -->
114
116
115
-
###Fast open
117
+
## Fast open
116
118
117
119
Using Control/Command + P to filter workspace files.
Your mission is to modernize your application and development practices, from green screen to a collaborative git/VS Code era with DevOps automation 😄
3
+
Your mission is to modernize your application and development practices, from green screen to a collaborative git/VS Code era with DevOps automation 😄 . The ARCAD-EXAMPLE application will be used.
4
4
5
-
Merlin can support any kind of build mechanisms (like GNU make, or BoB) but as it is a complex application, decision was made to use Merlin with its powerful Arcad Software features. ARCAD-EXAMPLE app is already initialized in Merlin/Arcad…
5
+
Merlin can support any kind of build mechanisms (like GNU make, or BoB). As the example application is a complex application, the decision was made to use Merlin with its powerful Arcad Software features. The example application is already initialized in Merlin/Arcad.
6
6
7
-
You are part of a team of 12 developers, on-boarded on Merlin: team1 to 12, all working on the same arcad-example application, on distinct branches feature/teamXX (XX = 1 to 12).
7
+
You are part of a team developers on-boarded on Merlin. Each developer will work on the same arcad-example application on distinct branches.
8
8
9
-
The Application source members have already been migrated from QSYS.LIB to a git repository, managed by Merlin as an Arcad Project. Webhooks are configured on Git so every action in git is caught by Merlin/Arcad Builder.
9
+
The application source members have already been migrated from QSYS.LIB to a git repository, managed by Merlin as an Arcad Project. Webhooks are configured on Git so every action in git is caught by Merlin/Arcad Builder.
0 commit comments