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
+87-49Lines changed: 87 additions & 49 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +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
+
- In the `Build spec file path`, enter `build_spec_oracle_graalvm_jdk21.yaml` to use [Oracle GraalVM for JDK 21](./build_spec_oracle_graalvm_jdk21.yaml) or `build_spec_oracle_graalvm_jdk17.yaml` to use [Oracle GraalVM for JDK 17](./build_spec_oracle_graalvm_jdk17.yaml). Alternatively, you can enter `build_spec.yaml` to use the legacy [GraalVM Enterprise 22.x Java 17](build_spec.yaml).
81
81
82
82

83
83
@@ -99,17 +99,17 @@ To install and use Oracle GraalVM in the DevOps build pipeline, the build specif
99
99
```shell
100
100
steps:
101
101
- type: Command
102
-
name: "Install Oracle GraalVM Enterprise 22.x Native Image for Java17"
102
+
name: "Install Oracle GraalVM for JDK 21 (Native Image and JDK)"
@@ -139,15 +139,13 @@ To install and use Oracle GraalVM in the DevOps build pipeline, the build specif
139
139
140
140
5. The executable file can be found under `target/my-app`.
141
141
142
-
```markdown
143
-
- name: app_native_executable
144
-
type: BINARY
145
-
location: target/my-app
146
-
```
142
+
```markdown
143
+
- name: app_native_executable
144
+
type: BINARY
145
+
location: target/my-app
146
+
```
147
147
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
+
Here's the complete [build specification for Oracle GraalVM for JDK 21](./build_spec_oracle_graalvm_jdk21.yaml). Alternatively, you can use the [build specification for Oracle GraalVM for JDK 17](./build_spec_oracle_graalvm_jdk17.yaml) or the legacy [build specification for GraalVM Enterprise 22.x Java 17](build_spec.yaml) file.
151
149
152
150
153
151
## How to export the executable file outside of the build pipeline stage.
@@ -171,7 +169,7 @@ The following instructions will help you to export the `executable app file` to
171
169
172
170
- Use option `Set Custom Location` as Artifact location.
173
171
- Provide a path and version as `${BUILDRUN_HASH}`, this is to maintain immutable artifacts.
174
-
- The variable `BUILDRUN_HASH` is derived during managed build stage and exported as an exportedVariables.You may use any other name ,but ensure to update the file [build_spec.yaml](build_spec.yaml).
172
+
- The variable `BUILDRUN_HASH` is derived during managed build stage and exported as an exportedVariables.You may use any other name, but ensure to update the corresponding build specification file.
175
173
- Select `Yes, substitute placeholders` as an option and click `Add`.
176
174
177
175

@@ -186,7 +184,7 @@ The following instructions will help you to export the `executable app file` to
186
184
187
185
188
186
- Use `app_native_executable` result artifact name.
189
-
- The name `app_native_executable` is a reference to the outputArtifact defined under the the file [build_spec.yaml](build_spec.yaml).
187
+
- The name `app_native_executable` is a reference to the outputArtifact defined under the corresponding build specification file.
190
188
- Click `Add` and add the stage.
191
189
192
190

@@ -217,7 +215,7 @@ The following instructions will help you to export the `executable app file` to
217
215
## Optional - Run build with more verbose output.
218
216
219
217
- An additional build instruction file as [build_spec_verbose.yaml](build_spec_verbose.yaml)
220
-
can be used for more verbose output with the managed build.
218
+
can be used for more verbose output with the managed build.
221
219
- To do so, switch to `OCI DevOps project`>`OCI Build pipeline `> Click `3 dots` on the `Managed Build` stage and click on `View details` and then`Edit Stage`.
222
220
223
221

@@ -235,54 +233,94 @@ The following instructions will help you to export the `executable app file` to
0 commit comments