mirror of https://github.com/rancher/ui.git
More logging
This commit is contained in:
parent
93f922b92d
commit
0bf93b97fb
|
|
@ -23,15 +23,20 @@ if [[ "${UPLOAD_LATEST}" == "true" ]]; then
|
||||||
docker pull google/cloud-sdk
|
docker pull google/cloud-sdk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Cleaning Up.."
|
||||||
rm -rf node_modules build dist tmp
|
rm -rf node_modules build dist tmp
|
||||||
|
|
||||||
|
echo "Bootstrapping.."
|
||||||
./scripts/bootstrap
|
./scripts/bootstrap
|
||||||
|
|
||||||
|
echo "Linting.."
|
||||||
./node_modules/.bin/eslint --max-warnings 0 .
|
./node_modules/.bin/eslint --max-warnings 0 .
|
||||||
|
|
||||||
if [[ "${UPLOAD_LATEST}" == "true" ]] && [[ "${ENABLE_DOCKER}" == "true" ]]; then
|
if [[ "${UPLOAD_LATEST}" == "true" ]] && [[ "${ENABLE_DOCKER}" == "true" ]]; then
|
||||||
|
echo "Building & Uploading.."
|
||||||
./scripts/build-static -l -u -v latest2
|
./scripts/build-static -l -u -v latest2
|
||||||
# (build-static contains a call to test & build)
|
# (build-static contains a call to test & build)
|
||||||
else
|
else
|
||||||
|
echo "Testing.."
|
||||||
yarn test
|
yarn test
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue