From 5f27eaa9a14a6a25dfdf8da392e31a1fa0e99754 Mon Sep 17 00:00:00 2001 From: Brain Date: Fri, 13 Sep 2024 15:49:24 +0200 Subject: [PATCH] Set the SQLALCHEMY_DATABASE_URI env differently --- .drone.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index cfb089a..822dec5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,6 @@ steps: env: PYROOT: '/pyroot' PYTHONUSERBASE: '/pyroot' - SQLALCHEMY_DATABASE_URI: 'sqlite://' commands: - apk add --no-cache gcc g++ musl-dev python3-dev - pip3 install pipenv @@ -27,7 +26,7 @@ steps: - pipenv install --dev - pipenv run flake8 - pipenv run reuse lint - - pipenv run python -m unittest discover ki + - SQLALCHEMY_DATABASE_URI=sqlite:// pipenv run python -m unittest discover ki - name: docker-dry-run image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042 settings: @@ -109,14 +108,13 @@ steps: env: PYROOT: '/pyroot' PYTHONUSERBASE: '/pyroot' - SQLALCHEMY_DATABASE_URI: 'sqlite://' commands: - apk add --no-cache gcc g++ musl-dev python3-dev - pip3 install pipenv - pipenv install --dev - pipenv run flake8 - pipenv run reuse lint - - pipenv run python -m unittest discover ki + - SQLALCHEMY_DATABASE_URI=sqlite:// pipenv run python -m unittest discover ki - name: docker-publish image: plugins/docker:20.18.4@sha256:a8d3d86853c721492213264815f1d00d3ed13f42f5c1855a02f47fa4d5f1e042 settings: