Closed (fixed)
Project:
Group
Version:
2.3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Nov 2023 at 14:31 UTC
Updated:
8 Mar 2024 at 09:21 UTC
Jump to comment: Most recent
Adopt GitLab CI
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
naveenvalechaComment #4
kristiaanvandeneyndeThis is on my wishlist for the next version, tagging as such
Comment #5
nikolay shapovalov commentedThanks for MR, can you please check my comments.
Do you know why phpunit tests are failled?
Is there an issue to fix it?
Comment #6
kristiaanvandeneyndeI am still working on getting pipelines to go green, so I would say it's a bit premature to start providing feedback already :)
Comment #7
nikolay shapovalov commentedI thought that MR is ready for review, because issue had status "Needs review".
Comment #8
kristiaanvandeneyndeYeah that was just so the testbot would run, issue is green now will look at your comments and adjust where needed.
Comment #9
kristiaanvandeneyndeChanged MR to target 2.3.x
Comment #10
kristiaanvandeneyndeOkay we now have a phpstan baseline of 52 entries, most of them due to poor typehinting, I find that acceptable. We can work on that later on. Will merge and then try to get the same running for 3.3.x
Comment #12
kristiaanvandeneyndeComment #15
dwwSorry, I totally missed this since it was only committed to 3.3.x and not backported at all. I opened #3426239: Add .gitlab-ci.yml file for automated MR testing.
@kristiaanvandeneynde: Mind if I cherry-pick this to earlier branches so that we can have automated testing working on anything we backport, too?
Thanks!
-Derek
Comment #16
kristiaanvandeneyndeIt was backported to 2.3.x, which is the new minor version alongside 3.3.x. MRs should be made against the latest branch, which has GitLab CI now.
I'm a bit on the fence about backporting this further because once 3.3.0 and 2.3.0 are out, previous minor versions will no longer receive patch updates. I'm following the core release cycle on that matter. Every commit I make I already have to transliterate to 2.3.x compatible code, I'm not sure if I want to go through the trouble of then also backporting that to 2.2.x/3.2.x etc.
Comment #17
dwwThanks for your response, and sorry for opening the duplicate issue.
But those releases are not out. There's not even an alpha, much less an RC or a stable. No expectations, hurry, or judgement, only stating the current situation. Meanwhile, the stable release series will continue to have bug fixes. You might even need to do a security release. So it'd be good to have automated test coverage of those branches so you know if they're in a state that could be released whenever necessary or desired.
Core has exactly this situation. Every change is currently MR'ed against the 11.x branch. If it's a bug fix or non-disruptive task (e.g. test improvements, etc), it gets cherry-pick'ed to the 10.2.x branch since that's the current stable release. We just got to the point where they also branched 10.3.x so 11.x becomes truly 11.x code, and everything (even new features) are cherry-picked to 10.3.x and bug fixes are cherry-picked to 10.2.x.
Meanwhile, right now, Core still has 10.1.x as a supported "previous minor" release series for security coverage. Per https://www.drupal.org/project/drupal
So technically, if you're planning to follow the core release cycle, we should be claiming that Group 3.1.x is still a supported release that could get a security update if needed, in which case we'd want to backport
.gitlab-ci.ymlat least that far.I truly appreciate that pain. A few things that could help:
So my previous offer still stands: mind if I cherry-pick the
.gitlab-ci.ymlcommit (9e597c473) to at least 3.2.x if not also 3.1.x branches, just to make sure things are still working back there in case we need it? Ditto any follow-up cspell, etc tasks / fixes? I promise to be careful. I just tried it and it's a clean cherry-pick for 3.2.x, but a few conflicts for 3.1.x:I could open a new MR here for 3.1.x if you'd like.
What do you think?
Thanks again!
-Derek
Comment #18
dwwp.s. Oh yeah, and technically we still call the 8.x-1.6 release supported, so we also "need" the .gitlab-ci.yml file all the way back there, too. 😂 Again, I'm willing to deal with that. Perhaps easier to just open new child issues for these backports at this point.
Comment #19
kristiaanvandeneyndeOkay, so fat chance we're backporting all that to 8.x-1.x :D
You did convince me that, for the time being, we could backport this to 2.2.x and 3.2.x. I wouldn't go as far as backporting to x.1.x as I made no promises similar to core about extended security coverage. I'm still of the opinion that updating to the newest minor should be seamless (no BC breaks) and you therefore should at most be on the previous minor.
3.3.0 is currently in the works and once I've worked my way through https://www.drupal.org/project/issues/search/group?project_issue_followe... + added the new D10.2 stuff (like Attributes) it will be released.
Comment #20
kristiaanvandeneyndeOh and please create a new ticket, I don't like re-opening closed tickets.