2022-04-28 23:06:21 -07: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:
|
|
|
|
# - command: ".buildkite/pipeline-upload.sh"
|
|
|
|
#
|
|
|
|
|
|
|
|
set -e
|
2022-05-03 04:48:26 -07:00
|
|
|
# NAME=$(buildkite-agent meta-data get name)
|
2022-04-28 23:06:21 -07:00
|
|
|
cd "$(dirname "$0")"/..
|
|
|
|
source ci/_
|
2022-05-03 04:40:38 -07:00
|
|
|
sudo chmod 0777 ci/buildkite-solana-private.sh
|
2022-04-28 23:06:21 -07:00
|
|
|
|
2022-05-03 04:40:38 -07:00
|
|
|
_ ci/buildkite-solana-private.sh pipeline.yml
|
2022-04-28 23:06:21 -07:00
|
|
|
echo +++ pipeline
|
|
|
|
cat pipeline.yml
|
|
|
|
|
|
|
|
_ buildkite-agent pipeline upload pipeline.yml
|