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

WITDataStore64 files missing! #2326

Merged
merged 4 commits into from
Sep 4, 2024
Merged
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
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,18 @@ jobs:
- run: dotnet build MigrationTools.sln /p:Version=${{ env.GitVersion_SemVer }} /p:FileVersion=${{ env.GitVersion_AssemblySemVer }} /p:InformationalVersion=${{ env.GitVersion_InformationalVersion }} /p:GitVersionTag=${{ env.GitVersion_PreReleaseLabel }}
name: Build MigrationTools.sln
id: Build
- name: "Check that required files exist!"
shell: pwsh
run: |
$foundFiles = Get-ChildItem -Path .\ -Recurse -Filter '*WITDataStore64*' | ForEach-Object { $_.FullName }
if ($foundFiles -eq $null) {
Write-Output "No WITDataStore64 found"
exit 1
} else {
Write-Output "Found WITDataStore64"
}
$foundFiles
- run: dotnet tool install --global dotnet-sonarscanner
- run: dotnet test "MigrationTools.sln" --results-directory ".\test-results\" --logger trx --collect "Code coverage" --no-build --filter "(TestCategory=L0|TestCategory=L1)"
- run: dotnet test "MigrationTools.sln" --results-directory ".\test-results\" --logger trx --collect "Code coverage" --no-build --filter "(TestCategory=L2|TestCategory=L3)"
- run: dotnet test "MigrationTools.sln" --results-directory ".\test-results\" --logger trx --collect "Code coverage" --no-build --filter "(TestCategory!=L0&TestCategory!=L1&TestCategory!=L2&TestCategory!=L3)"
Expand Down
20 changes: 20 additions & 0 deletions build/packageExecutable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,32 @@ New-Item -Path $outfolder -Name "/MigrationTools/" -ItemType Directory
New-Item -Path $outfolder -Name "/MigrationTools/preview/" -ItemType Directory
New-Item -Path $outfolder -Name "/MigrationTools/ConfigSamples/" -ItemType Directory
Write-Output "----------------------------------------"
Write-Output "Validating Contents of ./src/MigrationTools.ConsoleFull/bin/Debug/net472/*"
$foundFiles = Get-ChildItem -Path "./src/MigrationTools.ConsoleFull/bin/Debug/net472/" -Recurse -Filter '*WITDataStore*' | ForEach-Object { $_.FullName }
if ($foundFiles -eq $null) {
Write-Output "No WITDataStore found"
exit 1
} else {
Write-Output "Found WITDataStore"
}
$foundFiles
Write-Output "----------------------------------------"
# Copy Files
Write-Output "Copy files to $outfolder/MigrationTools/"
Copy-Item -Path "./src/MigrationTools.ConsoleFull/bin/Debug/net472/*" -Destination "$outfolder/MigrationTools/" -Recurse
Copy-Item -Path "./src/MigrationTools.ConsoleCore/bin/Debug/net8.0/*" -Destination "$outfolder/MigrationTools/preview/" -Recurse
Copy-Item -Path "./src/MigrationTools.Samples/*" -Destination "$outfolder/MigrationTools/ConfigSamples/" -Recurse
Write-Output "----------------------------------------"
Write-Output "Validating Contents of $outfolder/MigrationTools/"
$foundFiles = Get-ChildItem -Path "$outfolder/MigrationTools/" -Recurse -Filter '*WITDataStore*' | ForEach-Object { $_.FullName }
if ($foundFiles -eq $null) {
Write-Output "No WITDataStore found"
exit 1
} else {
Write-Output "Found WITDataStore"
}
$foundFiles
Write-Output "----------------------------------------"
# Create Zip
7z a -tzip $OutputFullName $outfolder/MigrationTools/**
Write-Output "----------------------------------------"
Expand Down
16 changes: 8 additions & 8 deletions docs/Reference/Generated/MigrationTools.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

<ItemGroup>
<PackageReference Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.3.0" />
<PackageReference Include="Microsoft.TeamFoundationServer.ExtendedClient" Version="19.225.1" />
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.9.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.9.0" />
Expand Down
Loading