-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ckan image tags #39
Comments
Docker tagging is a minefield of poor process -- this isn't a CKAN-specific issue, unfortunately. The general best-practice is for users to pin to specific versions, and then for developers to overwrite tags as necessary so that the latest & greatest bugfixes can be distributed to users. However, that practice relies on an update to a tag not breaking the image, which it seems that (in this case) was violated. I've thought about this a little bit and don't have any great solutions, but here are a few thoughts that the CKAN maintainers can think about... My team builds a custom CKAN image
I definitely agree that having "unique" identifiers would be helpful, because it would allow people to safely & quickly roll back to a known "good" version of the image, without resorting to something like fixing to a specific One thing I have done before that worked out well is use a "release" notation, where I add a suffix to the version tag to differentiate between various "releases" of a Docker image that embeds a tool that is locked to a specific version. In the
And so on. Or, instead of revision numbers, you could also consider appending a short hash of the corresponding Git commit from the In any case, if you did adopt a revision-based numbering strategy, you could always re-tag each new revision as All that said, I do think that the larger issue here is that there was a process failure at the CKAN dev level: changes were merged to |
Currently the tags are being overwritten each time a ckan admin pushes to Dockerhub. Is it possible to not overwrite the same tag so if something breaks we can revert to a working version? Maybe a unique tag for each build.
I think the splitting of datapusher (ckan/ckan-docker#95) caused some issues and now the dev version is not working (ckan/ckan-docker#108). This PR fixes the issue: #38.
The text was updated successfully, but these errors were encountered: