kine / NVRAppDevOps

Navertica DevOps scripts for managing Microsoft Dynamics 365 Business Central Apps
31 stars 29 forks source link

Get .app if not found locally from Package Manager #1

Closed kine closed 5 years ago

kine commented 6 years ago

There is missing process for pulling .app from package manager if it is missing during compile or install process.

Support function Install-ALNugetPackage already exists, but is not used. Possibility to define own process for downloading missing app in settings.ps1 will be welcome - variable AppDownloadScript is prepared in the config for this.

andreasblueher commented 5 years ago

Hey Kamil,

still working on a reply for the other PR. Since you talked about a package manager there I tried to google and find out what you mean. I wasn't successful maybe you could shed some light on this topic. Since it seems we'll need something like this anyway I'm willing to work on this.

kine commented 5 years ago

I will try to write some blog article if time allows. The support is now finished and you can use own script in AppDownloadScript setting to download missing dependency.

Basic thing: from CI/CD you can now save any file as universal package to your Artifact server (Azure DevOps) and than download it from there when needed (I do not know how to do that through owershell yet). But I am using the nuget package for this - see New-ALNuSpec, New-ALNugetPackage, Push-ALNugetPackage and Install-ALnugetPackage cmdlets).