[MISC] Update QEMU to v5.0.0-2 (#1090)

* [MISC] Update QEMU to v5.0.0-2

* [CI] Add retries and exit with non-zero status if codecov upload fails
pull/1092/head
Amir Zarrinkafsh 2020-06-06 23:08:51 +10:00 committed by GitHub
parent 8845eb8f80
commit 5cc6dfc463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -12,13 +12,13 @@ fi
if [[ ! $BUILDKITE_BRANCH =~ ^(master|v.*) ]] && [[ $BUILDKITE_COMMAND_EXIT_STATUS == 0 ]]; then
if [[ $BUILDKITE_LABEL == ":hammer_and_wrench: Unit Test" ]]; then
echo "--- :codecov: Upload coverage reports"
bash <(curl -s https://codecov.io/bash) -c -f "coverage.txt" -F backend
bash <(curl -s https://codecov.io/bash) -c -F frontend
bash <(curl -s --connect-timeout 10 --retry 10 --retry-max-time 0 https://codecov.io/bash) -Z -c -f "coverage.txt" -F backend
bash <(curl -s --connect-timeout 10 --retry 10 --retry-max-time 0 https://codecov.io/bash) -Z -c -F frontend
fi
if [[ $BUILDKITE_LABEL =~ ":selenium:" ]]; then
echo "--- :codecov: Upload coverage reports"
bash <(curl -s https://codecov.io/bash) -c -f "coverage.txt" -F backend
bash <(curl -s --connect-timeout 10 --retry 10 --retry-max-time 0 https://codecov.io/bash) -Z -c -f "coverage.txt" -F backend
fi
fi

View File

@ -46,7 +46,7 @@ func dockerBuildOfficialImage(arch string) error {
// Set default Architecture Dockerfile to amd64.
dockerfile := "Dockerfile"
// Set version of QEMU.
qemuversion := "v4.2.0-7"
qemuversion := "v5.0.0-2"
// If not the default value.
if arch != defaultArch {