I have a CircleCI 2.0 setup with 3 docker dependencies: postgres, redis and elasticsearch.
Their initial loading is currently up to 12min…
The ElasticSearch container is finding former index files to load.
[2018-08-01T06:03:30,343][INFO ][o.e.n.Node ] [] initializing ...
...
[2018-08-01T06:03:37,834][INFO ][o.e.n.Node ] [PXl-T9L] started
[2018-08-01T06:03:37,836][INFO ][o.e.g.GatewayService ] [PXl-T9L] recovered [0] indices into cluster_state
[2018-08-01T06:05:24,345][INFO ][o.e.c.m.MetaDataCreateIndexService] [PXl-T9L] [XXXXXXXXXX_index_v4] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
[2018-08-01T06:06:06,869][INFO ][o.e.c.m.MetaDataCreateIndexService] [PXl-T9L] [ZZZZZZZZZZZZZZZZZZ_index_0_2] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []
...
...
[2018-08-01T06:12:40,523][INFO ][o.e.c.m.MetaDataMappingService] [PXl-T9L] [YYYYYYYYYYYYYYYYYYYYYYYY_0_20180801161240252/jNMx_koYRxeQ8xYBIIYxlA] create_mapping [YYYYYYYYYYYYYYYYYY]
Job was canceled
From their top position I’d assume those containers would just load with default state, not any previous files.
Ultimately I don’t want any files that I didn’t explicitly cache/restore to be present at next build.
If anyone could help, I’d love to know what I missed out.