summaryrefslogtreecommitdiff
path: root/.omnibus-buildkite-plugin/test.sh
diff options
context:
space:
mode:
authorJeremiah Snapp <jeremiah@chef.io>2019-05-01 14:45:14 -0400
committerJeremiah Snapp <jeremiah@chef.io>2019-05-02 17:37:48 -0400
commite67724b89a4fce529008e56db8071b984b632a50 (patch)
treec5193ead402840552861bfe110ded79cb934ce62 /.omnibus-buildkite-plugin/test.sh
parent7576b2e32a58668eed0ddf2d687e82651d46db04 (diff)
downloadchef-snappj/test-omnibus-buildkite-pipeline4.tar.gz
test omnibus buildkite pipelinesnappj/test-omnibus-buildkite-pipeline4
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
Diffstat (limited to '.omnibus-buildkite-plugin/test.sh')
-rwxr-xr-x.omnibus-buildkite-plugin/test.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/.omnibus-buildkite-plugin/test.sh b/.omnibus-buildkite-plugin/test.sh
new file mode 100755
index 0000000000..84344b55d3
--- /dev/null
+++ b/.omnibus-buildkite-plugin/test.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+set -ueo pipefail
+
+DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
+
+# source the build settings
+. ./.omnibus-buildkite-plugin/build-settings.sh
+
+echo "--- Setting Omnibus build environment variables"
+. /usr/local/bin/load-omnibus-toolchain.sh
+
+echo "--- Publishing ${PROJECT_NAME} packages to omnibus-unstable-local"
+ruby "$DIR/publish.rb"