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
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: py38
|
|
|
|
steps:
|
|
|
|
- name: tox -e py38
|
|
|
|
image: python:3.8-buster
|
|
|
|
commands:
|
|
|
|
- pip install tox==3.14.6
|
|
|
|
- tox -e py38---
|
|
|
|
|
2020-04-24 12:27:49 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: integration
|
|
|
|
steps:
|
2020-04-24 12:32:19 +00:00
|
|
|
- name: molecule test
|
2020-04-24 12:20:51 +00:00
|
|
|
image: python:3.8-buster
|
2020-04-24 12:32:19 +00:00
|
|
|
environment:
|
2020-04-24 13:13:42 +00:00
|
|
|
MOLECULE_NO_LOG: false
|
2020-04-24 12:32:19 +00:00
|
|
|
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
|
|
|
|
- py38
|