inspec/.expeditor/buildkite/artifact.habitat.install.sh
Miah Johnson 13a1c30ba6 Corret build scripts
correct path to hab artifact
Rather than throwing, lets try to install the version
Make sure hab is in the path
we use -b on windows. lets be consistent
export project_root too
picardface
fix regex
execute rake _through_ habitat
make test vrooom
test presence of inspec
strip out clixml bs
... no which on bk.
full path to which
export PATH
test exist on linux/windows

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 10:09:35 -08:00

6 lines
167 B
Bash
Executable file

#!/usr/bin/env bash
set -ueo pipefail
hab origin key import < "$HAB_CI_KEY"
hab pkg install -b "${project_root:?is undefined}/results/${pkg_artifact:?is undefined}"