Updated ci
This commit is contained in:
parent
dea9211108
commit
8526a7e9fa
24
.drone.yml
24
.drone.yml
|
@ -4,18 +4,21 @@ type: docker
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: ameba
|
||||
image: veelenga/ameba
|
||||
commands:
|
||||
- ameba
|
||||
- name: pgsanity
|
||||
image: boechat107/pgsanity
|
||||
commands:
|
||||
- find -name "*.sql" | xargs pgsanity
|
||||
- name: shellcheck
|
||||
image: koalaman/shellcheck-alpine
|
||||
commands:
|
||||
- cd scripts/
|
||||
- find -name "*.sh" | xargs shellcheck
|
||||
- name: ameba-backend
|
||||
image: veelenga/ameba
|
||||
commands:
|
||||
- cd docker/backend/
|
||||
- ameba micrate/src/ src/
|
||||
- name: pgsanity-backend
|
||||
image: boechat107/pgsanity
|
||||
commands:
|
||||
- cd docker/backend/db/
|
||||
- find -name "*.sql" | xargs pgsanity
|
||||
- name: backend
|
||||
image: docker:dind
|
||||
volumes:
|
||||
|
@ -26,9 +29,8 @@ steps:
|
|||
- cd docker/
|
||||
- docker build --build-arg BUILD_ENV=development backend
|
||||
depends_on:
|
||||
- ameba
|
||||
- pgsanity
|
||||
- shellcheck
|
||||
- ameba-backend
|
||||
- pgsanity-backend
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
|
Loading…
Reference in a new issue