2020-01-31 11:16:46 +07:00
|
|
|
steps:
|
|
|
|
- label: ":docker: Image Deployments"
|
|
|
|
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
|
|
|
concurrency: 1
|
|
|
|
concurrency_group: "deployments"
|
2020-02-29 21:31:10 +07:00
|
|
|
if: build.branch == "master"
|
|
|
|
|
|
|
|
- label: ":docker: Image Deployments"
|
|
|
|
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
|
|
|
if: build.branch != "master"
|
2020-01-31 11:16:46 +07:00
|
|
|
|
|
|
|
- wait
|
|
|
|
|
|
|
|
- label: ":docker: Deploy Manifests"
|
|
|
|
command: "authelia-scripts docker push-manifest"
|
|
|
|
concurrency: 1
|
|
|
|
concurrency_group: "deployments"
|
|
|
|
env:
|
|
|
|
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
2020-02-29 21:31:10 +07:00
|
|
|
if: build.branch == "master"
|
|
|
|
|
|
|
|
- label: ":docker: Deploy Manifests"
|
|
|
|
command: "authelia-scripts docker push-manifest"
|
|
|
|
env:
|
|
|
|
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
|
|
|
if: build.branch != "master"
|
2020-01-31 11:16:46 +07:00
|
|
|
|
|
|
|
- label: ":github: Deploy Artifacts"
|
2020-02-29 07:43:59 +07:00
|
|
|
command: "ghartifacts.sh"
|
2020-02-29 21:31:10 +07:00
|
|
|
depends_on: ~
|
2020-02-29 04:58:44 +07:00
|
|
|
retry:
|
|
|
|
automatic: true
|
2020-01-31 11:16:46 +07:00
|
|
|
agents:
|
|
|
|
upload: "fast"
|
2020-02-20 06:25:28 +07:00
|
|
|
key: "artifacts"
|
|
|
|
if: build.tag != null
|
|
|
|
|
|
|
|
- label: ":linux: Deploy AUR"
|
|
|
|
command: ".buildkite/steps/aurpackages.sh | buildkite-agent pipeline upload"
|
2020-02-29 21:31:10 +07:00
|
|
|
depends_on: ~
|
2020-02-29 07:43:59 +07:00
|
|
|
if: build.tag != null || build.branch == "master"
|
|
|
|
|
2020-02-29 12:15:03 +07:00
|
|
|
- label: ":book: Deploy Documentation"
|
2020-02-29 07:43:59 +07:00
|
|
|
command: "syncdoc.sh"
|
2020-02-29 21:31:10 +07:00
|
|
|
depends_on: ~
|
2020-02-29 07:43:59 +07:00
|
|
|
agents:
|
|
|
|
upload: "fast"
|
|
|
|
if: build.branch == "master"
|