mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 02:56:31 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
c91fce3281
commit
00af027e51
@ -43,11 +43,26 @@ jobs:
|
|||||||
displayName: 'Run JQ'
|
displayName: 'Run JQ'
|
||||||
|
|
||||||
|
|
||||||
|
- job: 'Hadolint'
|
||||||
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads')
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
steps:
|
||||||
|
- script: sudo docker pull hadolint/hadolint:v1.16.3
|
||||||
|
displayName: 'Install Hadolint'
|
||||||
|
- script: |
|
||||||
|
sudo docker run --rm -i \
|
||||||
|
-v $(pwd)/.hadolint.yaml:/.hadolint.yaml:ro \
|
||||||
|
hadolint/hadolint:v1.16.3 < Dockerfile
|
||||||
|
displayName: 'Run Hadolint'
|
||||||
|
|
||||||
|
|
||||||
- job: 'ReleaseDEV'
|
- job: 'ReleaseDEV'
|
||||||
condition: eq(variables['Build.SourceBranchName'], 'dev')
|
condition: eq(variables['Build.SourceBranchName'], 'dev')
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- 'JQ'
|
- 'JQ'
|
||||||
- 'Tox'
|
- 'Tox'
|
||||||
|
- 'Hadolint'
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
strategy:
|
strategy:
|
||||||
@ -82,6 +97,7 @@ jobs:
|
|||||||
dependsOn:
|
dependsOn:
|
||||||
- 'JQ'
|
- 'JQ'
|
||||||
- 'Tox'
|
- 'Tox'
|
||||||
|
- 'Hadolint'
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user