Skip to content

Commit 4d737bd

Browse files
committed
CI: tasks run against stemcell-builder, not CI
CI scripts should not use relative paths to address "production" code since the `ci/` code is not subject to the pass constraints in concourse.
1 parent 18ac238 commit 4d737bd

File tree

1 file changed

+1
-3
lines changed
  • ci/tasks/test-units-bosh-psmodules

1 file changed

+1
-3
lines changed

ci/tasks/test-units-bosh-psmodules/run.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ $startupType = Get-Service "wuauserv" | Select-Object -ExpandProperty StartType
1515

1616
$result = 0
1717

18-
$repoRoot = "$PSScriptRoot\..\..\..\"
19-
20-
$testModules = Get-ChildItem "$repoRoot\$env:MODULES_DIR" -recurse | where {$_.name -match ".*.Tests.ps1"} | foreach {$_.DirectoryName}
18+
$testModules = Get-ChildItem "stemcell-builder\$env:MODULES_DIR" -recurse | where {$_.name -match ".*.Tests.ps1"} | foreach {$_.DirectoryName}
2119
foreach ($module in $testModules) {
2220
Write-Host "Testing: $module"
2321
Push-Location "$module"

0 commit comments

Comments
 (0)