21 lines
333 B
Bash
Executable File
21 lines
333 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Run the entire buildkite CI pipeline locally for pre-testing before sending a
|
|
# Github pull request
|
|
#
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
BKRUN=ci/node_modules/.bin/bkrun
|
|
|
|
if [[ ! -x $BKRUN ]]; then
|
|
(
|
|
set -x
|
|
cd ci/
|
|
npm install bkrun
|
|
)
|
|
fi
|
|
|
|
set -x
|
|
exec ./ci/node_modules/.bin/bkrun ci/buildkite.yml
|