- To handle when hex is down in CI => set up private repo. ( Self hosted hex repo ) Unfortunately artifactory/nexus do not have them ( Mix deps.get - with Artifactory? )
- To speed up CI by caching => you may cache
deps
folder.
More notes
- You may just tarball
deps
folder for example and useHEX_OFFLINE
env var. However, I’ve seen its content changes (e.g. creating new file under/deps
) during compile time… - You can easily set up hex repo with mini_repo - but you have to list packages to sync, or sync all.