-
Notifications
You must be signed in to change notification settings - Fork 0
/
masterScript.sh
59 lines (53 loc) · 999 Bytes
/
masterScript.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
if [ $# -lt 1 ]
then
echo "Usage: $0 <time_in_seconds>"
exit 1
fi
echo "*** "
echo "*** "
echo "*** "
echo "*** "
echo "*** starting scenario c1 $(date)"
echo "*** "
echo "*** "
echo "*** "
echo "*** "
./initLoadgenScen1.sh $1
echo "*** "
echo "*** "
echo "*** "
echo "*** "
echo "*** starting scenario c2 $(date)"
echo "*** "
echo "*** "
echo "*** "
echo "*** "
./initLoadgenScen2.sh $1
echo "*** "
echo "*** "
echo "*** "
echo "*** "
echo "*** starting scenario c3 $(date)"
echo "*** "
echo "*** "
echo "*** "
echo "*** "
#had to export again path to kubectl as it is not in path
#when running over the ssh
ssh -i /home/ubuntu/aws-markjaporeto.pem [email protected] "export PATH=$PATH:/snap/bin;./initLoadgenScen3.sh $1"
echo "*** "
echo "*** "
echo "*** "
echo "*** "
echo "*** retreiving loadgen results $(date)"
./getLoadgenLog.sh
echo "*** "
echo "*** "
echo "*** "
echo "*** "
echo "*** finished run $(date)"
echo "*** "
echo "*** "
echo "*** "
echo "*** "