2018-05-28 12:38:55 -07:00
|
|
|
#!/bin/bash -e
|
|
|
|
#
|
|
|
|
# Run the entire buildkite CI pipeline locally for pre-testing before sending a
|
|
|
|
# Github pull request
|
|
|
|
#
|
|
|
|
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
BKRUN=ci/node_modules/.bin/bkrun
|
|
|
|
|
|
|
|
if [[ ! -x $BKRUN ]]; then
|
|
|
|
(
|
|
|
|
set -x
|
|
|
|
cd ci/
|
|
|
|
npm install bkrun
|
|
|
|
)
|
|
|
|
fi
|
|
|
|
|
|
|
|
set -x
|
2018-06-24 21:24:08 -07:00
|
|
|
exec ./ci/node_modules/.bin/bkrun ci/buildkite.yml
|