summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher A. Snapp <csnapp@chef.io>2020-07-02 14:23:25 -0600
committerChristopher A. Snapp <csnapp@chef.io>2020-07-13 13:33:48 -0600
commitf09e84428d9f426768d074d0b8e68309172a5763 (patch)
treeec453060b4cac8365989df05f337170b887d84f1 /scripts
parent1638ab05fe4170d248fd99d3c91ac2a7bbda8e37 (diff)
downloadchef-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-xscripts/ci/install-hab.sh3
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