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: oci-build-examples/oci_devops_build_with_graalenterprise/README.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
-
# Using GraalVM Enterprise in OCI DevOps Build Pipelines to build a Java App
1
+
# Using Oracle GraalVM in OCI DevOps Build Pipelines to build a Java App
2
2
3
-
This sample shows how to use `Oracle GraalVM Enterprise Edition` in `OCI DevOps build pipelines` to build a Java hello world application. You can use this approach to build any high-performance Java application with GraalVM Enterprise and OCI DevOps.
3
+
This sample shows how to use `Oracle GraalVM` in `OCI DevOps build pipelines` to build a Java hello world application. You can use this approach to build any highperformance Java application with Oracle GraalVM and OCI DevOps.
4
4
5
5
## What is GraalVM?
6
6
7
-
-Oracle GraalVM Enterprise is a high-performance JDK distribution that can accelerate any Java workload running on the HotSpot JVM.
7
+
- GraalVM is a highperformance JDK distribution that can accelerate any Java workload running on the HotSpot JVM.
8
8
9
-
-Oracle GraalVM Enterprise Native Image ahead-of-time compilation enables you to build lightweight Java applications that are smaller, faster, and use less memory and CPU. At build time, GraalVM Native Image analyzes a Java application and its dependencies to identify just what classes, methods, and fields are necessary and generates optimized machine code for just those elements.
9
+
- GraalVM Native Image ahead-of-time compilation enables you to build lightweight Java applications that are smaller, faster, and use less memory and CPU. At build time, GraalVM Native Image analyzes a Java application and its dependencies to identify just what classes, methods, and fields are necessary and generates optimized machine code for just those elements.
10
10
11
-
- Oracle GraalVM Enterprise Edition is available for use on Oracle Cloud Infrastructure (OCI) at no additional cost.
11
+
- Oracle GraalVM is available for use on Oracle Cloud Infrastructure (OCI) at no additional cost.
12
12
13
13
14
14
@@ -27,7 +27,7 @@ This sample shows how to use `Oracle GraalVM Enterprise Edition` in `OCI DevOps
27
27
## Objectives
28
28
29
29
- Create an OCI build pipeline.
30
-
- Make a build using Oracle GraalVM Enterprise edition.
30
+
- Make a build using Oracle GraalVM.
31
31
- Here the focus will be on the build specification and DevOps build pipeline
32
32
33
33
@@ -77,6 +77,7 @@ Allow dynamic-group <YOUR_DynamicGroup_NAME> to use ons-topics in compartment <
77
77

78
78
79
79
- Click `Next` and provide the details.
80
+
- In the `Build spec file path`, enter `build_spec.yaml` to use the [GraalVM Enterprise 22.x Java 17 build spec](build_spec.yaml). Alternatively, you can enter `build_spec_oracle_graalvm_jdk17.yaml` to use the [Oracle GraalVM for JDK 17 build spec](./build_spec_oracle_graalvm_jdk17.yaml) or `build_spec_oracle_graalvm_jdk20.yaml` to use the [Oracle GraalVM for JDK 20 build spec](./build_spec_oracle_graalvm_jdk20.yaml).
80
81
81
82

82
83
@@ -91,14 +92,14 @@ Allow dynamic-group <YOUR_DynamicGroup_NAME> to use ons-topics in compartment <
91
92
92
93
## Take a closer look at the build instructions below
93
94
94
-
To install and use GraalVM Enterprise in the DevOps build pipeline, the build specification file is as follows:
95
+
To install and use Oracle GraalVM in the DevOps build pipeline, the build specification file is as follows:
95
96
96
-
1. Add the following command to install one or more required GraalVM Enterprise components. For example, this command installs Native Image along with the Java Development Kit (JDK) and other necessary dependencies.
97
+
1. Add the following command to install the required Oracle GraalVM components. For example, this command installs Native Image along with the Java Development Kit (JDK) and other necessary dependencies.
97
98
98
99
```shell
99
100
steps:
100
101
- type: Command
101
-
name: "Install GraalVM Enterprise 22.x Native Image for Java17"
102
+
name: "Install Oracle GraalVM Enterprise 22.x Native Image for Java17"
102
103
command: |
103
104
yum -y install graalvm22-ee-17-native-image
104
105
```
@@ -144,7 +145,9 @@ To install and use GraalVM Enterprise in the DevOps build pipeline, the build sp
144
145
location: target/my-app
145
146
```
146
147
147
-
Here's the complete [build specification](build_spec.yaml) file.
148
+
Here's the complete [build specification for GraalVM Enterprise 22.x Java 17](build_spec.yaml) file. Alternatively, you can use the
149
+
[build specification for Oracle GraalVM for JDK 17](./build_spec_oracle_graalvm_jdk17.yaml) or
150
+
[build specification for Oracle GraalVM for JDK 20](./build_spec_oracle_graalvm_jdk20.yaml).
148
151
149
152
150
153
## How to export the executable file outside of the build pipeline stage.
@@ -286,9 +289,9 @@ The following instructions will help you to export the `executable app file` to
286
289
References
287
290
==========
288
291
289
-
- Using GraalVM Enterprisein DevOps Build Pipelines - https://docs.oracle.com/en-us/iaas/Content/devops/using/graalvm.htm
292
+
- Using Oracle GraalVMin DevOps Build Pipelines - https://docs.oracle.com/en-us/iaas/Content/devops/using/graalvm.htm
0 commit comments