Deploying modules in Azure via CI/CD pipeline. #1127
-
We are setting up CI/CD pipelines in Azure deveops and have three repos: One for the framework, one for modules, and one for the theme. For the theme and modules repos, we'd like to build the Nuget packages and then deploy them into the framework. This will allow is to automate the deployments and not have to manually upload modules. Does anyone have an example of this, or knows where to put the packages? I looked at the framework code and I think it's looking for package files in the bin folder. There is a process that scans that folder. I'm also wondering how that code gets kicked off. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
@markdav-is if you place your module nupkg packages in the wwwroot/Modules folder they will be automatically installed during Oqtane startup. Similarly if you place your theme nupkg packages in the wwwroot/Themes folder they will be automatically installed. You will notice the release.cmd file generated by the Module Creator deploys the nupkg to this location as well: XCOPY "*.nupkg" "....\oqtane.framework\Oqtane.Server\wwwroot\Modules" /Y |
Beta Was this translation helpful? Give feedback.
-
Hi @markdav-is , Im also setting up a build pipeline for my Oqtane Modules in Azure DevOps. Seems like the build steps are something like :
Have you perhaps got a YAML file of the steps ? |
Beta Was this translation helpful? Give feedback.
@markdav-is if you place your module nupkg packages in the wwwroot/Modules folder they will be automatically installed during Oqtane startup. Similarly if you place your theme nupkg packages in the wwwroot/Themes folder they will be automatically installed. You will notice the release.cmd file generated by the Module Creator deploys the nupkg to this location as well:
XCOPY "*.nupkg" "....\oqtane.framework\Oqtane.Server\wwwroot\Modules" /Y