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:
|
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
|
2020-04-27 11:00:46 +00:00
|
|
|
- py36
|
|
|
|
- py37
|
2020-04-25 05:54:57 +00:00
|
|
|
- py38
|