Details
-
Suggestion
-
Resolution: Won't Fix
Description
It would be nice to choose a single cache-definitions with provided Glob selection.
The current solution looks like this:
#!yml
pipelines:
default:
- step:
caches:
- root
- service-graphql
- service-integrations
- service-logging
definitions:
caches:
root: node_modules
service-graphql: services/graphql/node_modules
service-integrations: services/integrations/node_modules
service-logging: services/logging/node_modules
A more convenient solution would be to use globs as dynamic caching definitions. This is cleaner and the developer does't need to maintain the file each time a new service is added to the project.
Expectation:
#!yml
pipelines:
default:
- step:
caches:
- root
- services
definitions:
caches:
root: node_modules
services: services/*/node_modules
Attachments
Issue Links
- duplicates
-
BCLOUD-14371 Allow Pipelines caching using a pattern rather than hardcoded directories
- Closed