File tree Expand file tree Collapse file tree 5 files changed +12
-9
lines changed Expand file tree Collapse file tree 5 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ $env:MSBuildEnableWorkloadResolver = "false"
24
24
25
25
# setting the channel in this way gets access to the LTS channel and falls back to stable if the plan doesn't live there.
26
26
Write-Output " --- :shovel: Setting the BLDR and REFRESH Channels to LTS"
27
- $env: HAB_BLDR_CHANNEL = " LTS-2024 "
28
- $env: HAB_REFRESH_CHANNEL = " LTS-2024 "
27
+ $env: HAB_BLDR_CHANNEL = " base-2025 "
28
+ $env: HAB_REFRESH_CHANNEL = " base-2025 "
29
29
Write-Output " `r "
30
30
31
31
Write-Output " --- :screwdriver: Installing Habitat via Choco"
@@ -74,7 +74,7 @@ Write-Output "`r"
74
74
75
75
76
76
Write-Output " --- :construction: Building 64-bit PowerShell DLLs"
77
- hab pkg build Habitat -- refresh- channel LTS - 2024
77
+ hab pkg build Habitat -- refresh- channel base - 2025
78
78
if (-not $? ) { throw " unable to build" }
79
79
Write-Output " `r "
80
80
Original file line number Diff line number Diff line change 78
78
Write-Output " `r "
79
79
80
80
Write-Output " --- :construction: Building 64-bit PowerShell DLL's"
81
- hab pkg build Habitat -- refresh- channel LTS - 2024
81
+ hab pkg build Habitat -- refresh- channel base - 2025
82
82
if (-not $? ) { throw " unable to build" }
83
83
Write-Output " `r "
84
84
Original file line number Diff line number Diff line change @@ -6,14 +6,17 @@ param (
6
6
)
7
7
8
8
$env: HAB_LICENSE = " accept-no-persist"
9
- $env: HAB_ORIGIN = ' ci'
10
- $env: HAB_BLDR_CHANNEL = ' LTS-2024'
11
- $env: HAB_REFRESH_CHANNEL = ' LTS-2024'
9
+ $env: HAB_BLDR_CHANNEL = ' base-2025'
10
+ $env: HAB_REFRESH_CHANNEL = ' base-2025'
12
11
13
12
Write-Host " --- :8ball: :windows: Verifying $Plan "
14
13
15
14
Write-Host " Using Habitat version $ ( hab -- version) "
16
15
16
+ # Set HAB_ORIGIN after Habitat installation
17
+ Write-Host " HAB_ORIGIN set to 'ci' after installation."
18
+ $env: HAB_ORIGIN = ' ci'
19
+
17
20
if (Test-Path - PathType leaf " /hab/cache/keys/ci-*.sig.key" ) {
18
21
Write-Host " --- :key: Using existing fake '$env: HAB_ORIGIN ' origin key"
19
22
} else {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Then set these envuironment variables:
16
16
17
17
```
18
18
$env:MSBuildEnableWorkloadResolver = "false";
19
- $env:HAB_BLDR_CHANNEL = "LTS-2024 ";
19
+ $env:HAB_BLDR_CHANNEL = "base-2025 ";
20
20
$env:MSBuildSdksPath = "C:\Program Files\dotnet\sdk";
21
21
$env:HAB_ORIGIN = "chef";
22
22
```
Original file line number Diff line number Diff line change 1
- $env: HAB_BLDR_CHANNEL = " LTS-2024 "
1
+ $env: HAB_BLDR_CHANNEL = " base-2025 "
2
2
$env: MSBuildEnableWorkloadResolver = $false
3
3
$pkg_name = " chef-powershell-shim"
4
4
$pkg_origin = " chef"
You can’t perform that action at this time.
0 commit comments