molecule-hetznercloud/.drone.yml

82 lines
1.3 KiB
YAML
Raw Normal View History

2020-04-25 05:54:57 +00:00
---
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
2020-04-27 11:00:46 +00:00
---
kind: pipeline
name: py36
steps:
- name: tox -e py36
image: python:3.6-buster
commands:
- pip install tox==3.14.6
- tox -e py36
---
kind: pipeline
name: py37
steps:
- name: tox -e py37
image: python:3.7-buster
commands:
- pip install tox==3.14.6
- tox -e py37
2020-04-25 05:54:57 +00:00
---
kind: pipeline
name: py38
steps:
- name: tox -e py38
image: python:3.8-buster
commands:
- pip install tox==3.14.6
2020-04-25 06:14:56 +00:00
- tox -e py38
2020-04-25 05:54:57 +00:00
2020-04-25 22:55:21 +00:00
---
kind: pipeline
name: devel
steps:
- name: tox -e devel
image: python:3.8-buster
failure: ignore
commands:
- pip install tox==3.14.6
- tox -e devel
2020-04-24 12:27:49 +00:00
---
kind: pipeline
name: integration
steps:
- name: molecule test
2020-04-24 12:20:51 +00:00
image: python:3.8-buster
environment:
2020-04-24 13:13:42 +00:00
MOLECULE_NO_LOG: false
HCLOUD_TOKEN:
from_secret: HCLOUD_TOKEN
2020-04-24 12:12:57 +00:00
commands:
- pip install -e .
2020-04-25 05:50:45 +00:00
- export INSTANCE_UUID=$(openssl rand -hex 5)
2020-04-24 13:09:25 +00:00
- cd integration && molecule test
2020-04-25 05:54:57 +00:00
depends_on:
- linters
- packaging
2020-04-27 11:00:46 +00:00
- py36
- py37
2020-04-25 05:54:57 +00:00
- py38