This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Modifies some Azure cscfg entries that Octopus Deploy 2.0 is not able to as of today. | |
| .DESCRIPTION | |
| Sets the thumbprint of the first certificate value. Sets the instance count for each role. Octopus-variables must match either of the two forms: | |
| Azure.Role[rolename].Instances | |
| Azure.Role[rolename].Certificate | |
| where rolename is the roleName as defined in the ServiceConfiguration.Cloud.csfcg. | |
| The config file must be named ServiceConfiguration.Cloud.cscfg. | |
| #> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Sample | |
| { | |
| [Test] | |
| public void MetadataSample() | |
| { | |
| Items.ItemA.ShouldEqual(Items.ItemA); | |
| Items.ItemA.Description.ShouldEndWith("Description for A"); | |
| } | |
| } |