CI/CD working #3
45
.drone.yml
45
.drone.yml
|
|
@ -2,34 +2,27 @@ kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
workspace:
|
pipeline:
|
||||||
path: /
|
setup:
|
||||||
|
image: python
|
||||||
|
commands:
|
||||||
|
- pip install -r requirements_test.txt
|
||||||
|
- ./scripts/CI/setup.sh
|
||||||
|
|
||||||
steps:
|
unittest:
|
||||||
- name: unittest
|
image: python
|
||||||
image: python
|
commands:
|
||||||
commands:
|
- ./scripts/CI/test.sh
|
||||||
- pip install -r requirements_test.txt
|
|
||||||
- ./scripts/CI/setup.sh
|
|
||||||
- ./scripts/CI/test.sh
|
|
||||||
|
|
||||||
settings:
|
static analysis:
|
||||||
username:
|
image: python
|
||||||
from_secret: gitea_username
|
commands:
|
||||||
password:
|
- ./scripts/CI/lint.sh
|
||||||
from_secret: gitea_password
|
|
||||||
|
|
||||||
- name: static analysis
|
settings:
|
||||||
image: python
|
username:
|
||||||
commands:
|
from_secret: gitea_username
|
||||||
- pip install -r requirements_test.txt
|
password:
|
||||||
- ./scripts/CI/setup.sh
|
from_secret: gitea_password
|
||||||
- ./scripts/CI/lint.sh
|
|
||||||
|
|
||||||
settings:
|
|
||||||
username:
|
|
||||||
from_secret: gitea_username
|
|
||||||
password:
|
|
||||||
from_secret: gitea_password
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue