Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
93ff836e08 | |||
cd47d4aa84 |
27
.drone.yml
27
.drone.yml
@ -6,17 +6,20 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
commands:
|
commands:
|
||||||
- docker-compose -p pycms build
|
- docker-compose -p pycms build
|
||||||
|
|
||||||
- name: test
|
|
||||||
commands:
|
|
||||||
- docker-compose -p pycms up --build --abort-on-container-exit
|
|
||||||
|
|
||||||
- name: push
|
|
||||||
commands:
|
|
||||||
- docker-compose -p pycms push
|
- docker-compose -p pycms push
|
||||||
- name: run
|
|
||||||
|
---
|
||||||
|
name: test
|
||||||
|
type: docker
|
||||||
|
kind: pipeline
|
||||||
|
steps:
|
||||||
|
- name: run db
|
||||||
|
image: mongo
|
||||||
|
detach: true
|
||||||
|
|
||||||
|
- name: run_tests
|
||||||
|
image: pycms_server
|
||||||
commands:
|
commands:
|
||||||
- docker-compose -p pycms down
|
- bash ./test.sh
|
||||||
- docker-compose -p pycms up -d
|
depends_on:
|
||||||
|
- build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user