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
Copy file name to clipboardExpand all lines: en/docs/deploy/vm-based-deployment/centralized-deployment.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The source repository is responsible for the **continuous integration (CI)** pro
26
26
#### Step 3: Create and implement BI projects
27
27
28
28
- Create a new integration project using the BI VS Code extension.
29
-
- Add a meaningful description to the README
29
+
- Add a meaningful description to the README.
30
30
31
31
???+ Note
32
32
The README is required when you publish a package to a repository. You can edit the content to add a meaningful description about the integration project.
@@ -45,7 +45,7 @@ Build the project and create a self-contained executable and deployable `.jar` a
Or use Ballerina CLI to pack to use the packages in consolidated package.
48
+
Alternatively, use the Ballerina CLI to pack the artifacts for use in a consolidated package.
49
49
50
50
```bash
51
51
bal pack
@@ -55,9 +55,9 @@ bal pack
55
55
56
56
After packing the project, publish the generated artifacts to a shared artifact repository (e.g., Ballerina Central, GitHub Packages, Nexus, or internal registry).
57
57
58
-
```bash
59
-
bal push
60
-
```
58
+
```bash
59
+
bal push
60
+
```
61
61
62
62
##### Publish to Ballerina Central
63
63
@@ -94,7 +94,7 @@ See [Use custom repositories for packages management](https://ballerina.io/learn
94
94
95
95
#### Publish to custom repositories
96
96
97
-
BI supports maven repositories such as [Nexus](https://www.sonatype.com/products/sonatype-nexus-repository), [Artifactory](https://jfrog.com/artifactory/) and [GitHub packages](https://docs.github.com/en/packages).
97
+
BI supports Maven repositories such as [Nexus](https://www.sonatype.com/products/sonatype-nexus-repository), [Artifactory](https://jfrog.com/artifactory/) and [GitHub packages](https://docs.github.com/en/packages).
98
98
99
99
Follow [Using custom repositories for package management](https://ballerina.io/learn/manage-dependencies/#use-custom-repositories-for-package-management) to learn more about setting up custom repositories to publish packages.
100
100
@@ -115,7 +115,13 @@ The deployment repository acts as the central hub for production-ready integrati
115
115
- Ensure external dependencies (databases, message brokers, etc.) are configured.
116
116
117
117
#### Step 2: Fetch and consolidate artifacts
118
-
- Go to the terminal on VS Code and install the `Ballerina consolidate packages` tool
118
+
- Go to the terminal on VS Code and install the `consolidate-packages` tool
119
+
120
+
```bash
121
+
bal tool pull consolidate-packages
122
+
```
123
+
124
+
- Go to the terminal on VS Code and install the `consolidate-packages` tool
119
125
120
126
```bash
121
127
bal tool pull consolidate-packages
@@ -142,7 +148,7 @@ The deployment repository acts as the central hub for production-ready integrati
142
148
143
149
#### Step 4: Create the executable JAR for the project
144
150
145
-
- Use `bal build`commandinthe consolidated project to build.
151
+
- Use the `bal build`commandto build the consolidated project.
146
152
- The integration will be built as an executable JAR, and the JAR file will be available in the `target/bin` directory of the project.
147
153
148
154
The generated Ballerina artifact can be deployed to the target environment, configuring necessary environment variables and system settings.
0 commit comments