You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Course/lesson-6.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,3 +43,16 @@
43
43
*`cache_dir = "/cache"` - add same location to cache as volume directory
44
44
*`:wq` - Save the file
45
45
46
+
### Clear the Cache:
47
+
* Manually with button "Clear runner caches"
48
+
* The old cache is not deleted
49
+
* Cache name will be updated and used instead
50
+
* Have to delete manually files from the Runner storage
51
+
* Format "cache-index", index is incremented by one
52
+
* Change the value for the cache key in yml file
53
+
54
+
*`$ docker volume ls` - reference to the physical location on this machine where cache is stored
55
+
*`$ runner-ieinwck3-project-40450508-concurrent-0-cache-3c3f060a0374fc8bc39395164f415a70` - the location "/var/lib/docker/volumes/runner-ieinwck3-project-40450508-concurrent-0-cache-3c3f060a0374fc8bc39395164f415a70/_data"
56
+
*`sudo ls /var/lib/docker/volumes/runner-ieinwck3-project-40450508-concurrent-0-cache-3c3f060a0374fc8bc39395164f415a70/_data/JavaScriptonit/mynodeapp-cicd-project` - path of the cache
57
+
*[Where the caches are stored](https://docs.gitlab.com/ee/ci/caching/) - for Shell, Docker and Docker Machine
0 commit comments