docker/windows: make the powershell scripts more robust
authorJordan Petridis <jordan@centricular.com>
Wed, 27 Jan 2021 05:16:23 +0000 (07:16 +0200)
committerJordan Petridis <jordan@centricular.com>
Thu, 25 Feb 2021 02:25:25 +0000 (04:25 +0200)
commit8f0481f19a4b2f6847bf86a0003cd41ba7e7e67e
tree5852bd346d62dc65531d38e103fb50c3da00c66c
parent1f0b3938af243fce1bfa8095ffed9228748d384a
docker/windows: make the powershell scripts more robust

Check the exit codes of various commands and fail
appropriatly upon error.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/392>
docker/windows/build_image.ps1
docker/windows/install_choco.ps1
docker/windows/install_toolchain.ps1
docker/windows/prepare_gst_env.ps1