Restore cache
The logs for the step that restores the cache on a subsequent pipeline run do not contain any references to paths in plugins/**/node_modules. They only contain references to non glob paths included in the mount list.
Description
I have written a script that runs in a step following on from the restore cache step. It produces the following output:
'./plugins/sqsp-annotations/node_modules' not found, cannot restore from cache
'./plugins/sqsp-drone/node_modules' not found, cannot restore from cache
'./plugins/sqsp-github/node_modules' not found, cannot restore from cache
I have checked that indeed all paths in plugins/**/node_modules were not restored. This isn't an issue if I manually specify all paths in plugins/**/node_modules
Desktop (please complete the following information):
NA using drone with meltwater/drone-cache
Describe the bug When using glob paths on the
mount
value for directories, those directories aren't restored on subsequent pipeline runsTo Reproduce Steps to reproduce the behavior:
restore: true
for the restore step andrebuild: true
for the rebuild stepExpected behavior All paths in
plugins/**/node_modules
will be restored on a subsequent pipeline run after the cache has been created/rebuiltUpdate cache The logs for the step that updates the cache indicate that the folders in the glob paths were successfully updated:
Restore cache The logs for the step that restores the cache on a subsequent pipeline run do not contain any references to paths in
plugins/**/node_modules
. They only contain references to non glob paths included in themount
list.Description I have written a script that runs in a step following on from the restore cache step. It produces the following output:
I have checked that indeed all paths in
plugins/**/node_modules
were not restored. This isn't an issue if I manually specify all paths inplugins/**/node_modules
Desktop (please complete the following information): NA using drone with
meltwater/drone-cache