@@ -28,7 +28,7 @@ for version in "${meteor_versions[@]}"; do
28
28
SECONDS=0
29
29
30
30
rm -f test.dockerfile
31
- rm -f test.docker- compose.yml
31
+ rm -f test.compose.yml
32
32
rm -rf test-app
33
33
34
34
dockerfile=' default.dockerfile'
@@ -50,16 +50,16 @@ for version in "${meteor_versions[@]}"; do
50
50
51
51
do_sed " s|/app|/test-app|g" test.dockerfile
52
52
53
- cp docker- compose.yml test.docker- compose.yml
54
- do_sed ' s|dockerfile: Dockerfile|dockerfile: test.dockerfile|' test.docker- compose.yml
53
+ cp compose.yml test.compose.yml
54
+ do_sed ' s|dockerfile: Dockerfile|dockerfile: test.dockerfile|' test.compose.yml
55
55
56
56
echo ' Building test app Docker image...'
57
- run_with_suppressed_output ' docker compose --file test.docker- compose.yml build'
57
+ run_with_suppressed_output ' docker compose --file test.compose.yml build'
58
58
59
59
echo ' Launching test app...'
60
- run_with_suppressed_output ' docker compose --file test.docker- compose.yml up --detach'
60
+ run_with_suppressed_output ' docker compose --file test.compose.yml up --detach'
61
61
62
- # Poll until docker- compose network ready, timing out after 20 seconds
62
+ # Poll until docker compose network ready, timing out after 20 seconds
63
63
for i in {1..20}; do
64
64
(curl --silent --fail http://localhost/ | grep __meteor_runtime_config__) > /dev/null 2>&1 && break || {
65
65
if [ " $i " -lt 21 ]; then
@@ -96,11 +96,11 @@ for version in "${meteor_versions[@]}"; do
96
96
fi
97
97
98
98
if [ " ${SKIP_CLEANUP:- } " != 1 ]; then
99
- run_with_suppressed_output ' docker compose --file test.docker- compose.yml down'
99
+ run_with_suppressed_output ' docker compose --file test.compose.yml down'
100
100
run_with_suppressed_output ' docker rmi example-app:latest'
101
101
102
102
rm -f test.dockerfile
103
- rm -f test.docker- compose.yml
103
+ rm -f test.compose.yml
104
104
rm -rf test-app
105
105
fi
106
106
done
0 commit comments