mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[Buildkite] Optimise pipeline for deployments to master (#756)
Prior to this change all PR's which are merged into master would result in another run of the Unit and Integration testing. This is not necessary because all steps have to pass for a PR to be accepted in to master, this will save significant time for deployments to master and reduce overall load to the Buildkite workers.
This commit is contained in:
parent
9dad19719e
commit
daba4d789f
|
@ -22,7 +22,7 @@ env:
|
|||
steps:
|
||||
- label: ":hammer_and_wrench: Unit Test"
|
||||
command: "authelia-scripts --log-level debug ci"
|
||||
if: build.env("CI_DOCS_BYPASS") != "true"
|
||||
if: build.branch != "master" && build.env("CI_DOCS_BYPASS") != "true"
|
||||
|
||||
- wait:
|
||||
if: build.env("CI_DOCS_BYPASS") != "true"
|
||||
|
@ -33,11 +33,11 @@ steps:
|
|||
if: build.env("CI_DOCS_BYPASS") != "true"
|
||||
|
||||
- wait:
|
||||
if: build.env("CI_DOCS_BYPASS") != "true"
|
||||
if: build.branch != "master" && 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"
|
||||
if: build.branch != "master" && build.env("CI_DOCS_BYPASS") != "true"
|
||||
EOF
|
Loading…
Reference in New Issue
Block a user