From a3be7bd0f40a2eee461052731c02d3b64dbc545b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Clau=C3=9F?= Date: Fri, 30 Jun 2023 08:42:30 +0200 Subject: [PATCH] update drone.yml --- .drone.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index c70aad1..918b566 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,15 +2,20 @@ kind: pipeline type: docker name: backend +environment: + MONGO_USER: + from_secret: MONGO_USER + MONGO_PASSWD: + from_secret: MONGO_PASSWD + MONGO_URI: + from_secret: MONGO_URI + MONGO_USER: + from_secret: MONGO_USER + steps: - name: test image: python:3.11-buster commands: - pip install --no-cache-dir . - pip install --no-cache-dir pytest - - pytest -v -log_cli=True --log-cli-level=INFO tests - environment: - MONGO_USER: '' - MONGO_PASSWD: '' - MONGO_URI: '' - MONGO_USER: '' \ No newline at end of file + - pytest -v -log_cli=True --log-cli-level=INFO tests \ No newline at end of file