diff --git a/.expeditor/buildkite/artifact.habitat.test.sh b/.expeditor/buildkite/artifact.habitat.test.sh index 52e614d37..3119a9a49 100755 --- a/.expeditor/buildkite/artifact.habitat.test.sh +++ b/.expeditor/buildkite/artifact.habitat.test.sh @@ -27,9 +27,12 @@ fi echo "+++ Installing ${pkg_ident:?is undefined}" -ls -l "~$CI_USER/.hab/cache/keys/$HAB_ORIGIN*.pub" +ls -laR "~$CI_USER/.hab" + +for i in ${~"$CI_USER"/.hab/cache/keys/*.pub}; do + sudo -E cat "$i" | /usr/bin/hab origin key import +done -sudo -E cat ~"$CI_USER"/.hab/cache/keys/$"HAB_ORIGIN"*.pub | /usr/bin/hab origin key import sudo -E hab pkg install "./results/${pkg_artifact:?is undefined}" echo "+++ Testing $PLAN"