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