Closed EC-Janeck closed 7 months ago
This is a bug, but it is caused by an unexpected parameter for installApps. You are setting installApps to the baseFolder - meaning that Run-AlPipeline will scan the entire folder for .app files and install those. If you instead set installApps to the actual folder where your apps are located - it should work.
This HelperFunctions should contain a fix for this: https://raw.githubusercontent.com/freddydk/navcontainerhelper/issue3477/HelperFunctions.ps1
If you can try this in your setup and tell me whether this works?
@freddydk the fix works! Thanks a lot for the swift response and for pointing out that misshap with the installApp param (an environment param was blank 😅).
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue BcContainerHelper Version 6.0.15 With the latest changes for the CDN switch small parts of the HelperFunctions.ps1 were changed too, specifically the function CopyAppFilesToFolder was changed. These changes cause our pipelines to break down with thousends of "::WARNING:: xyz.app already exists, it looks like you have multiple app files with the same name. App filenames must be unique." When I switch those portions back the pipeline magically works again.
I created a public GitHub repository with my "Frankenstein" version of the HelperFunctions.ps1 (Franken-HelperFunctions.ps1), the original HelperFunctions.ps1 (using version of #3459) to easily compare the changes made, as well as a logs of a run with my version and the original: https://github.com/EC-Janeck/BcCHIssue
Scripts used to create container and cause the issue