This commit is contained in:
parent
04905c59db
commit
90af2a38a4
17
.drone.yml
17
.drone.yml
@ -1,20 +1,13 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: exec
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
image: python
|
||||||
commands:
|
commands:
|
||||||
- docker build .
|
- pip3 install --upgrade pip
|
||||||
- name: test
|
- pip3 install -r requirements.txt
|
||||||
commands:
|
- bash test.sh
|
||||||
- docker-compose up --build --abort-on-container-exit
|
|
||||||
- name: run
|
|
||||||
commands:
|
|
||||||
- docker-compose up --build -d
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user