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_graalee_micronaut/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 to build a Micronaut REST App
1
+
# Using Oracle GraalVM in OCI DevOps to build a Micronaut REST App
2
2
3
-
This sample shows how to use `Oracle GraalVM Enterprise Edition` in `OCI DevOps build pipelines` to build a simple Micronaut hello world REST application. You can use this approach to build any high-performance Java application with Micronaut, GraalVM Enterprise and OCI DevOps.
3
+
This sample shows how to use `Oracle GraalVM` in `OCI DevOps build pipelines` to build a simple Micronaut hello world REST application. You can use this approach to build any highperformance Java application with Micronaut, 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
## What is Micronaut
14
14
@@ -32,7 +32,7 @@ This sample shows how to use `Oracle GraalVM Enterprise Edition` in `OCI DevOps
32
32
## Objectives
33
33
34
34
- Create an OCI build pipeline.
35
-
- Make a build using Oracle GraalVM Enterprise Edition.
35
+
- Make a build using Oracle GraalVM.
36
36
- Here the focus will be on the build specification and DevOps build pipeline
37
37
38
38
@@ -82,6 +82,7 @@ Allow dynamic-group <YOUR_DynamicGroup_NAME> to use ons-topics in compartment <
82
82

83
83
84
84
- Click `Next` and provide the details.
85
+
- 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).
85
86
86
87

87
88
@@ -96,14 +97,14 @@ Allow dynamic-group <YOUR_DynamicGroup_NAME> to use ons-topics in compartment <
96
97
97
98
## Take a closer look at the build instructions below
98
99
99
-
To install and use GraalVM Enterprise with Micronaut REST in the DevOps build pipeline, the build specification file is as follows:
100
+
To install and use Oracle GraalVM with Micronaut REST in the DevOps build pipeline, the build specification file is as follows:
100
101
101
-
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.
102
+
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.
102
103
103
104
```shell
104
105
steps:
105
106
- type: Command
106
-
name: "Install GraalVM Enterprise 22.x Native Image for Java17"
107
+
name: "Install Oracle GraalVM Enterprise 22.x Native Image for Java17"
107
108
command: |
108
109
yum -y install graalvm22-ee-17-native-image
109
110
```
@@ -170,7 +171,9 @@ To install and use GraalVM Enterprise with Micronaut REST in the DevOps build pi
170
171
type: DOCKER_IMAGE
171
172
location: ${TAG}
172
173
```
173
-
Here's the complete [build specification](build_spec.yaml) file.
174
+
Here's the complete [build specification for GraalVM Enterprise 22.x Java 17](build_spec.yaml) file. Alternatively, you can use the
175
+
[build specification for Oracle GraalVM for JDK 17](./build_spec_oracle_graalvm_jdk17.yaml) or
176
+
[build specification for Oracle GraalVM for JDK 20](./build_spec_oracle_graalvm_jdk20.yaml).
174
177
175
178
176
179
## How to export the executable file outside of the build pipeline stage.
@@ -338,9 +341,9 @@ You can create an OCI Container registry and push the build container image whic
338
341
References
339
342
==========
340
343
341
-
- Using GraalVM Enterprisein DevOps Build Pipelines - https://docs.oracle.com/en-us/iaas/Content/devops/using/graalvm.htm
344
+
- Using Oracle GraalVMin DevOps Build Pipelines - https://docs.oracle.com/en-us/iaas/Content/devops/using/graalvm.htm
0 commit comments