mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
steps:
|
|
- label: ":hammer_and_wrench: Unit Test"
|
|
command: "authelia-scripts --log-level debug ci"
|
|
|
|
- wait
|
|
|
|
- label: ":docker: Image Builds"
|
|
command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload"
|
|
agents:
|
|
build: "true"
|
|
depends_on: ~
|
|
|
|
- wait
|
|
|
|
- label: ":chrome: Integration Tests"
|
|
command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload"
|
|
depends_on:
|
|
- "build-docker-amd64"
|
|
|
|
- wait:
|
|
if: build.branch == "master" || build.branch =~ /^v/
|
|
|
|
- label: ":docker: Image Deployments"
|
|
command: ".buildkite/steps/deployimages.sh | buildkite-agent pipeline upload"
|
|
branches: "master v*"
|
|
concurrency: 1
|
|
concurrency_group: "deployments"
|
|
|
|
- wait:
|
|
if: build.branch == "master" || build.branch =~ /^v/
|
|
|
|
- label: ":docker: Deploy Manifests"
|
|
command: "authelia-scripts docker push-manifest"
|
|
branches: "master v*"
|
|
concurrency: 1
|
|
concurrency_group: "deployments"
|
|
env:
|
|
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
|
|
|
- label: ":github: Deploy Artifacts"
|
|
command: ".buildkite/steps/ghartifacts.sh"
|
|
agents:
|
|
upload: "fast"
|
|
depends_on:
|
|
- "build-docker-amd64"
|
|
- "build-docker-arm32v7"
|
|
- "build-docker-arm64v8"
|
|
if: build.tag != null |