Compare commits
No commits in common. "master" and "beta" have entirely different histories.
27
.drone.yml
27
.drone.yml
@ -6,20 +6,17 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
commands:
|
commands:
|
||||||
- docker-compose -p pycms build
|
- docker-compose -p pycms build
|
||||||
- docker-compose -p pycms push
|
|
||||||
|
|
||||||
---
|
- name: test
|
||||||
name: test
|
|
||||||
type: docker
|
|
||||||
kind: pipeline
|
|
||||||
steps:
|
|
||||||
- name: run db
|
|
||||||
image: mongo
|
|
||||||
detach: true
|
|
||||||
|
|
||||||
- name: run_tests
|
|
||||||
image: pycms_server
|
|
||||||
commands:
|
commands:
|
||||||
- bash ./test.sh
|
- docker-compose -p pycms up --build --abort-on-container-exit
|
||||||
depends_on:
|
|
||||||
- build
|
- name: push
|
||||||
|
commands:
|
||||||
|
- docker-compose -p pycms push
|
||||||
|
- name: run
|
||||||
|
commands:
|
||||||
|
- docker-compose -p pycms down
|
||||||
|
- docker-compose -p pycms up -d
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user