mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[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
This commit is contained in:
parent
8845eb8f80
commit
5cc6dfc463
|
@ -12,13 +12,13 @@ fi
|
||||||
if [[ ! $BUILDKITE_BRANCH =~ ^(master|v.*) ]] && [[ $BUILDKITE_COMMAND_EXIT_STATUS == 0 ]]; then
|
if [[ ! $BUILDKITE_BRANCH =~ ^(master|v.*) ]] && [[ $BUILDKITE_COMMAND_EXIT_STATUS == 0 ]]; then
|
||||||
if [[ $BUILDKITE_LABEL == ":hammer_and_wrench: Unit Test" ]]; then
|
if [[ $BUILDKITE_LABEL == ":hammer_and_wrench: Unit Test" ]]; then
|
||||||
echo "--- :codecov: Upload coverage reports"
|
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
|
||||||
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 frontend
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $BUILDKITE_LABEL =~ ":selenium:" ]]; then
|
if [[ $BUILDKITE_LABEL =~ ":selenium:" ]]; then
|
||||||
echo "--- :codecov: Upload coverage reports"
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ func dockerBuildOfficialImage(arch string) error {
|
||||||
// Set default Architecture Dockerfile to amd64.
|
// Set default Architecture Dockerfile to amd64.
|
||||||
dockerfile := "Dockerfile"
|
dockerfile := "Dockerfile"
|
||||||
// Set version of QEMU.
|
// Set version of QEMU.
|
||||||
qemuversion := "v4.2.0-7"
|
qemuversion := "v5.0.0-2"
|
||||||
|
|
||||||
// If not the default value.
|
// If not the default value.
|
||||||
if arch != defaultArch {
|
if arch != defaultArch {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user