Fix CI
This commit is contained in:
parent
568c7ad55f
commit
c5cfbaafa6
41
.drone.yml
41
.drone.yml
|
@ -14,15 +14,6 @@ steps:
|
|||
commands:
|
||||
- cd docs
|
||||
- find -name "*.md" | xargs mdl
|
||||
- name: restore-cache
|
||||
image: drillster/drone-volume-cache
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /cache
|
||||
settings:
|
||||
restore: true
|
||||
mount:
|
||||
- ./docs/book
|
||||
- name: docs
|
||||
image: michaelfbryan/mdbook-docker-image
|
||||
volumes:
|
||||
|
@ -33,7 +24,6 @@ steps:
|
|||
- mdbook build
|
||||
depends_on:
|
||||
- markdownlint
|
||||
- restore-cache
|
||||
- name: rebuild-cache
|
||||
image: drillster/drone-volume-cache
|
||||
volumes:
|
||||
|
@ -66,38 +56,27 @@ steps:
|
|||
image: boechat107/pgsanity
|
||||
commands:
|
||||
- pgsanity docker/backend/db/**/*.sql
|
||||
- name: restore-cache
|
||||
image: drillster/drone-volume-cache
|
||||
- name: deps
|
||||
image: crystallang/crystal:1.3-alpine
|
||||
volumes:
|
||||
- name: lib
|
||||
path: /drone/src/docker/backend/lib
|
||||
- name: cache
|
||||
path: /cache
|
||||
settings:
|
||||
restore: true
|
||||
mount:
|
||||
- ./docker/backend/lib
|
||||
- ./docker/backend/docs
|
||||
- name: deps
|
||||
commands:
|
||||
- cd docker/backend
|
||||
- shards install
|
||||
- name: docs
|
||||
image: crystallang/crystal:1.3-alpine
|
||||
volumes:
|
||||
- name: lib
|
||||
path: /drone/src/docker/backend/lib
|
||||
commands:
|
||||
- cd docker/backend
|
||||
- shards install
|
||||
depends_on:
|
||||
- restore-cache
|
||||
- name: docs
|
||||
image: crystallang/crystal:1.3-alpine
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /cache
|
||||
commands:
|
||||
- cd docker/backend
|
||||
- make docs
|
||||
depends_on:
|
||||
- ameba
|
||||
- deps
|
||||
- restore-cache
|
||||
- name: rebuild-cache
|
||||
image: drillster/drone-volume-cache
|
||||
volumes:
|
||||
|
@ -106,10 +85,8 @@ steps:
|
|||
settings:
|
||||
rebuild: true
|
||||
mount:
|
||||
- ./docker/backend/lib
|
||||
- ./docker/backend/docs
|
||||
depends_on:
|
||||
- deps
|
||||
- docs
|
||||
- name: build
|
||||
image: tmaier/docker-compose
|
||||
|
@ -124,6 +101,8 @@ steps:
|
|||
- pgsanity
|
||||
|
||||
volumes:
|
||||
- name: lib
|
||||
temp: {}
|
||||
- name: cache
|
||||
host:
|
||||
path: /tmp/cache
|
||||
|
|
Loading…
Reference in a new issue