Skip to content

Commit 844c896

Browse files
Remove migration tool from module package, keep CI tests
The migration script lives in the repo as a standalone tool but is not included in the packaged module. The CI job uses dependsOn: [] so it runs directly from the checked-out source without waiting for the module build. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 0f84b45 commit 844c896

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

.ci/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ stages:
152152

153153
- job: TestMigrationTool
154154
displayName: Migration Tool Tests
155+
dependsOn: []
155156
pool:
156157
vmImage: windows-latest
157158
steps:

doBuild.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ function DoBuild
5353
Write-Verbose -Verbose -Message "Copying resource manifests to '$BuildOutPath'"
5454
Copy-Item -Path "${SrcPath}/dsc/*.resource.json" -Dest "$BuildOutPath" -Force
5555

56-
# Copy migration tool
57-
$migrationToolOutPath = Join-Path -Path $BuildOutPath -ChildPath "migration"
58-
Write-Verbose -Verbose -Message "Creating migration tool output path: '$migrationToolOutPath'"
59-
$null = New-Item -ItemType Directory -Path $migrationToolOutPath -Force
60-
Write-Verbose -Verbose -Message "Copying ConvertTo-PSResourceGet.ps1 to '$migrationToolOutPath'"
61-
Copy-Item -Path "tool/migration/ConvertTo-PSResourceGet.ps1" -Dest "$migrationToolOutPath" -Force
62-
6356
# Build and place binaries
6457
if ( Test-Path "${SrcPath}/code" ) {
6558
Write-Verbose -Verbose -Message "Building assembly and copying to '$BuildOutPath'"

0 commit comments

Comments
 (0)