@@ -17,48 +17,36 @@ source $THIS_DIR/test-setup.sh
1717trap cleanup EXIT
1818trap dump_logs ERR
1919
20- echo
21- echo " Running test-acceptance..."
22- echo
23-
24- # test building documentation
25- make -C docs/ test
26-
27- echo
28- echo " Building from current source tree..."
29- echo
20+ log_phase " Building from current source tree"
3021
3122# build all docker images and client binaries
3223make build
3324
3425# use the built client binaries
3526export PATH=$DEIS_ROOT /deisctl:$DEIS_ROOT /client/dist:$PATH
3627
37- echo
38- echo " Running unit and functional tests..."
39- echo
28+ log_phase " Running documentation tests"
29+
30+ make -C docs/ test
31+
32+ log_phase " Running unit and functional tests"
4033
4134make test-components
4235
43- echo
44- echo " Provisioning 3-node CoreOS..."
45- echo
36+ log_phase " Provisioning 3-node CoreOS"
4637
4738export DEIS_NUM_INSTANCES=3
4839git checkout $DEIS_ROOT /contrib/coreos/user-data
4940make discovery-url
5041vagrant up --provider virtualbox
5142
52- echo
53- echo " Waiting for etcd/fleet..."
43+ log_phase " Waiting for etcd/fleet"
5444
5545until deisctl list > /dev/null 2>&1 ; do
5646 sleep 1
5747done
5848
59- echo
60- echo " Provisioning Deis on old release..."
61- echo
49+ log_phase " Provisioning Deis on old release"
6250
6351function set_release {
6452 deisctl config $1 set image=deis/$1 :$2
@@ -75,27 +63,19 @@ deisctl scale router=3
7563deisctl start router@1 router@2 router@3
7664time deisctl start platform
7765
78- echo
79- echo " Running smoke tests..."
80- echo
66+ log_phase " Running smoke tests"
8167
8268time make test-smoke
8369
84- echo
85- echo " Publishing new release..."
86- echo
70+ log_phase " Publishing new release"
8771
8872time make release
8973
90- echo
91- echo " Updating channel with new release..."
92- echo
74+ log_phase " Updating channel with new release"
9375
9476updateservicectl channel update --app-id=${APP_ID} --channel=${CHANNEL} --version=${BUILD_TAG} --publish=true
9577
96- echo
97- echo " Waiting for upgrade to complete..."
98- echo
78+ log_phase " Waiting for upgrade to complete"
9979
10080deisctl config platform channel=${CHANNEL} autoupdate=true
10181
@@ -116,8 +96,6 @@ wait_for_update deis-3 &
11696update3=$!
11797wait update1 update2 update3
11898
119- echo
120- echo " Running end-to-end integration test..."
121- echo
99+ log_phase " Running end-to-end integration test"
122100
123101time make test-integration
0 commit comments