Skip to content

Commit 95900eb

Browse files
committed
revert changes on ci script
1 parent 169d283 commit 95900eb

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

.ci/test-docs.sh

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,35 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
66
cd "$here"
77

88
docker-compose -f ./doc/docker-compose.yml pull
9-
# docker-compose -f ./doc/docker-compose.yml run doc-tests node index
10-
# EXIT=$?
11-
# docker-compose -f ./doc/docker-compose.yml down
9+
docker-compose -f ./doc/docker-compose.yml run doc-tests node index
10+
EXIT=$?
11+
docker-compose -f ./doc/docker-compose.yml down
1212

1313
docker-compose -f ./doc/docker-compose.yml up -d kuzzle
1414

15-
# until $(curl --output /dev/null --silent --head --fail http://localhost:7512); do
16-
# printf '.'
17-
# sleep 5
18-
# done
19-
20-
# cd ${here}/../doc/7/getting-started/.react/with-redux
21-
# npm ci
22-
# SKIP_PREFLIGHT_CHECK=true npm run start &
23-
# until $(curl --output /dev/null --silent --head --fail http://localhost:3000); do
24-
# printf '.'
25-
# sleep 5
26-
# done
27-
# npm run test
28-
# kill $(lsof -t -i:3000)
29-
30-
# cd ${here}/../doc/7/getting-started/.react/standalone
31-
# npm ci
32-
# SKIP_PREFLIGHT_CHECK=true npm run start &
33-
# until $(curl --output /dev/null --silent --head --fail http://localhost:3000); do
34-
# printf '.'
35-
# sleep 5
36-
# done
37-
# npm run test
15+
until $(curl --output /dev/null --silent --head --fail http://localhost:7512); do
16+
printf '.'
17+
sleep 5
18+
done
19+
20+
cd ${here}/../doc/7/getting-started/.react/with-redux
21+
npm ci
22+
SKIP_PREFLIGHT_CHECK=true npm run start &
23+
until $(curl --output /dev/null --silent --head --fail http://localhost:3000); do
24+
printf '.'
25+
sleep 5
26+
done
27+
npm run test
28+
kill $(lsof -t -i:3000)
29+
30+
cd ${here}/../doc/7/getting-started/.react/standalone
31+
npm ci
32+
SKIP_PREFLIGHT_CHECK=true npm run start &
33+
until $(curl --output /dev/null --silent --head --fail http://localhost:3000); do
34+
printf '.'
35+
sleep 5
36+
done
37+
npm run test
3838

3939
cd ${here}/../doc/7/getting-started/.vuejs
4040
npm ci
@@ -45,15 +45,15 @@ until $(curl --output /dev/null --silent --head --fail http://localhost:8080); d
4545
done
4646
npm run test
4747

48-
# cd ${here}/../doc/7/getting-started/.react-native
49-
# # Here we use install instead of ci because expo-cli cannot be installed with ci
50-
# npm install
51-
# npm run web &
52-
# until $(curl --output /dev/null --silent --head --fail http://localhost:19006); do
53-
# printf '.'
54-
# sleep 5
55-
# done
56-
# npm run test
48+
cd ${here}/../doc/7/getting-started/.react-native
49+
# Here we use install instead of ci because expo-cli cannot be installed with ci
50+
npm install
51+
npm run web &
52+
until $(curl --output /dev/null --silent --head --fail http://localhost:19006); do
53+
printf '.'
54+
sleep 5
55+
done
56+
npm run test
5757

5858
cd ${here}
5959
docker-compose -f ./doc/docker-compose.yml down

0 commit comments

Comments
 (0)