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
data "azurerm_app_service_plan" "test" { | |
name = "devspapptest" | |
resource_group_name = "devrgapptest" | |
} | |
resource "azurerm_monitor_autoscale_setting" "test" { | |
name = "devspapptest-Autoscale-9680" | |
resource_group_name = "devrgapptest" |
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
public class CustomerCifCleaner : OwinMiddleware | |
{ | |
private const int HTTP_OK_Status = 200; | |
private const string JSONContentType = "application/json"; | |
private const string AccessViolationExceptionConst = "AccessViolationException"; | |
private const string TaskCanceledExceptionConst = "TaskCanceledException"; | |
private const string ExceptionConst = "Exception"; | |
private ILogger logger = null; |
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
parameters: | |
stageDependency: [] | |
stageName: '' | |
environment: '' | |
displayName: '' | |
deployment: '' | |
stages: | |
- stage: ${{parameters.stageName}} | |
dependsOn: ${{parameters.stageDependency}} |
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
stageName: '' | |
stageDependency: '' | |
targetServerGroup: $(prodOnPremServer) | |
packageName: $(packageNameClientApp) | |
targetWebsiteName: $(appPoolNamePROD) | |
installationPath: $(installationPathClientPROD) | |
targetport: $(targetportClientApp) | |
targetWebsiteAppPool: $(appPoolNamePROD) | |
artifactFeed: $(artifactFeed) |
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
hostBindingsDev: '{"bindings":[{"protocol":"http","ipAddress":"All Unassigned","port":"80","hostname":"payments-dev","sslThumbprint":"","sniFlag":false}]}' | |
parameters: | |
stageDependency: [] | |
stageName: '' |
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
isMasterOrReleasableBranch: $[or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))] |
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
- task: DotNetCoreCLI@2 | |
displayName: Push to DevOps feed | |
condition: and(succeeded(), eq(variables.isMasterOrReleasableBranch, true)) | |
inputs: | |
command: "push" | |
nuGetFeedType: "internal" # Required when command == push. Options: internal, external | |
packagesToPush: "$(Build.ArtifactStagingDirectory)/*.nupkg" # Required when command == push | |
publishVstsFeed: "API" # Required when command == push && NuGetFeedType == internal |
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
- task: PowerShell@2 | |
displayName: 'Setting packageVersion environment to versioning value.' | |
inputs: | |
targetType: 'inline' | |
script: | | |
$packageVersion = '$(majorVersion).$(minorVersion).$(Build.BuildId)' | |
Write-Host "##vso[task.setvariable variable=PackageVersion;]$packageVersion" | |
- task: NuGetCommand@2 | |
displayName: Package Api |
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
- task: DotNetCoreCLI@2 | |
displayName: Publish Api | |
inputs: | |
command: "publish" | |
publishWebProjects: "false" | |
versioningScheme: "byBuildNumber" | |
workingDirectory: "$(Build.SourcesDirectory)" | |
projects: "**/*.Api.csproj" | |
arguments: "--output $(Build.ArtifactStagingDirectory) --configuration $(buildConfiguration)" | |
zipAfterPublish: "false" |
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
If you're on the branch | |
git log master.. | |
Otherwise | |
git log master..<your branch name> |
NewerOlder