Compare commits

...

2 Commits
beta ... master

Author SHA1 Message Date
93ff836e08 The real drone yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-08-28 13:20:12 +03:00
cd47d4aa84 The real drone yml
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-08-28 13:04:13 +03:00

View File

@ -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