Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST verify pipeline #275

Draft
wants to merge 9 commits into
base: 18-Stable
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .bldr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ build_targets = [
]
plan_path = "habitat"

[chef-powershell-shim-x64]
build_targets = [
"x86_64-windows"
]
plan_path = "habitat-x64"

[dotnet-481-dev-pack-x64]
build_targets = [
"x86_64-windows"
Expand Down
2 changes: 1 addition & 1 deletion .expeditor/verify.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ steps:
host_os: windows
shell: [ "powershell", "-Command" ]

- label: ":windows: win-10-sdk-x64"
- label: ":windows: win-11-sdk-x64"
commands:
- .expeditor/test_plan.ps1 -Plan habitat-win-10-sdk-x64
expeditor:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!-- latest_release -->
<!-- latest_release -->


<!-- release_rollup -->
<!-- release_rollup -->

Expand Down
14 changes: 7 additions & 7 deletions Chef.Powershell.Core/Chef.Powershell.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.PowerShell.Commands.Diagnostics" Version="7.4.5" />
<PackageReference Include="Microsoft.PowerShell.Commands.Management" Version="7.4.5" />
<PackageReference Include="Microsoft.PowerShell.Commands.Utility" Version="7.4.5" />
<PackageReference Include="Microsoft.PowerShell.ConsoleHost" Version="7.4.5" />
<PackageReference Include="Microsoft.WSMan.Management" Version="7.4.5" />
<PackageReference Include="Microsoft.WSMan.Runtime" Version="7.4.5" />
<PackageReference Include="Microsoft.PowerShell.Commands.Diagnostics" Version="7.4.6" />
<PackageReference Include="Microsoft.PowerShell.Commands.Management" Version="7.4.6" />
<PackageReference Include="Microsoft.PowerShell.Commands.Utility" Version="7.4.6" />
<PackageReference Include="Microsoft.PowerShell.ConsoleHost" Version="7.4.6" />
<PackageReference Include="Microsoft.WSMan.Management" Version="7.4.6" />
<PackageReference Include="Microsoft.WSMan.Runtime" Version="7.4.6" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="8.0.0" />
<PackageReference Include="System.Management.Automation" Version="7.4.5" />
<PackageReference Include="System.Management.Automation" Version="7.4.6" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.1.0
18.6.2
2 changes: 1 addition & 1 deletion chef-powershell/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GEM
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.3.7)
rexml (3.3.9)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand Down
2 changes: 1 addition & 1 deletion habitat-dotnet-481-dev-pack-x64/plan.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$pkg_name="dotnet-481-dev-pack"
$pkg_name="dotnet-481-dev-pack-x64"
$pkg_origin="core"
$pkg_version="4.8.1"
$pkg_description=".net framework 4.8.1 with dev pack"
Expand Down
2 changes: 1 addition & 1 deletion habitat-vs-2022-x64/plan.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $pkg_upstream_url="https://visualstudio.microsoft.com/downloads/#build-tools-for
$pkg_license=@("Microsoft Software License")
$pkg_maintainer="The Habitat Maintainers <[email protected]>"
$pkg_source="https://aka.ms/vs/17/release/vs_BuildTools.exe"
$pkg_shasum="99c7677154366062a43082921f40f3ce00ef2614dbf94db23b244dd13dc9443d"
$pkg_shasum="ab3cff3d3a8c48804f47eb521cf138480f5ed4fe86476dd449a420777d7f2ead"
$pkg_build_deps=@("core/7zip")

$pkg_bin_dirs=@(
Expand Down
7 changes: 4 additions & 3 deletions habitat/plan.ps1
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
$env:HAB_BLDR_CHANNEL="stable"
$env:MSBuildEnableWorkloadResolver = $false
$pkg_name="chef-powershell-shim"
$pkg_origin="chef"
$pkg_version="0.4.0"
$pkg_version="18.6.2"
$pkg_maintainer="The Habitat Maintainers <[email protected]>"
$pkg_license=@("Apache-2.0")
$pkg_build_deps=@(
"core/nuget",
"core/dotnet-481-dev-pack/4.8.1/20241022062559", #, As of August 2024, this package should be installed by default on all Windows devices.
"core/windows-11-sdk/10.0.26100/20241022063945",
"core/visual-build-tools-2022/17.11.0/20241023134911"
"core/dotnet-8-sdk/8.0.400/20241022062821" # this should be pulling down the .net 8 or later sdk, not the one we have locally in this repo
"chef/dotnet-8-sdk-x64/8.0.400/20241213183042" # this should be pulling down the .net 8 or later sdk, not the one we have locally in this repo
)
$pkg_bin_dirs=@("bin")

Expand All @@ -23,7 +24,7 @@ function Invoke-Build {
nuget restore $HAB_CACHE_SRC_PATH/$pkg_dirname/Chef.Powershell/packages.config -PackagesDirectory $HAB_CACHE_SRC_PATH/$pkg_dirname/packages -Source "https://www.nuget.org/api/v2"

Write-Buildline " ** Setting the SDK Path - it gets borked during the nuget restore"
$env:MSBuildSdksPath="$(Get-HabPackagePath dotnet-8-sdk)\bin\sdk\8.0.400\Sdks"
$env:MSBuildSdksPath="$(Get-HabPackagePath dotnet-8-sdk-x64)\bin\sdk\8.0.400\Sdks"
$env:MSBuildSdksPath

MSBuild $HAB_CACHE_SRC_PATH/$pkg_dirname/Chef.Powershell.Wrapper/Chef.Powershell.Wrapper.vcxproj /t:Build /p:Configuration=Release /p:Platform=x64
Expand Down