Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-10-21 20:52:24 -07:00
parent f0fca98964
commit d2c823fae6

View file

@ -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"