Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Check DVC releases to update containers #1

Closed
iesahin opened this issue Apr 7, 2021 · 0 comments · Fixed by #4
Closed

Check DVC releases to update containers #1

iesahin opened this issue Apr 7, 2021 · 0 comments · Fixed by #4
Assignees

Comments

@iesahin
Copy link
Contributor

iesahin commented Apr 7, 2021

The container upgrade currently uses --no-cache option of docker build to update DVC versions. Although most of the layers are common across containers, they are not reused, in order to upgrade the DVC version.

We need a better way to handle DVC version dependency. For example, build-all.zsh script can use the output of curl -s https://api.github.com/repos/iterative/dvc/releases/latest command to check if there is a new version and use this as a --build-arg. That way we can be sure that the intact layers are reused, both from previous ones and the current one, and DVC version is upgraded when necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant