Skip to content
Draft
Changes from 3 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
14 changes: 12 additions & 2 deletions Actions/RunPipeline/RunPipeline.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
$imageName = $settings.cacheImageName
if ($imageName) {
Write-Host "::group::Flush ContainerHelper Cache"
Flush-ContainerHelperCache -cache 'all,exitedcontainers' -keepdays $settings.cacheKeepDays
Flush-ContainerHelperCache -cache 'all,exitedcontainers,ALGoContainersOnly' -keepdays $settings.cacheKeepDays
Write-Host "::endgroup::"
}
}
Expand Down Expand Up @@ -321,6 +321,16 @@
}
}
}
if (!$runAlPipelineParams.NewBcContainer) {
$runAlPipelineParams += @{
"NewBcContainer" = {
Comment thread Fixed
Param([Hashtable]$parameters)
Comment thread Fixed
$parameters.additionalParameters += @("--label creator=AL-Go");
Comment thread Fixed
New-BcContainer @parameters;
Comment thread Fixed
Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' }
Comment thread Fixed
}
}
}

if ($runAlPipelineParams.Keys -notcontains 'RemoveBcContainer') {
$runAlPipelineParams += @{
Expand Down Expand Up @@ -515,7 +525,7 @@
-pageScriptingTestResultsFolder (Join-Path $buildArtifactFolder 'PageScriptingTestResultDetails') `
-CreateRuntimePackages:$CreateRuntimePackages `
-appBuild $appBuild -appRevision $appRevision `
-uninstallRemovedApps
-uninstallRemovedApps
Comment thread Fixed

if ($containerBaseFolder) {
Write-Host "Copy artifacts and build output back from build container"
Expand Down
Loading