Lint dockerfiles and add CI pipeline for linting #67
1 changed files with 37 additions and 19 deletions
56
.drone.yml
56
.drone.yml
|
@ -1,3 +1,4 @@
|
|||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -16,11 +17,19 @@ trigger:
|
|||
event:
|
||||
- pull_request
|
||||
|
||||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test_1.6
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
steps:
|
||||
- name: build test
|
||||
image: plugins/docker
|
||||
|
@ -29,13 +38,7 @@ steps:
|
|||
repo: mwalbeck/getgrav
|
||||
dry_run: true
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -83,11 +86,19 @@ trigger:
|
|||
event:
|
||||
- push
|
||||
|
||||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test_1.6-prod
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
steps:
|
||||
- name: build test
|
||||
image: plugins/docker
|
||||
|
@ -96,10 +107,7 @@ steps:
|
|||
repo: mwalbeck/getgrav
|
||||
dry_run: true
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -147,11 +155,19 @@ trigger:
|
|||
event:
|
||||
- push
|
||||
|
||||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test_1.7
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
steps:
|
||||
- name: build test
|
||||
image: plugins/docker
|
||||
|
@ -160,10 +176,7 @@ steps:
|
|||
repo: mwalbeck/getgrav
|
||||
dry_run: true
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -211,11 +224,19 @@ trigger:
|
|||
event:
|
||||
- push
|
||||
|
||||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: test_1.7-prod
|
||||
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
steps:
|
||||
- name: build test
|
||||
image: plugins/docker
|
||||
|
@ -224,10 +245,7 @@ steps:
|
|||
repo: mwalbeck/getgrav
|
||||
dry_run: true
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
###############################################################################
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
|
Loading…
Reference in a new issue