From 1cdd217e6bd28f063a0b989bbb6a5bcebac5fb95 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 24 Apr 2020 14:27:49 +0200 Subject: [PATCH] Go manual with drone pipelines --- .drone.yml | 52 ++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1d452c6..16f2ef4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,23 +1,43 @@ --- -matrix: - include: - - IMAGE: 3.8-buster - TOXENV: linters - - - IMAGE: 3.8-buster - TOXENV: packaging - - - IMAGE: 3.8-buster - TOXENV: py38 - -pipeline: - build: - image: python:${IMAGE} +kind: pipeline +name: linters +steps: + - name: tox -e linters + image: python:3.8-buster commands: - pip install tox==3.14.6 - - tox -e ${TOXENV} - integration: + - 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 + +--- +kind: pipeline +name: integration +steps: + - name: tox -e py38 image: python:3.8-buster commands: - pip install -e . - cd integration-test-role && molecule test +depends_on: + - linters + - packaging + - py38