File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Actions/DetermineProjectsToBuild
e2eTests/scenarios/BCApps Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -395,10 +395,20 @@ function Get-UnmodifiedAppsFromBaselineWorkflowRun {
395
395
OutputMessageAndArray - message " Modified folders" - arrayOfStrings $modifiedFolders
396
396
Sort- AppFoldersByDependencies - appFolders $allFolders - baseFolder $baseFolder - skippedApps ([ref ] $skipFolders ) - unknownDependencies ([ref ]$unknownDependencies ) - knownApps ([ref ] $knownApps ) - selectSubordinates $modifiedFolders | Out-Null
397
397
OutputMessageAndArray - message " Skip folders" - arrayOfStrings $skipFolders
398
+
399
+ $projectWithSeperator = ' '
400
+ if ($project ) {
401
+ $projectWithSeperator = " $project $ ( [System.IO.Path ]::DirectorySeparatorChar) "
402
+ }
403
+
398
404
# AppFolders, TestFolders and BcptTestFolders in settings are always preceded by ./ or .\, so we need to remove that (hence Substring(2))
399
- $downloadAppFolders = @ ($settings.appFolders | Where-Object { $skipFolders -contains " $project $ ( [System.IO.Path ]::DirectorySeparatorChar) $ ( $_.SubString (2 )) " })
400
- $downloadTestFolders = @ ($settings.testFolders | Where-Object { $skipFolders -contains " $project $ ( [System.IO.Path ]::DirectorySeparatorChar) $ ( $_.SubString (2 )) " })
401
- $downloadBcptTestFolders = @ ($settings.bcptTestFolders | Where-Object { $skipFolders -contains " $project $ ( [System.IO.Path ]::DirectorySeparatorChar) $ ( $_.SubString (2 )) " })
405
+ $downloadAppFolders = @ ($settings.appFolders | Where-Object { $skipFolders -contains " $projectWithSeperator $ ( $_.SubString (2 )) " })
406
+ $downloadTestFolders = @ ($settings.testFolders | Where-Object { $skipFolders -contains " $projectWithSeperator $ ( $_.SubString (2 )) " })
407
+ $downloadBcptTestFolders = @ ($settings.bcptTestFolders | Where-Object { $skipFolders -contains " $projectWithSeperator $ ( $_.SubString (2 )) " })
408
+
409
+ OutputMessageAndArray - message " Download appFolders" - arrayOfStrings $downloadAppFolders
410
+ OutputMessageAndArray - message " Download testFolders" - arrayOfStrings $downloadTestFolders
411
+ OutputMessageAndArray - message " Download bcptTestFolders" - arrayOfStrings $downloadBcptTestFolders
402
412
403
413
if ($project ) { $projectName = $project } else { $projectName = $env: GITHUB_REPOSITORY -replace ' .+/' }
404
414
# Download missing apps - or add then to build folders if the artifact doesn't exist
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ Write-Host -ForegroundColor Yellow @'
39
39
40
40
$errorActionPreference = " Stop" ; $ProgressPreference = " SilentlyContinue" ; Set-StrictMode - Version 2.0
41
41
42
+ if ($linux ) {
43
+ Write-Host ' This test is forking BCApps and should only run once, using the settings in BCApps.'
44
+ exit
45
+ }
46
+
42
47
Remove-Module e2eTestHelper - ErrorAction SilentlyContinue
43
48
Import-Module (Join-Path $PSScriptRoot " ..\..\e2eTestHelper.psm1" ) - DisableNameChecking
44
49
@@ -57,7 +62,6 @@ SetTokenAndRepository -github:$github -githubOwner $githubOwner -token $e2epat -
57
62
# Create repository1
58
63
CreateAlGoRepository `
59
64
- github:$github `
60
- - linux:$linux `
61
65
- template " https://github.com/$sourceRepo " `
62
66
- repository $repository `
63
67
- branch $branch
You can’t perform that action at this time.
0 commit comments