cirruslabs / gitlab-tart-executor

GitLab Runner executor to run jobs in Tart VMs
MIT License
60 stars 5 forks source link

Images are always pulled #89

Closed spiegelball closed 3 weeks ago

spiegelball commented 1 month ago

Even with TART_EXECUTOR_ALWAYS_PULL=false set system wide the base image is pulled on every run. How can I investigate why this happens?

edigaryev commented 1 month ago

This most likely happens due to automatic pruning in Tart, which removes the VM images from the OCI cache to prevent space shortage.

You can try appending the "--auto-prune", "false" values to --prepare stage to disable this mechanism.