update drone.yml
This commit is contained in:
15
.drone.yml
15
.drone.yml
@@ -2,6 +2,16 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: backend
|
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:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.11-buster
|
image: python:3.11-buster
|
||||||
@@ -9,8 +19,3 @@ steps:
|
|||||||
- pip install --no-cache-dir .
|
- pip install --no-cache-dir .
|
||||||
- pip install --no-cache-dir pytest
|
- pip install --no-cache-dir pytest
|
||||||
- pytest -v -log_cli=True --log-cli-level=INFO tests
|
- pytest -v -log_cli=True --log-cli-level=INFO tests
|
||||||
environment:
|
|
||||||
MONGO_USER: ''
|
|
||||||
MONGO_PASSWD: ''
|
|
||||||
MONGO_URI: ''
|
|
||||||
MONGO_USER: ''
|
|
||||||
Reference in New Issue
Block a user