Merge pull request 'Настроил сборку в drone' (#2) from drone into master
Reviewed-on: http://git.lulzette.ru/lulzette/pycms/pulls/2
This commit is contained in:
commit
04905c59db
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: exec
|
||||||
|
name: default
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- 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