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-17 03:57:44 +07:00
|
|
|
- wait:
|
|
|
|
if: build.branch == "master" || build.branch =~ /^v/
|
|
|
|
|
|
|
|
- label: ":docker: Image Deployments"
|
|
|
|
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
|
|
|
branches: "master v*"
|
|
|
|
|
|
|
|
- wait:
|
|
|
|
if: build.branch == "master" || build.branch =~ /^v/
|
|
|
|
|
|
|
|
- label: ":docker: Deploy Manifests"
|
|
|
|
command: "authelia-scripts docker push-manifest"
|
|
|
|
branches: "master v*"
|
|
|
|
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
|