I have created custom cache for pipeline.. where it exceeds the memory limit to .34 GB (total cache was 1.34 GB) which is not allowed in the pipeline. Here cache limit is 1 GB, if the size of cache is exceed it'll skip and does not create any cache.
image: python:3.6.2
pipelines:
default:
- step:
caches:
- condacache
script:
- /opt/python/bin/conda update -y conda
- /opt/python/bin/pip install --upgrade pip
- /opt/python/bin/pip install -r requirements.txt
- /opt/python/bin/pytest
definitions:
caches:
condacache: /opt/python
Here is my Script from pipeline please look and give suggestion how can i reduce my cache size and if i could ignore any script to save in cache.