@@ -16,7 +16,11 @@ rm -rf tests-integration/rollup/dist
16
16
rm -f tests-integration/rollup/package-lock.json
17
17
rm -rf tests-integration/webpack/node_modules
18
18
rm -rf tests-integration/webpack/dist
19
- rm -f tests-integration/rollup/package-lock.json
19
+ rm -f tests-integration/webpack/package-lock.json
20
+ rm -rf tests-integration/node-channel/node_modules
21
+ rm -rf tests-integration/node-channel/dist
22
+ rm -f tests-integration/node-channel/package-lock.json
23
+ rm -rf tests-integration/node-channel/k6
20
24
21
25
echo " Installing packages for core..."
22
26
cd core
51
55
echo " Building node-channel..."
52
56
npm run build
53
57
54
-
55
58
# Note we do install, we don't checkin package-lock here as otherwise npm will use cache (so something old) for these if
56
59
# they were previously installed, can't have that with tests, they need to be reliable.
57
60
echo " "
@@ -67,6 +70,21 @@ npm install
67
70
echo " Building tests-integration/webpack..."
68
71
npm run build
69
72
73
+ cd ../node-channel
74
+ echo " Downloading and putting k6 in node-channel/k6 directory..."
75
+ mkdir -p k6/tmp
76
+ cd k6/tmp
77
+ wget -c -O k6.tar.gz https://github.com/grafana/k6/releases/download/v0.50.0/k6-v0.50.0-linux-amd64.tar.gz
78
+ tar xvf k6.tar.gz --strip-components=1
79
+ chmod +x k6
80
+ mv k6 ../
81
+ cd ../../
82
+
83
+ echo " Installing packages for tests-integration/node-channel"
84
+ npm install
85
+ echo " Building tests-integration/node-channel..."
86
+ npm run build
87
+
70
88
cd ../../
71
89
72
90
echo -e " \nInstallation success.\n"
0 commit comments