I am trying to run it with this .drone.yml:
pipeline:
restore-cache:
image: drillster/drone-volume-cache
restore: true
mount:
- /drone/.bundle
volumes:
- /var/cache/drone/test:/cache
build:
image: ruby
environment:
- BUNDLE_PATH=/drone/.bundle
commands:
- bundle install
- bundle exec jekyll build
rebuild-cache:
image: drillster/drone-volume-cache
rebuild: true
mount:
- /drone/.bundle
volumes:
- /var/cache/drone/test:/cache
but after the successful build the only output of rebuild-cache in drone says
/drone/.bundle does not exist, removing from cached folder...
and on the host system the directory /var/cache/drone/test remains empty. what is wrong with this pipeline?
I am trying to run it with this
.drone.yml:but after the successful build the only output of
rebuild-cachein drone saysand on the host system the directory
/var/cache/drone/testremains empty. what is wrong with this pipeline?