2019-12-27 18:07:53 +07:00
|
|
|
steps:
|
2020-01-18 02:46:51 +07:00
|
|
|
- label: ":hammer_and_wrench: Unit Test"
|
2019-12-27 18:07:53 +07:00
|
|
|
command: "authelia-scripts --log-level debug ci"
|
|
|
|
|
2020-01-18 05:55:02 +07:00
|
|
|
- wait
|
|
|
|
|
2019-12-27 18:07:53 +07:00
|
|
|
- label: ":docker: Image Builds"
|
|
|
|
command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload"
|
2020-01-05 11:12:24 +07:00
|
|
|
agents:
|
|
|
|
build: "true"
|
2020-01-18 02:46:51 +07:00
|
|
|
depends_on: ~
|
|
|
|
|
|
|
|
- wait
|
|
|
|
|
|
|
|
- label: ":chrome: Integration Tests"
|
|
|
|
command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload"
|
2019-12-27 18:07:53 +07:00
|
|
|
depends_on:
|
2020-01-18 02:46:51 +07:00
|
|
|
- "build-docker-amd64"
|
2019-12-27 18:07:53 +07:00
|
|
|
|
2020-01-30 14:37:11 +07:00
|
|
|
- wait
|
2020-01-17 03:57:44 +07:00
|
|
|
|
|
|
|
- label: ":docker: Image Deployments"
|
|
|
|
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
2020-01-18 06:58:58 +07:00
|
|
|
concurrency: 1
|
|
|
|
concurrency_group: "deployments"
|
2020-01-17 03:57:44 +07:00
|
|
|
|
2020-01-30 14:37:11 +07:00
|
|
|
- wait
|
2020-01-17 03:57:44 +07:00
|
|
|
|
|
|
|
- label: ":docker: Deploy Manifests"
|
|
|
|
command: "authelia-scripts docker push-manifest"
|
2020-01-18 06:58:58 +07:00
|
|
|
concurrency: 1
|
|
|
|
concurrency_group: "deployments"
|
2020-01-17 03:57:44 +07:00
|
|
|
env:
|
|
|
|
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
|
|
|
|
|
|
|
- label: ":github: Deploy Artifacts"
|
|
|
|
command: ".buildkite/steps/ghartifacts.sh"
|
|
|
|
agents:
|
|
|
|
upload: "fast"
|
2020-01-18 02:46:51 +07:00
|
|
|
depends_on:
|
|
|
|
- "build-docker-amd64"
|
|
|
|
- "build-docker-arm32v7"
|
|
|
|
- "build-docker-arm64v8"
|
2020-01-17 03:57:44 +07:00
|
|
|
if: build.tag != null
|