Add env to Drone CI
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
9aa315e2c2
commit
951d4fac83
29
.drone.yml
29
.drone.yml
@ -1,15 +1,13 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: test
|
name: test
|
||||||
|
image: python:3.9-alpine
|
||||||
steps:
|
steps:
|
||||||
- name: django_test
|
- name: django_test
|
||||||
image: python:3.9-alpine
|
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements/dev.txt
|
- pip install -r requirements/dev.txt
|
||||||
- python manage.py test
|
- python manage.py test
|
||||||
- name: coverage
|
- name: coverage
|
||||||
image: python:3.9-alpine
|
|
||||||
commands:
|
commands:
|
||||||
- pip install -r requirements/dev.txt
|
- pip install -r requirements/dev.txt
|
||||||
- coverage run
|
- coverage run
|
||||||
@ -28,3 +26,28 @@ steps:
|
|||||||
from_secret: S3_ACCESS_KEY
|
from_secret: S3_ACCESS_KEY
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: S3_SECRET_KEY
|
from_secret: S3_SECRET_KEY
|
||||||
|
|
||||||
|
environment:
|
||||||
|
ACTRL_DEBUG: 1
|
||||||
|
ACTRL_API_EMAIL:
|
||||||
|
from_secret: ACTRL_API_EMAIL
|
||||||
|
ACTRL_API_TOKEN:
|
||||||
|
from_secret: ACTRL_API_TOKEN
|
||||||
|
ACTRL_ZENDESK_SUBDOMAIN:
|
||||||
|
from_secret: ACTRL_ZENDESK_SUBDOMAIN
|
||||||
|
ACTRL_SECRET_KEY:
|
||||||
|
from_secret: ACTRL_SECRET_KEY
|
||||||
|
BUF_GROUP:
|
||||||
|
from_secret: BUF_GROUP
|
||||||
|
EMPL_GROUP:
|
||||||
|
from_secret: EMPL_GROUP
|
||||||
|
ENG_CROLE_ID:
|
||||||
|
from_secret: ENG_CROLE_ID
|
||||||
|
LA_CROLE_ID:
|
||||||
|
from_secret: LA_CROLE_ID
|
||||||
|
LICENSE_NO:
|
||||||
|
from_secret: LICENSE_NO
|
||||||
|
SHIFTH:
|
||||||
|
from_secret: SHIFTH
|
||||||
|
ST_EMAIL:
|
||||||
|
from_secret: ST_EMAIL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user