-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Change docker tag logic #15889
Change docker tag logic #15889
Conversation
Codecov Report
@@ Coverage Diff @@
## main #15889 +/- ##
==========================================
- Coverage 44.02% 44.01% -0.01%
==========================================
Files 681 681
Lines 82333 82333
==========================================
- Hits 36244 36237 -7
- Misses 40186 40194 +8
+ Partials 5903 5902 -1
Continue to review full report at Codecov.
|
I don't like changing the meaning of tag. I would probably than prefer dropping it if we go this way |
well we need consensus ... and more people testing gitea - especially windows users ! |
the only meaning we are changing is |
That would be great ofc, but these people should be "testers" because they want to, not because they accidentally used
Thanks, I will have a look how I can integrate |
@pat-s ... good point We can switch this schema each time migration level is equal on main and release branch ... so on each majour release |
Problem is that we will pretty much break all instances with this change using :latest as they won't start anymore as essentially we will force downgrade on them. Also in all recommendations it is warned not to use |
@lafriks we'd wait until next major release to switch the |
I would propose Also this would be displayed only for ci built main branch releases |
This could be done in addition to the new The issue that people end up unwanted in the dev build can IMO only be solved by switching the tag logic away from |
My proposal would be to drop |
We could also get rid of If we do this, we want to communicate this upfront throughout the period of a point release? |
I have a strong opinion against getting rid of |
At least it would force to specify one 🤣 |
@techknowlogick I've reduced the build matrix in this PR to only run the docker dry run pipelines temporarily. However, the manifest runs only get triggered by a tag / need a tag for correct image tagging. Maybe there is an easier way to test this which I am currently overlooking? Also I think the |
Maybe @zeripath can also shine light on this? 🙂 |
OK, I think we need to balance the benefits and risks of our current system in toto:
In the end though I'm tired of being flamed by (often novice) docker users - whilst I don't think we're doing anything wrong and it wasn't wrong originally - I think consensus has moved underneath us and most people on dockerhub have moved to ":latest" to represent the latest stable. So unfortunately I think we probably do need to do it - but in doing so we're going to have acknowledge that there will be consequences on our ability to get things tested and likely we're going to have to change the way we manage releases and merging and in particular refactors. |
If we go this way, we should add a new tag "main" who is the new "latest" and realy encurage users to run this if they like to support us! |
"dev" or "testung" sounds to unstable ... |
main then |
as much as I love to yak shave (I don't), we need to denote some level of "this isn't the stable release" so |
I'd also favor However I would still need some feedback how I/we can test drive this. See my last comment 🙂 |
if we go this direction I think it's time to make this pull ready |
Closing in lieu of #16421 |
fixes #15622
:latest
->:dev
:latest
=:1
=:stable
@techknowlogick @sapk
I could not find where the
:1
tag is defined on releases. Is it only triggered by a local heuristic on release?This change should change HEAD version tag to
:dev
, unless I overlooked something.Feedback/help welcome :)