summaryrefslogtreecommitdiff
path: root/.omnibus-buildkite-plugin/test.sh
diff options
context:
space:
mode:
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"