Skip to content

Commit e14a510

Browse files
repo create
1 parent 43d23c7 commit e14a510

File tree

1 file changed

+4
-2
lines changed
  • app-dev/devops-and-containers/devops/oci-devops-terraform-function-java-graalvm

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ Clone this repo locally. In OCI Console click <code>Create Stack</code> under <c
5454
<p>
5555
OCI DevOps IAM Policies are not part of the stack, please refer to <a href="https://docs.oracle.com/en-us/iaas/Content/devops/using/devops_iampolicies.htm">docs</a> how to create them first.
5656
<p>
57-
Important! Before running the stack it is manadatory to create the OCI Registry repository for the OCI Function container and upload a dummy X86 architecture container to it. The <b>name</b> of the OCIR repo needs to match to the <code>image_name</code> of the Stack variables e.g. <code>helloworldai-java</code>. This can by done by doing the following in OCI Cloud Shell:
57+
Important! Before running the stack it is manadatory to create the OCI Registry repository for the OCI Function container and upload a dummy X86 architecture container to it. The <b>name</b> of the OCIR repo needs to match to the <code>image_name</code> of the Stack variables e.g. <b>helloworldai-java</b>. The image tag must be '<b>1</b>'.
58+
<br>
59+
This can by done by doing the following in OCI Cloud Shell:
5860
<pre>
5961
oci artifacts container repository create --display-name helloworldai-java --compartment-id ocid1.compartment.oc1.....gq
6062
docker pull hello-world
@@ -63,7 +65,7 @@ docker push fra.ocir.io/&lt;YOUR_TENANCY_NAMESPACE&gt;/helloworldai-java:1
6365
</pre>
6466
Unless doing this the Stack will run into an error:
6567
<pre>
66-
Error: 400-InvalidParameter, Invalid Image fra.ocir.io/&lt;YOUR_TENANCY_NAMESPACE&gt;/&lt;IMAGE&gt; does not exist or you do not have access to use it
68+
Error: 400-InvalidParameter, Invalid Image fra.ocir.io/&lt;YOUR_TENANCY_NAMESPACE&gt;/helloworldai-java:1 does not exist or you do not have access to use it
6769
</pre>
6870
After doing this the Stack can be run and after the OCI DevOps project creation the build pipelines can be run to build and deploy the OCI Function.
6971

0 commit comments

Comments
 (0)