Rewrite Drone config #74
@ -14,18 +14,12 @@ trigger:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install
|
- name: install-lint-test
|
||||||
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
|
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
|
||||||
commands:
|
commands:
|
||||||
- pipenv install --dev
|
- pipenv install --dev
|
||||||
- name: lint
|
|
||||||
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
|
|
||||||
commands:
|
|
||||||
- pipenv run flake8
|
- pipenv run flake8
|
||||||
- pipenv run reuse lint
|
- pipenv run reuse lint
|
||||||
- name: test
|
|
||||||
image: registry.wtf-eg.net/ki-backend-builder:1.0.0
|
|
||||||
commands:
|
|
||||||
- pipenv run python -m unittest discover ki
|
- pipenv run python -m unittest discover ki
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
|
Loading…
Reference in New Issue
Block a user