[CI] Set concurrency groups at a global level and simplify pipeline (#942)
parent
f781d63b2c
commit
2b627c6c04
|
@ -24,30 +24,16 @@ env:
|
||||||
steps:
|
steps:
|
||||||
- label: ":docker: Image Deployments"
|
- label: ":docker: Image Deployments"
|
||||||
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
||||||
concurrency: 1
|
if: build.env("CI_BYPASS") != "true"
|
||||||
concurrency_group: "deployments"
|
|
||||||
if: build.branch == "master" && build.env("CI_BYPASS") != "true"
|
|
||||||
|
|
||||||
- label: ":docker: Image Deployments"
|
|
||||||
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
|
||||||
if: build.branch != "master" && build.env("CI_BYPASS") != "true"
|
|
||||||
|
|
||||||
- wait:
|
- wait:
|
||||||
if: build.env("CI_BYPASS") != "true"
|
if: build.env("CI_BYPASS") != "true"
|
||||||
|
|
||||||
- label: ":docker: Deploy Manifests"
|
- label: ":docker: Deploy Manifests"
|
||||||
command: "authelia-scripts docker push-manifest"
|
command: "authelia-scripts docker push-manifest"
|
||||||
concurrency: 1
|
|
||||||
concurrency_group: "deployments"
|
|
||||||
env:
|
env:
|
||||||
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
||||||
if: build.branch == "master" && build.env("CI_BYPASS") != "true"
|
if: build.env("CI_BYPASS") != "true"
|
||||||
|
|
||||||
- label: ":docker: Deploy Manifests"
|
|
||||||
command: "authelia-scripts docker push-manifest"
|
|
||||||
env:
|
|
||||||
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
|
||||||
if: build.branch != "master" && build.env("CI_BYPASS") != "true"
|
|
||||||
|
|
||||||
- label: ":github: Deploy Artifacts"
|
- label: ":github: Deploy Artifacts"
|
||||||
command: "ghartifacts.sh"
|
command: "ghartifacts.sh"
|
||||||
|
@ -61,15 +47,11 @@ steps:
|
||||||
|
|
||||||
- label: ":linux: Deploy AUR"
|
- label: ":linux: Deploy AUR"
|
||||||
command: ".buildkite/steps/aurpackages.sh | buildkite-agent pipeline upload"
|
command: ".buildkite/steps/aurpackages.sh | buildkite-agent pipeline upload"
|
||||||
concurrency: 1
|
|
||||||
concurrency_group: "aur"
|
|
||||||
depends_on: ~
|
depends_on: ~
|
||||||
if: build.tag != null || build.branch == "master" && build.env("CI_BYPASS") != "true"
|
if: build.tag != null || build.branch == "master" && build.env("CI_BYPASS") != "true"
|
||||||
|
|
||||||
- label: ":book: Deploy Documentation"
|
- label: ":book: Deploy Documentation"
|
||||||
command: "syncdoc.sh"
|
command: "syncdoc.sh"
|
||||||
concurrency: 1
|
|
||||||
concurrency_group: "documentation"
|
|
||||||
depends_on: ~
|
depends_on: ~
|
||||||
agents:
|
agents:
|
||||||
upload: "fast"
|
upload: "fast"
|
||||||
|
|
Loading…
Reference in New Issue