File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ $PSDefaultParameterValues['*:ErrorAction']='Stop'
77$ErrorActionPreference = ' Stop'
88$env: HAB_BLDR_CHANNEL = " LTS-2024"
99$env: HAB_REFRESH_CHANNEL = " LTS-2024"
10- $env: HAB_ORIGIN = ' ci'
1110$env: CHEF_LICENSE = ' accept-no-persist'
1211$env: HAB_LICENSE = ' accept-no-persist'
1312$Plan = ' chef-cli'
@@ -58,6 +57,10 @@ finally {
5857 Write-Host " :habicat: I think I have the version I need to build."
5958}
6059
60+ # Set HAB_ORIGIN after Habitat installation
61+ Write-Host " HAB_ORIGIN set to 'ci' after installation."
62+ $env: HAB_ORIGIN = ' ci'
63+
6164
6265Write-Host " --- Generating fake origin key"
6366hab origin key generate $env: HAB_ORIGIN
Original file line number Diff line number Diff line change 22
33set -eo pipefail
44
5- export HAB_ORIGIN=' ci'
65export PLAN=' chef-cli'
76export CHEF_LICENSE=" accept-no-persist"
87export HAB_LICENSE=" accept-no-persist"
@@ -41,6 +40,10 @@ echo "--- Installing Habitat"
4140id -a
4241curl https://raw.githubusercontent.com/habitat-sh/habitat/main/components/hab/install.sh | bash
4342
43+ # Set HAB_ORIGIN after Habitat installation
44+ echo " --- Setting HAB_ORIGIN to 'ci' after installation"
45+ export HAB_ORIGIN=' ci'
46+
4447echo " --- :key: Generating fake origin key"
4548hab origin key generate " $HAB_ORIGIN "
4649
You can’t perform that action at this time.
0 commit comments