Skip to content

Commit c03ac25

Browse files
local-exec added
1 parent 171d495 commit c03ac25

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,13 @@ OCI DevOps IAM Policies are not part of the stack, please refer to <a href="http
5959

6060
Before applying the Stack fill in the vars:
6161

62-
![Stack vars](./files/stack_vars.jpg)
62+
![Stack vars](./files/stack.jpg)
6363

6464
<ul>
6565
<li><i>initial_image</i> that is used to create the OCI Function as target environment for the OCI DevOps deployment pipeline.
6666
By default it is loaded from Dockerhub, but you can use any X86 arch image if want to replace this</li>
6767
<li><i>docker_user</i> is your OCIR Docker user to push the initial image (above) to OCIR repo for the Function. Replace &lt;namespace&gt; with your <code>tenancy namespace</code>. <code>oracleidentitycloudservice</code> is only used for federated domains/users, not local</li>
6868
<li><i>docker_user</i> is our OCIR Docker user password (your user profile auth token in OCI)</li>
69-
<li></li>
7069
</ul>
7170

7271
Run Stacks's Apply to create the OCI DevOps project.

app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm/files/vars.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ variable region { default = "eu-frankfurt-1" }
22
variable registry { default = "fra.ocir.io" }
33
variable compartment_ocid { }
44
variable project_name {
5-
default = "helloworldai-java-project"
5+
default = "helloworldai-java"
66
description = "Name of the OCI DevOps project and related resources"
77
}
88
variable image_name {
9-
default = "helloworldai-java"
10-
description = "Name of the Docker image in OCIR. Important! Create/Push this into the OCIR repo for this before running this Stack, otherwise the stack will fail due to empty image in the function definition You can do this in OCI Cloud Shell using hello-world image from Docker Hub and then tagging and pushing it accordingly."
9+
default = "helloworldai"
10+
description = "Name of the image that is built by the pipelines and deployed in the target OCI Function"
1111
}
1212
variable docker_user {
1313
description = "Your docker user to login OCIR to create the initial Function image"

0 commit comments

Comments
 (0)