2018-12-15 12:04:27 -08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# This script is used to upload the full buildkite pipeline. The steps defined
|
|
|
|
# in the buildkite UI should simply be:
|
|
|
|
#
|
|
|
|
# steps:
|
2018-12-15 16:07:48 -08:00
|
|
|
# - command: ".buildkite/pipeline-upload.sh"
|
2018-12-15 12:04:27 -08:00
|
|
|
#
|
|
|
|
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"/..
|
2020-06-11 10:50:32 -07:00
|
|
|
source ci/_
|
2018-12-15 12:04:27 -08:00
|
|
|
|
2020-06-11 17:34:13 -07:00
|
|
|
_ ci/buildkite-pipeline.sh pipeline.yml
|
2020-06-11 10:50:32 -07:00
|
|
|
echo +++ pipeline
|
|
|
|
cat pipeline.yml
|
2018-12-15 12:04:27 -08:00
|
|
|
|
2020-06-11 10:50:32 -07:00
|
|
|
_ buildkite-agent pipeline upload pipeline.yml
|