mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
150a2e177a
* [Buildkite] Enable automatic retries for failed github artifact step This is to handle failures which may occur when attempting to upload assets, per: https://buildkite.com/authelia/authelia/builds/465#537f931f-efc3-4f7b-9527-c927c1425a52. * [Buildkite] Ensure GitHub artifact step is reported as a failure When the initial command fails and we remove the release, we need to ensure that the exit status is reported as non-zero to trigger the automatic retry.
27 lines
761 B
YAML
27 lines
761 B
YAML
steps:
|
|
- label: ":docker: Image Deployments"
|
|
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
|
concurrency: 1
|
|
concurrency_group: "deployments"
|
|
|
|
- wait
|
|
|
|
- label: ":docker: Deploy Manifests"
|
|
command: "authelia-scripts docker push-manifest"
|
|
concurrency: 1
|
|
concurrency_group: "deployments"
|
|
env:
|
|
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
|
|
|
- label: ":github: Deploy Artifacts"
|
|
command: ".buildkite/steps/ghartifacts.sh"
|
|
retry:
|
|
automatic: true
|
|
agents:
|
|
upload: "fast"
|
|
key: "artifacts"
|
|
if: build.tag != null
|
|
|
|
- label: ":linux: Deploy AUR"
|
|
command: ".buildkite/steps/aurpackages.sh | buildkite-agent pipeline upload"
|
|
if: build.tag != null || build.branch == "master" |