2019-12-27 11:07:53 +00:00
|
|
|
steps:
|
2020-01-17 19:46:51 +00:00
|
|
|
- label: ":hammer_and_wrench: Unit Test"
|
2019-12-27 11:07:53 +00:00
|
|
|
command: "authelia-scripts --log-level debug ci"
|
|
|
|
|
2020-01-17 22:55:02 +00:00
|
|
|
- wait
|
|
|
|
|
2019-12-27 11:07:53 +00:00
|
|
|
- label: ":docker: Image Builds"
|
|
|
|
command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload"
|
2020-01-05 04:12:24 +00:00
|
|
|
agents:
|
|
|
|
build: "true"
|
2020-01-17 19:46:51 +00:00
|
|
|
depends_on: ~
|
|
|
|
|
|
|
|
- wait
|
|
|
|
|
|
|
|
- label: ":chrome: Integration Tests"
|
|
|
|
command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload"
|
2019-12-27 11:07:53 +00:00
|
|
|
depends_on:
|
2020-01-17 19:46:51 +00:00
|
|
|
- "build-docker-amd64"
|
2019-12-27 11:07:53 +00:00
|
|
|
|
2020-01-16 20:57:44 +00: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-17 19:46:51 +00:00
|
|
|
depends_on:
|
|
|
|
- "build-docker-amd64"
|
|
|
|
- "build-docker-arm32v7"
|
|
|
|
- "build-docker-arm64v8"
|
2020-01-16 20:57:44 +00:00
|
|
|
if: build.tag != null
|