From a7862e0f6aef2a3ce725ce02cbb867481cd1f02f Mon Sep 17 00:00:00 2001 From: Igor Shatunov Date: Fri, 20 Jan 2023 15:54:19 +0200 Subject: [PATCH] Final build pipeline --- .drone.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index a14f415..742de46 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,17 +3,16 @@ kind: pipeline name: default steps: -# - name: test -# image: python -# commands: -# # - pip install -r requirements.txt -# - export POETRY_VERSION=1.2.2 -# - export POETRY_HOME=/usr/local/ -# - curl -sSL https://install.python-poetry.org | python3 - -# - poetry config virtualenvs.create false -# - poetry install -# - printenv -# - pytest +- name: test + image: python + commands: + - export POETRY_VERSION=1.2.2 + - export POETRY_HOME=/usr/local/ + - curl -sSL https://install.python-poetry.org | python3 - + - poetry config virtualenvs.create false + - poetry install + - printenv + - pytest - name: build image: plugins/kaniko settings: @@ -25,9 +24,10 @@ steps: tags: - latest - ${DRONE_COMMIT} + - ${DRONE_COMMIT_BRANCH} --- kind: signature -hmac: c96ed440ae544005570aa462c4b98bb82cc075c8d9469e058783d6d297eacaac +hmac: 8e5103c096391ef7821044e9462a49b5de492fe194e95cd28b93c59b741e2244 ...