Skip to content

Commit 05b3d83

Browse files
authored
QA to examples-nosql-cluster-deployment - Urgent fixes for LiveLab serverless (#166)
* QA April 2024 - using latest NoSQL version for examples-nosql-cluster-deployment - adapting the code to use ARM images by default - the default instance for Cloud Shell is now ARM * QA - April 2024 - new zip files * Update data.sh because PAR URL expiration * Update data.sh * QA : new zip files * QA new zip files * Update data.sh * New zip files
1 parent 79da812 commit 05b3d83

File tree

19 files changed

+25
-63
lines changed

19 files changed

+25
-63
lines changed

demo-livelab/demo-lab-nosql/data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mkdir ~/BaggageData
22
cd ~/BaggageData
3-
curl https://objectstorage.us-ashburn-1.oraclecloud.com/p/GzwEz9xBCBHrd0gx1QE0U8hqvNTKzmKcs1pSx3CQ2Ip9A05Z1vHgPNeVRMx_1cLp/n/c4u04/b/livelabsfiles/o/data-management-library-files/BaggageData.tar.gz -o BaggageData.tar.gz
3+
curl https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/BaggageData.tar.gz -o BaggageData.tar.gz
44
tar xvzf BaggageData.tar.gz
55
rm BaggageData.tar.gz
66

demo-livelab/serverless-with-nosql-database/data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mkdir ~/BaggageData
22
cd ~/BaggageData
3-
curl https://objectstorage.us-ashburn-1.oraclecloud.com/p/GzwEz9xBCBHrd0gx1QE0U8hqvNTKzmKcs1pSx3CQ2Ip9A05Z1vHgPNeVRMx_1cLp/n/c4u04/b/livelabsfiles/o/data-management-library-files/BaggageData.tar.gz -o BaggageData.tar.gz
3+
curl https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/BaggageData.tar.gz -o BaggageData.tar.gz
44
tar xvzf BaggageData.tar.gz
55
rm BaggageData.tar.gz
66

demo-livelab/serverless-with-nosql-database/functions-fn/api/demo-api/Dockerfile

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
schema_version: 20180708
22
name: demo-api
33
version: 0.0.1
4-
runtime: docker
4+
runtime: node
5+
build_image: fnproject/node:18-dev
6+
run_image: fnproject/node:18
7+
entrypoint: node func.js
58
memory: 256
69
timeout: 120
7-
idle_timeout: 1800
10+
idle_timeout: 1800

demo-livelab/serverless-with-nosql-database/functions-fn/load/demo-keyval-load/Dockerfile

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
schema_version: 20180708
22
name: demo-keyval-load
33
version: 0.0.1
4-
runtime: docker
4+
runtime: node
5+
build_image: fnproject/node:18-dev
6+
run_image: fnproject/node:18
7+
entrypoint: node func.js
58
memory: 256
69
timeout: 120
7-
idle_timeout: 1800
10+
idle_timeout: 1800

demo-livelab/serverless-with-nosql-database/functions-fn/load/demo-load/Dockerfile

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
schema_version: 20180708
22
name: demo-load
33
version: 0.0.1
4-
runtime: docker
4+
runtime: node
5+
build_image: fnproject/node:18-dev
6+
run_image: fnproject/node:18
7+
entrypoint: node func.js
58
memory: 256
69
timeout: 120
7-
idle_timeout: 1800
10+
idle_timeout: 1800

demo-livelab/serverless-with-nosql-database/functions-fn/streaming/load-target/func.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ schema_version: 20180708
22
name: load-target
33
version: 0.0.1
44
runtime: python
5+
build_image: fnproject/python:3.11-dev
6+
run_image: fnproject/python:3.11
57
entrypoint: /python/bin/fdk /function/func.py handler
68
memory: 256
79
timeout: 300

demo-livelab/serverless-with-nosql-database/functions.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ resource oci_functions_application export_nosql_demos_1 {
99
defined_tags = {
1010
}
1111
display_name = "nosql_demos"
12+
shape = "GENERIC_ARM"
1213
freeform_tags = {
1314
}
1415
subnet_ids = [

0 commit comments

Comments
 (0)