diff options
author | Christopher A. Snapp <csnapp@chef.io> | 2020-07-02 14:23:25 -0600 |
---|---|---|
committer | Christopher A. Snapp <csnapp@chef.io> | 2020-07-13 13:33:48 -0600 |
commit | f09e84428d9f426768d074d0b8e68309172a5763 (patch) | |
tree | ec453060b4cac8365989df05f337170b887d84f1 /scripts | |
parent | 1638ab05fe4170d248fd99d3c91ac2a7bbda8e37 (diff) | |
download | chef-f09e84428d9f426768d074d0b8e68309172a5763.tar.gz |
Add Linux support to habitat test pipeline
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci/install-hab.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ci/install-hab.sh b/scripts/ci/install-hab.sh index a59b9ce0f0..b65a89d706 100755 --- a/scripts/ci/install-hab.sh +++ b/scripts/ci/install-hab.sh @@ -2,6 +2,8 @@ set -euo pipefail +export HAB_LICENSE="accept" + hab_target="$1" # print error message followed by usage and exit @@ -18,3 +20,4 @@ error () { echo "--- :habicat: Installing latest version of Habitat" rm -rf /hab curl https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | bash -s -- -t "$hab_target" +hab license accept |