This file contains 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
variables: | |
#Specified which branch that terraform apply and azure function deploy will run | |
deployBranch: 'refs/heads/master' | |
jobs: | |
- job: AzureFunction | |
displayName: Prepare Azure Function Package | |
pool: | |
vmImage: 'vs2017-win2016' | |
steps: |
This file contains 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
Configuration MyDscConfig { | |
# Import the module that has the 'ServerType' configuration | |
Import-DscResource -ModuleName Platform | |
# Import the module that has the 'Application' Configuration | |
Import-DscResource -ModuleName Product | |
$ConfigurationData.AllNodes.Nodename { | |
$ConfigurationData.Roles.($Node.Role).configurations.Foreach{ | |
$ConfigurationName = $_ | |
$ConfigurationParameters = $ConfigurationData.Roles.($Node.Role).($ConfigurationName) |
This file contains 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
PASSWORD1 # Replace literal string 'PASSWORD1' with '***REMOVED***' (default) | |
PASSWORD2==>examplePass # replace with 'examplePass' instead | |
PASSWORD3==> # replace with the empty string | |
regex:password=\w+==>password= # Replace, using a regex | |
regex:\r(\n)==>$1 # Replace Windows newlines with Unix newlines |