Настроил сборку в drone #2
16
.drone.yml
16
.drone.yml
@ -1,10 +1,20 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
type: exec
|
||||
name: default
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: greets
|
||||
image: python
|
||||
- name: build
|
||||
commands:
|
||||
- docker build .
|
||||
- name: test
|
||||
commands:
|
||||
- docker-compose up --build --abort-on-container-exit
|
||||
- name: run
|
||||
commands:
|
||||
- docker-compose up --build -d
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user