Wiki #61

Merged
dergrimm merged 76 commits from wiki into main 2022-02-23 17:23:49 +00:00
Showing only changes of commit ee34e13e3a - Show all commits

View file

@ -1,3 +1,37 @@
---
kind: pipeline
type: docker
name: clear-cache
steps:
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./docs
- name: clear-cache
image: alpine
commands:
- rm -rf /cache/*
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./docs
volumes:
- name: cache
host:
path: /tmp/cache
---
kind: pipeline
type: docker
@ -31,7 +65,6 @@ steps:
commands:
- cd docs
- mdbook build
- mkdir -p /cache/docs
- mv book/* /cache/docs
depends_on:
- markdownlint
@ -53,6 +86,9 @@ volumes:
host:
path: /tmp/cache
depends_on:
- clear-cache
---
kind: pipeline
type: docker
@ -106,6 +142,9 @@ volumes:
host:
path: /var/run/docker.sock
depends_on:
- clear-cache
---
kind: pipeline
type: docker
@ -171,43 +210,3 @@ trigger:
- promote
target:
- production
---
kind: pipeline
type: docker
name: clear-cache
steps:
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./docs
- name: clear-cache
image: alpine
commands:
- rm -rf /cache/*
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./docs
volumes:
- name: cache
host:
path: /tmp/cache
depends_on:
- default
- backend
- frontend
- deploy