File tree Expand file tree Collapse file tree 5 files changed +33
-22
lines changed Expand file tree Collapse file tree 5 files changed +33
-22
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2+ # #
3+ # # Copyright (c) 2021 Oracle and/or its affiliates.
4+ # # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
25
36set -e
47
@@ -17,9 +20,9 @@ export RUN=`cat $NEXT_RUN_FILE`
1720RUN=$(( RUN+ 1 ))
1821echo $RUN > $NEXT_RUN_FILE
1922
20- for i in {1..1 }
23+ for i in {1..20 }
2124do
2225 export VU=$i
23- ./node_modules/artillery/bin/artillery run art-placeorder.yaml &
26+ ./node_modules/artillery/bin/artillery run --insecure art-placeorder.yaml &
2427done
2528wait
Original file line number Diff line number Diff line change 1- /*
2- ** Copyright (c) 2021 Oracle and/or its affiliates.
3- ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
4- */
5- FROM oraclelinux:7-slim
1+ # Copyright (c) 2021 Oracle and/or its affiliates.
2+ # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
3+
4+ FROM oraclelinux:7-slim
65
76ARG release=19
87ARG update=5
Original file line number Diff line number Diff line change 11#! /bin/bash
2- ** Copyright (c) 2021 Oracle and/or its affiliates.
3- ** Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
4-
2+ # Copyright (c) 2021 Oracle and/or its affiliates.
3+ # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
54
65echo delete inventory-nodejs deployment...
76
Original file line number Diff line number Diff line change 1-
1+ #! /bin/bash
22# #
33# # Copyright (c) 2021 Oracle and/or its affiliates.
44# # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
5- export VUS=" $1 "
65
76set -e
87
@@ -17,17 +16,8 @@ if [ ! -f "$NEXT_RUN_FILE" ]; then
1716 echo 0 > $NEXT_RUN_FILE
1817fi
1918
20- # export RUN=`cat $NEXT_RUN_FILE`
21- # RUN=$((RUN+1))
22- # echo $RUN > $NEXT_RUN_FILE
23-
24- # echo Warming up for 30 seconds
25- # ./k6 run --vus $VUS --duration "20s" --address localhost:6566 placeorder.js > /dev/null
26-
27- # sleep 10
28-
2919export RUN=` cat $NEXT_RUN_FILE `
3020RUN=$(( RUN+ 1 ))
3121echo $RUN > $NEXT_RUN_FILE
3222
33- ./k6 run --vus 20 --duration " 30s" --address localhost:6566 --insecure-skip-tls-verify true placeorder.js
23+ ./k6 run --vus 20 --duration " 30s" --address localhost:6566 --insecure-skip-tls-verify placeorder.js
Original file line number Diff line number Diff line change 1+ # #
2+ # # Copyright (c) 2021 Oracle and/or its affiliates.
3+ # # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
4+ apiVersion : v1
5+ kind : Service
6+ metadata :
7+ name : ext-order
8+ labels :
9+ app : order
10+ annotations :
11+ service.beta.kubernetes.io/oci-load-balancer-ssl-ports : " 443"
12+ service.beta.kubernetes.io/oci-load-balancer-tls-secret : ssl-certificate-secret
13+ spec :
14+ type : LoadBalancer
15+ ports :
16+ - port : 443
17+ name : https
18+ targetPort : 8080
19+ selector :
20+ app : order
You can’t perform that action at this time.
0 commit comments