Merge pull request 'CI multiple pipelines' (#13) from ci-multi-pipelines into main
Reviewed-on: #13
This commit is contained in:
commit
36bd33a04e
1 changed files with 12 additions and 6 deletions
18
.drone.yml
18
.drone.yml
|
@ -2,7 +2,6 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: shellcheck
|
- name: shellcheck
|
||||||
image: koalaman/shellcheck-alpine
|
image: koalaman/shellcheck-alpine
|
||||||
|
@ -13,12 +12,18 @@ steps:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- . .example.env
|
- . .example.env
|
||||||
- name: ameba-backend
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: backend
|
||||||
|
steps:
|
||||||
|
- name: ameba
|
||||||
image: veelenga/ameba
|
image: veelenga/ameba
|
||||||
commands:
|
commands:
|
||||||
- cd docker/backend/
|
- cd docker/backend/
|
||||||
- ameba micrate/src/ src/
|
- ameba micrate/src/ src/
|
||||||
- name: pgsanity-backend
|
- name: pgsanity
|
||||||
image: boechat107/pgsanity
|
image: boechat107/pgsanity
|
||||||
commands:
|
commands:
|
||||||
- cd docker/backend/db/
|
- cd docker/backend/db/
|
||||||
|
@ -33,10 +38,11 @@ steps:
|
||||||
- cd docker/
|
- cd docker/
|
||||||
- docker build --build-arg BUILD_ENV=development backend
|
- docker build --build-arg BUILD_ENV=development backend
|
||||||
depends_on:
|
depends_on:
|
||||||
- ameba-backend
|
- ameba
|
||||||
- pgsanity-backend
|
- pgsanity
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
host:
|
host:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
depends_on:
|
||||||
|
- default
|
||||||
|
|
Loading…
Reference in a new issue