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