Skip to content

Commit

Permalink
206-doublestar-mount Updated CHANGELOG, documentation examples added
Browse files Browse the repository at this point in the history
  • Loading branch information
bdebyl committed Jul 19, 2022
1 parent f162b55 commit 92655c8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Nothing.
- Added double star directory searching in mounts (e.g. `path/**/subdir`)

### Changed

Expand Down
37 changes: 37 additions & 0 deletions docs/examples/drone.md
Expand Up @@ -222,3 +222,40 @@ steps:
rebuild: true
debug: true
```

### Glob Double Star Mounting

```yaml
kind: pipeline
name: default

steps:
- name: restore-cache-debug
image: meltwater/drone-cache
settings:
pull: true
restore: true
debug: true
mount:
- "node_modules"
- "packages/**/dist"
- "packages/**/node_modules"

- name: build
image: npm
pull: true
commands:
- npm build


- name: restore-cache-debug
image: meltwater/drone-cache
settings:
pull: true
rebuild: true
debug: true
mount:
- "node_modules"
- "packages/**/dist"
- "packages/**/node_modules"
```

0 comments on commit 92655c8

Please sign in to comment.