ci(buildkite): allow manual retry on successful steps (#2267)

This permits manual retry on specific steps which can cause problematic issues for example when a node runs out of disk space.

By allowing this we should be able to recover problematic builds instead of forcing a complete rebuild which may be undesirable on the `master` or other production branches.
This commit is contained in:
Amir Zarrinkafsh 2021-08-07 11:04:21 +10:00 committed by GitHub
parent 87550d1957
commit 327765f132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,9 @@ steps:
- label: ":docker: Deploy Manifests"
command: "authelia-scripts docker push-manifest"
retry:
manual:
permit_on_passed: true
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
agents:

View File

@ -8,6 +8,9 @@ for BUILD_OS in "${!BUILDS[@]}"; do
cat << EOF
- label: ":docker: Build Image [${BUILD_ARCH}]"
command: "authelia-scripts docker build --arch=${BUILD_ARCH}"
retry:
manual:
permit_on_passed: true
agents:
build: "${BUILD_OS}-${BUILD_ARCH}"
artifact_paths: