mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
import key from ci user
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
75a9692dbe
commit
1c93fba32c
1 changed files with 2 additions and 4 deletions
|
@ -6,6 +6,7 @@ export HAB_ORIGIN='ci'
|
|||
export PLAN='inspec'
|
||||
export CHEF_LICENSE="accept-no-persist"
|
||||
export HAB_LICENSE="accept-no-persist"
|
||||
export CI_USER=$(whoami)
|
||||
|
||||
echo "--- system details"
|
||||
uname -a
|
||||
|
@ -26,10 +27,7 @@ fi
|
|||
|
||||
echo "--- Installing ${pkg_ident:?is undefined}"
|
||||
|
||||
id -a
|
||||
ls -laR ~/.hab/cache/keys
|
||||
|
||||
sudo -E "hab origin key import < ~buildkite/.hab/cache/keys/$HAB_ORIGIN*.pub"
|
||||
sudo -E "hab origin key import < ~$CI_USER/.hab/cache/keys/$HAB_ORIGIN*.pub"
|
||||
sudo -E hab pkg install "./results/${pkg_artifact:?is undefined}"
|
||||
|
||||
echo "+++ Testing $PLAN"
|
||||
|
|
Loading…
Reference in a new issue