Updated cache volumes
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
4fbf8866b2
commit
25f38525cc
26
.drone.yml
26
.drone.yml
|
@ -8,18 +8,17 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
restore: true
|
restore: true
|
||||||
mount:
|
mount:
|
||||||
- /drone/.bundle
|
- ./.bundle
|
||||||
- ./.yarn-cache
|
- ./.yarn-cache
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
volumes:
|
volumes:
|
||||||
- name: jekyll-blog-cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /cache
|
||||||
- name: build
|
- name: build
|
||||||
image: starefossen/ruby-node
|
image: starefossen/ruby-node
|
||||||
privileged: true
|
|
||||||
environment:
|
environment:
|
||||||
BUNDLE_PATH: /drone/.bundle
|
BUNDLE_PATH: .bundle
|
||||||
commands:
|
commands:
|
||||||
- export LANG="C.UTF-8"
|
- export LANG="C.UTF-8"
|
||||||
- export LC_ALL="C.UTF-8"
|
- export LC_ALL="C.UTF-8"
|
||||||
- ruby -e 'puts STDIN.external_encoding' # figure out the encoding used
|
- ruby -e 'puts STDIN.external_encoding' # figure out the encoding used
|
||||||
|
@ -28,21 +27,18 @@ steps:
|
||||||
- yarn global add gulp-cli
|
- yarn global add gulp-cli
|
||||||
- yarn install --pure-lockfile
|
- yarn install --pure-lockfile
|
||||||
- gulp build
|
- gulp build
|
||||||
volumes:
|
|
||||||
- name: jekyll-blog-cache
|
|
||||||
path: /tmp/cache
|
|
||||||
- name: rebuild-cache
|
- name: rebuild-cache
|
||||||
privileged: true
|
privileged: true
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
settings:
|
settings:
|
||||||
rebuild: true
|
rebuild: true
|
||||||
mount:
|
mount:
|
||||||
- /drone/.bundle
|
- .bundle
|
||||||
- ./.yarn-cache
|
- .yarn-cache
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
volumes:
|
volumes:
|
||||||
- name: jekyll-blog-cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /cache
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
environment:
|
environment:
|
||||||
|
@ -80,9 +76,9 @@ steps:
|
||||||
status: [ failure ]
|
status: [ failure ]
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: jekyll-blog-cache
|
- name: cache
|
||||||
host:
|
host:
|
||||||
path: /var/lib/drone
|
path: /var/lib/drone/cache
|
||||||
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
|
Loading…
Reference in New Issue