-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from ai-cfia/33-as-a-sre-i-would-like-to-chang…
…e-line-length-rules-for-yaml-files-to-120 Issue #33: Change yaml linting line length to 120
- Loading branch information
Showing
17 changed files
with
512 additions
and
490 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
line-length: | ||
max: 120 | ||
allow-non-breakable-inline-mappings: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,77 @@ | ||
--- | ||
trigger: | ||
- main | ||
branches: | ||
include: | ||
- main | ||
|
||
pr: none | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
vmImage: "ubuntu-latest" | ||
|
||
variables: | ||
- group: terraform-backend-settings | ||
|
||
stages: | ||
- stage: InitAndPlan | ||
displayName: 'Initialize and Plan' | ||
displayName: "Initialize and Plan" | ||
jobs: | ||
- job: TerraformInitPlan | ||
displayName: 'Terraform Init and Plan' | ||
displayName: "Terraform Init and Plan" | ||
steps: | ||
- task: TerraformTaskV2@2 | ||
displayName: Terra Init | ||
inputs: | ||
provider: 'azurerm' | ||
command: 'init' | ||
workingDirectory: | ||
'$(System.DefaultWorkingDirectory)/terraform/staging' | ||
backendServiceArm: '$(serviceConnectionName)' | ||
backendAzureRmResourceGroupName: '$(resourceGroupName)' | ||
backendAzureRmStorageAccountName: '$(storageAccountName)' | ||
backendAzureRmContainerName: '$(containerName)' | ||
backendAzureRmKey: '$(stateKey)' | ||
provider: "azurerm" | ||
command: "init" | ||
workingDirectory: "$(System.DefaultWorkingDirectory)/terraform/staging" | ||
backendServiceArm: "$(serviceConnectionName)" | ||
backendAzureRmResourceGroupName: "$(resourceGroupName)" | ||
backendAzureRmStorageAccountName: "$(storageAccountName)" | ||
backendAzureRmContainerName: "$(containerName)" | ||
backendAzureRmKey: "$(stateKey)" | ||
|
||
- task: TerraformTaskV2@2 | ||
displayName: Terra Plan | ||
inputs: | ||
provider: 'azurerm' | ||
command: 'plan' | ||
workingDirectory: | ||
'$(System.DefaultWorkingDirectory)/terraform/staging' | ||
environmentServiceNameAzureRM: '$(serviceConnectionName)' | ||
provider: "azurerm" | ||
command: "plan" | ||
workingDirectory: "$(System.DefaultWorkingDirectory)/terraform/staging" | ||
environmentServiceNameAzureRM: "$(serviceConnectionName)" | ||
|
||
- stage: Apply | ||
displayName: 'Apply Terraform Plan' | ||
displayName: "Apply Terraform Plan" | ||
dependsOn: InitAndPlan | ||
condition: succeeded() | ||
jobs: | ||
- job: TerraformInit | ||
displayName: "Terraform Init" | ||
steps: | ||
- task: TerraformTaskV2@2 | ||
displayName: Terra Init | ||
inputs: | ||
provider: "azurerm" | ||
command: "init" | ||
workingDirectory: "$(System.DefaultWorkingDirectory)/terraform/staging" | ||
backendServiceArm: "$(serviceConnectionName)" | ||
backendAzureRmResourceGroupName: "$(resourceGroupName)" | ||
backendAzureRmStorageAccountName: "$(storageAccountName)" | ||
backendAzureRmContainerName: "$(containerName)" | ||
backendAzureRmKey: "$(stateKey)" | ||
|
||
- deployment: TerraformApply | ||
displayName: 'Terraform Apply' | ||
displayName: "Terraform Apply" | ||
pool: | ||
vmImage: 'ubuntu-latest' | ||
environment: 'ProductionApproval' | ||
vmImage: "ubuntu-latest" | ||
environment: "ProductionApproval" | ||
strategy: | ||
runOnce: | ||
deploy: | ||
steps: | ||
- task: TerraformTaskV2@2 | ||
displayName: 'Terra Apply' | ||
displayName: "Terra Apply" | ||
inputs: | ||
provider: 'azurerm' | ||
command: 'apply' | ||
workingDirectory: | ||
'$(System.DefaultWorkingDirectory)/terraform/staging' | ||
environmentServiceNameAzureRM: '$(serviceConnectionName)' | ||
provider: "azurerm" | ||
command: "apply" | ||
workingDirectory: "$(System.DefaultWorkingDirectory)/terraform/staging" | ||
environmentServiceNameAzureRM: "$(serviceConnectionName)" |
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
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
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
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
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
Oops, something went wrong.