Skip snap build for PRs if nothing under snap/ is modified

Additionally relegate push snap build to a secondary CI pipeline
This commit is contained in:
Michael Vines
2018-06-30 19:22:24 -07:00
committed by Grimes
parent 5671da4a0a
commit 71af03dc98
5 changed files with 39 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
cd "$(dirname "$0")/.."
DRYRUN=
if [[ -z $BUILDKITE_BRANCH || $BUILDKITE_BRANCH =~ pull/* ]]; then
if [[ -z $BUILDKITE_BRANCH ]] || ./ci/is-pr.sh; then
DRYRUN="echo"
fi