WIP handle package and git source bicep templates#1768
Conversation
scme0
commented
Feb 10, 2026
| readonly IExtractPackage extractPackage; | ||
|
|
||
| public DeployBicepTemplateBehaviour(ICommandLineRunner commandLineRunner, TemplateService templateService, AzureResourceGroupOperator resourceGroupOperator, ILog log) | ||
| public DeployBicepTemplateBehaviour(ICommandLineRunner commandLineRunner, TemplateService templateService, AzureResourceGroupOperator resourceGroupOperator, ICalamariFileSystem fileSystem, IExtractPackage extractPackage, ILog log) |
There was a problem hiding this comment.
There is a ExtractPackage virtual method on the DeployAzureBicepTemplateCommand base class.
Is it possible to perform the package extraction for the bicep step in an implementation of this method, leaving the deployment behaviour to be agnostic about packages and extraction?
There was a problem hiding this comment.
Ah thanks for this, I didn't realise this infrastructure was there. In the end I figured out a way to make this work without changing any Calamari code at all. Server changes are here: https://github.com/OctopusDeploy/OctopusDeploy/pull/40299
|
Closing because changes to Calamari are no longer required for this change. See Server change: https://github.com/OctopusDeploy/OctopusDeploy/pull/40299 |