molecule-hetznercloud/.drone.yml
Luke Murphy c7835f8a73
All checks were successful
continuous-integration/drone/push Build is passing
Shape up README and fix typo
2020-04-25 08:14:56 +02:00

49 lines
864 B
YAML

---
kind: pipeline
name: linters
steps:
- name: tox -e linters
image: python:3.8-buster
commands:
- pip install tox==3.14.6
- tox -e linters
---
kind: pipeline
name: packaging
steps:
- name: tox -e packaging
image: python:3.8-buster
commands:
- pip install tox==3.14.6
- tox -e packaging
---
kind: pipeline
name: py38
steps:
- name: tox -e py38
image: python:3.8-buster
commands:
- pip install tox==3.14.6
- tox -e py38
---
kind: pipeline
name: integration
steps:
- name: molecule test
image: python:3.8-buster
environment:
MOLECULE_NO_LOG: false
HCLOUD_TOKEN:
from_secret: HCLOUD_TOKEN
commands:
- pip install -e .
- export INSTANCE_UUID=$(openssl rand -hex 5)
- cd integration && molecule test
depends_on:
- linters
- packaging
- py38