Add missing secret and short-cut CI for now

This commit is contained in:
Luke Murphy 2020-04-24 14:32:19 +02:00
parent 1cdd217e6b
commit f3e68e6091
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -1,39 +1,42 @@
--- # ---
kind: pipeline # kind: pipeline
name: linters # name: linters
steps: # steps:
- name: tox -e linters # - name: tox -e linters
image: python:3.8-buster # image: python:3.8-buster
commands: # commands:
- pip install tox==3.14.6 # - pip install tox==3.14.6
- tox -e linters # - tox -e linters
--- # ---
kind: pipeline # kind: pipeline
name: packaging # name: packaging
steps: # steps:
- name: tox -e packaging # - name: tox -e packaging
image: python:3.8-buster # image: python:3.8-buster
commands: # commands:
- pip install tox==3.14.6 # - pip install tox==3.14.6
- tox -e packaging # - tox -e packaging
--- # ---
kind: pipeline # kind: pipeline
name: py38 # name: py38
steps: # steps:
- name: tox -e py38 # - name: tox -e py38
image: python:3.8-buster # image: python:3.8-buster
commands: # commands:
- pip install tox==3.14.6 # - pip install tox==3.14.6
- tox -e py38 # - tox -e py38
--- ---
kind: pipeline kind: pipeline
name: integration name: integration
steps: steps:
- name: tox -e py38 - name: molecule test
image: python:3.8-buster image: python:3.8-buster
environment:
HCLOUD_TOKEN:
from_secret: HCLOUD_TOKEN
commands: commands:
- pip install -e . - pip install -e .
- cd integration-test-role && molecule test - cd integration-test-role && molecule test