SkillsFundingAgency / das-azure-pipelines-agents

MIT License
0 stars 2 forks source link

Split powershell modules loading #41

Closed mwevill closed 4 years ago

mwevill commented 4 years ago

Split module loading to ensure modules load before use.

chelnak commented 4 years ago

Why does the install need to be split @mwevill ?

mwevill commented 4 years ago

Why does the install need to be split @mwevill ?

Issue with das-firewall tasks failing on the first run due to not being able to find Azure pester modules. This was a potential fix based on some internet research, Separate PR has enforced using powershell core for the associated task. If this is not successful We can try this, Will not merge at the moment,

chelnak commented 4 years ago

Ok interesting one as this command accepts an array of module names to install. However installing a module does not import it in to the current runspace.

CloudPlatformer commented 4 years ago

Closing this and https://github.com/SkillsFundingAgency/das-azure-pipelines-agents/issues/40 as issue confirmed as resolved by requiring PowerShell Core for PowerShell task.