File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,14 @@ for version in "${versions[@]}"; do
34
34
35
35
if ! docker build -t node:" $tag " " $version " ; then
36
36
fatal " Build of $tag failed!"
37
- else
38
- info " Build of $tag succeeded."
39
37
fi
38
+ info " Build of $tag succeeded."
40
39
41
40
OUTPUT=$( docker run --rm -it node:" $tag " node -e " process.stdout.write(process.versions.node)" )
42
41
if [ " $OUTPUT " != " $tag " ]; then
43
42
fatal " Test of $tag failed!"
44
- else
45
- info " Test of $tag succeeded."
46
43
fi
44
+ info " Test of $tag succeeded."
47
45
48
46
variants=$( echo " $version " /* / | xargs -n1 basename)
49
47
@@ -55,16 +53,14 @@ for version in "${versions[@]}"; do
55
53
56
54
if ! docker build -t node:" $tag -$variant " " $version /$variant " ; then
57
55
fatal " Build of $tag -$variant failed!"
58
- else
59
- info " Build of $tag -$variant succeeded."
60
56
fi
57
+ info " Build of $tag -$variant succeeded."
61
58
62
59
OUTPUT=$( docker run --rm -it node:" $tag -$variant " node -e " process.stdout.write(process.versions.node)" )
63
60
if [ " $OUTPUT " != " $tag " ]; then
64
61
fatal " Test of $tag -$variant failed!"
65
- else
66
- info " Test of $tag -$variant succeeded."
67
62
fi
63
+ info " Test of $tag -$variant succeeded."
68
64
69
65
done
70
66
You can’t perform that action at this time.
0 commit comments