2020-04-24 12:32:19 +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
|
2020-04-24 11:04:35 +00:00
|
|
|
|
2020-04-24 12:32:19 +00:00
|
|
|
# ---
|
|
|
|
# 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-24 11:04:35 +00:00
|
|
|
|
2020-04-24 12:32:19 +00:00
|
|
|
# ---
|
|
|
|
# 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:
|
|
|
|
HCLOUD_TOKEN:
|
|
|
|
from_secret: HCLOUD_TOKEN
|
2020-04-24 12:12:57 +00:00
|
|
|
commands:
|
|
|
|
- pip install -e .
|
|
|
|
- cd integration-test-role && molecule test
|
2020-04-24 12:27:49 +00:00
|
|
|
depends_on:
|
|
|
|
- linters
|
|
|
|
- packaging
|
|
|
|
- py38
|