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
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
@ -16,11 +17,19 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: test_1.6
|
name: test_1.6
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- lint
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build test
|
- name: build test
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -29,13 +38,7 @@ steps:
|
||||||
repo: mwalbeck/getgrav
|
repo: mwalbeck/getgrav
|
||||||
dry_run: true
|
dry_run: true
|
||||||
|
|
||||||
depends_on:
|
###############################################################################
|
||||||
- lint
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
@ -83,11 +86,19 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: test_1.6-prod
|
name: test_1.6-prod
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- lint
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build test
|
- name: build test
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -96,10 +107,7 @@ steps:
|
||||||
repo: mwalbeck/getgrav
|
repo: mwalbeck/getgrav
|
||||||
dry_run: true
|
dry_run: true
|
||||||
|
|
||||||
trigger:
|
###############################################################################
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
@ -147,11 +155,19 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: test_1.7
|
name: test_1.7
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- lint
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build test
|
- name: build test
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -160,10 +176,7 @@ steps:
|
||||||
repo: mwalbeck/getgrav
|
repo: mwalbeck/getgrav
|
||||||
dry_run: true
|
dry_run: true
|
||||||
|
|
||||||
trigger:
|
###############################################################################
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
@ -211,11 +224,19 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: test_1.7-prod
|
name: test_1.7-prod
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- lint
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build test
|
- name: build test
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -224,10 +245,7 @@ steps:
|
||||||
repo: mwalbeck/getgrav
|
repo: mwalbeck/getgrav
|
||||||
dry_run: true
|
dry_run: true
|
||||||
|
|
||||||
trigger:
|
###############################################################################
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
|
Loading…
Reference in a new issue