Skip to content

mount directory does not exist, removing from cached folder... #27

Description

@mcnesium

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions