From af01e6bf6adc960966f3a835154347d9c89312f8 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 23 May 2023 05:53:31 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.drone.yml=E2=80=9C=20hinzuf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ab73051 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,31 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: skip_tls_clone + image: plugins/git + settings: + depth: 10 + skip_verify: true + +- name: setup-virtualenv + image: python:3.7-alpine + commands: + - pip install virtualenv + - virtualenv /tmp/shared/.venv + - source /tmp/shared/.venv/bin/activate + - pip install -r requirements.txt + volumes: + - name: shared + path: /tmp/shared + +- name: test + image: python:3.7-alpine + commands: + - source /tmp/shared/.venv/bin/activate + - make test + - echo $$DRONE_COMMIT_SHA > .tags + volumes: + - name: shared + path: /tmp/shared