mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
29 lines
829 B
Bash
29 lines
829 B
Bash
|
#!/bin/bash
|
||
|
set -u
|
||
|
|
||
|
cat << EOF
|
||
|
env:
|
||
|
CI_DOCS_BYPASS: $(git diff --name-only `git merge-base --fork-point master` | sed -rn '/^docs\/.*/!{q1}' && echo true || echo false)
|
||
|
|
||
|
steps:
|
||
|
- label: ":hammer_and_wrench: Unit Test"
|
||
|
command: "authelia-scripts --log-level debug ci"
|
||
|
if: build.env("CI_DOCS_BYPASS") != "true"
|
||
|
|
||
|
- wait:
|
||
|
if: build.env("CI_DOCS_BYPASS") != "true"
|
||
|
|
||
|
- label: ":docker: Image Builds"
|
||
|
command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload"
|
||
|
depends_on: ~
|
||
|
if: build.env("CI_DOCS_BYPASS") != "true"
|
||
|
|
||
|
- wait:
|
||
|
if: build.env("CI_DOCS_BYPASS") != "true"
|
||
|
|
||
|
- label: ":chrome: Integration Tests"
|
||
|
command: ".buildkite/steps/e2etests.sh | buildkite-agent pipeline upload"
|
||
|
depends_on:
|
||
|
- "build-docker-amd64"
|
||
|
if: build.env("CI_DOCS_BYPASS") != "true"
|
||
|
EOF
|