This commit is contained in:
parent
94b37ca609
commit
5e3592003b
2 changed files with 17 additions and 3 deletions
17
.drone.yml
17
.drone.yml
|
@ -1,5 +1,5 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: lint
|
name: lint and build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: pylint
|
- name: pylint
|
||||||
|
@ -10,7 +10,7 @@ steps:
|
||||||
- pip install pylint
|
- pip install pylint
|
||||||
- pylint *.py
|
- pylint *.py
|
||||||
|
|
||||||
- name: dockerlint
|
- name: docker lint
|
||||||
image: hadolint/hadolint
|
image: hadolint/hadolint
|
||||||
commands:
|
commands:
|
||||||
- hadolint --ignore DL3013 Dockerfile # ignore pinning version in pip
|
- hadolint --ignore DL3013 Dockerfile # ignore pinning version in pip
|
||||||
|
@ -19,3 +19,16 @@ steps:
|
||||||
image: validator/validator:latest
|
image: validator/validator:latest
|
||||||
commands:
|
commands:
|
||||||
- vnu static/*.html
|
- vnu static/*.html
|
||||||
|
|
||||||
|
- name: build image
|
||||||
|
image: docker:stable
|
||||||
|
environment:
|
||||||
|
DOCKER_HOST: tcp://docker:2375
|
||||||
|
commands:
|
||||||
|
- docker build -t kleph/beer .
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: docker
|
||||||
|
image: docker:dind
|
||||||
|
command: [ "--storage-driver=vfs", "--tls=false" ]
|
||||||
|
# privileged: true
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
# beer
|
# beer
|
||||||
|
Build status: [![Build Status](https://drone.kleph.eu/api/badges/kleph/beer/status.svg)](https://drone.kleph.eu/kleph/beer)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue