File tree 5 files changed +33
-22
lines changed
5 files changed +33
-22
lines changed Original file line number Diff line number Diff line change 1
1
#! /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/
2
5
3
6
set -e
4
7
@@ -17,9 +20,9 @@ export RUN=`cat $NEXT_RUN_FILE`
17
20
RUN=$(( RUN+ 1 ))
18
21
echo $RUN > $NEXT_RUN_FILE
19
22
20
- for i in {1..1 }
23
+ for i in {1..20 }
21
24
do
22
25
export VU=$i
23
- ./node_modules/artillery/bin/artillery run art-placeorder.yaml &
26
+ ./node_modules/artillery/bin/artillery run --insecure art-placeorder.yaml &
24
27
done
25
28
wait
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
6
5
7
6
ARG release=19
8
7
ARG update=5
Original file line number Diff line number Diff line change 1
1
#! /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/
5
4
6
5
echo delete inventory-nodejs deployment...
7
6
Original file line number Diff line number Diff line change 1
-
1
+ #! /bin/bash
2
2
# #
3
3
# # Copyright (c) 2021 Oracle and/or its affiliates.
4
4
# # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
5
- export VUS=" $1 "
6
5
7
6
set -e
8
7
@@ -17,17 +16,8 @@ if [ ! -f "$NEXT_RUN_FILE" ]; then
17
16
echo 0 > $NEXT_RUN_FILE
18
17
fi
19
18
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
-
29
19
export RUN=` cat $NEXT_RUN_FILE `
30
20
RUN=$(( RUN+ 1 ))
31
21
echo $RUN > $NEXT_RUN_FILE
32
22
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