Revert "Add prepare step"
This reverts commit 43373064975888cacecb9d79af32b0f7226eef3a.
This commit is contained in:
parent
4337306497
commit
74876c1231
21
.drone.yml
21
.drone.yml
@ -6,24 +6,17 @@ workspace:
|
|||||||
path: /drone/src
|
path: /drone/src
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare environment
|
|
||||||
depends_on:
|
|
||||||
- clone
|
|
||||||
image: python:3.10-alpine
|
|
||||||
pull: if-not-exists
|
|
||||||
commands:
|
|
||||||
- apk --no-cache add gcc musl-dev tzdata
|
|
||||||
- pip3 install --no-cache-dir -r requirements.txt
|
|
||||||
|
|
||||||
- name: LOG_LEVEL var set to debug
|
- name: LOG_LEVEL var set to debug
|
||||||
depends_on:
|
depends_on:
|
||||||
- Prepare environment
|
- clone
|
||||||
image: python:3.10-alpine
|
image: python:3.10-alpine
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
environment:
|
environment:
|
||||||
LOG_LEVEL: 'debug'
|
LOG_LEVEL: 'debug'
|
||||||
TZ: 'Europe/Berlin'
|
TZ: 'Europe/Berlin'
|
||||||
commands:
|
commands:
|
||||||
|
- apk --no-cache add gcc musl-dev tzdata
|
||||||
|
- pip3 install --no-cache-dir -r requirements.txt
|
||||||
- echo "$LOG_LEVEL"
|
- echo "$LOG_LEVEL"
|
||||||
- |
|
- |
|
||||||
python3 -c 'from loghandler import logger;
|
python3 -c 'from loghandler import logger;
|
||||||
@ -38,13 +31,15 @@ steps:
|
|||||||
|
|
||||||
- name: LOG_LEVEL var set to warning
|
- name: LOG_LEVEL var set to warning
|
||||||
depends_on:
|
depends_on:
|
||||||
- Prepare environment
|
- clone
|
||||||
image: python:3.10-alpine
|
image: python:3.10-alpine
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
environment:
|
environment:
|
||||||
LOG_LEVEL: 'warning'
|
LOG_LEVEL: 'warning'
|
||||||
TZ: 'Europe/Berlin'
|
TZ: 'Europe/Berlin'
|
||||||
commands:
|
commands:
|
||||||
|
- apk --no-cache add gcc musl-dev tzdata
|
||||||
|
- pip3 install --no-cache-dir -r requirements.txt
|
||||||
- echo "$LOG_LEVEL"
|
- echo "$LOG_LEVEL"
|
||||||
- |
|
- |
|
||||||
python3 -c 'from loghandler import logger;
|
python3 -c 'from loghandler import logger;
|
||||||
@ -59,12 +54,14 @@ steps:
|
|||||||
|
|
||||||
- name: Unset LOG_LEVEL var
|
- name: Unset LOG_LEVEL var
|
||||||
depends_on:
|
depends_on:
|
||||||
- Prepare environment
|
- clone
|
||||||
image: python:3.10-alpine
|
image: python:3.10-alpine
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
environment:
|
environment:
|
||||||
TZ: 'Europe/Berlin'
|
TZ: 'Europe/Berlin'
|
||||||
commands:
|
commands:
|
||||||
|
- apk --no-cache add gcc musl-dev tzdata
|
||||||
|
- pip3 install --no-cache-dir -r requirements.txt
|
||||||
- echo "$LOG_LEVEL"
|
- echo "$LOG_LEVEL"
|
||||||
- |
|
- |
|
||||||
python3 -c 'from loghandler import logger;
|
python3 -c 'from loghandler import logger;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user