- Issue created by @DamienMcKenna
- Merge request !26Issue #3440527 by DamienMcKenna: Add Gitlab CI template file. β (Merged) created by DamienMcKenna
- last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - Assigned to DamienMcKenna
- last update
10 months ago 1 pass, 2 fail - πΊπΈUnited States DamienMcKenna NH, USA
It'd be useful to be able to skip the Drupal.NamingConventions.ValidFunctionName.InvalidPrefix test in phpcs.
- Status changed to Needs work
10 months ago 11:01am 13 April 2024 - πΊπΈUnited States DamienMcKenna NH, USA
Something's causing the pipelines to not run.
- last update
10 months ago 1 pass, 2 fail - π¬π§United Kingdom jonathan1055
The error
jobs d7 drupal test dependencies config should implement a script: or a trigger: keyword
means you have invalid yml (also shown in the colored tags by the pipeline). You are missing the
variables:
keyword, because the 'd7 drupal test dependencies' is being interpreted as job names. - last update
10 months ago 1 pass, 2 fail - πΊπΈUnited States DamienMcKenna NH, USA
The current test failures are due to problems with the Devel module, so I opened a merge request for it:
- last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - πΊπΈUnited States DamienMcKenna NH, USA
Thanks to fjgarlin for the syntax tip for the "exclude" option.
- last update
10 months ago 1 pass, 2 fail - πΊπΈUnited States DamienMcKenna NH, USA
I think we might need to try loading the devel module from D7Security via a composer.json file.
- last update
10 months ago 1 pass, 2 fail - last update
10 months ago Composer require-dev failure - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - πͺπΈSpain fjgarlin
I made some changes to the MR to unblock the issue where it wouldn't go past composer and left a note in the MR to revert once #3442120: D7 pipeline fails: Uploading artifacts as "archive" to coordinator... 413 Request Entity Too Large β is merged (that issue is in "needs review" now).
- last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - Status changed to Needs review
10 months ago 10:54am 24 April 2024 - πΊπΈUnited States DamienMcKenna NH, USA
Thanks to help from fjgarlin and jonathan1055, this works now.
- last update
10 months ago 1 pass, 2 fail - πͺπΈSpain fjgarlin
Great!! Thanks for the back and forth, it was really useful to improve the templates for Drupal 7. I am glad we've found a way to make it work.
I left a couple of comments in the MR.
- last update
10 months ago 1 pass, 2 fail - πΊπΈUnited States DamienMcKenna NH, USA
It's weird - the last commit, to leverage _D7_DRUPAL_TEST_DEPENDENCIES to download the dependencies instead of before_script, seems to cause the custom download of Devel to be replaced by by the d.o version.
- πͺπΈSpain fjgarlin
Umm, what makes you think that it's using the "devel" version of d.o?
- πͺπΈSpain fjgarlin
Maybe it was a one-off error kind of thing?
I re-ran the pipeline and it was green: https://git.drupalcode.org/issue/scanner-3440527/-/pipelines/155305 - πΊπΈUnited States DamienMcKenna NH, USA
The Devel version on d.o doesn't have PHP 8 fixes, which is why it fails with this error:
Exception Deprecated devel_generate.in 464 devel_generate_word() Implicit conversion from float 31461.000000000004 to int loses precision
It is definitely weird that it worked on the second run.
- last update
10 months ago 1 pass, 2 fail - last update
10 months ago 1 pass, 2 fail - πͺπΈSpain fjgarlin
That line seems to be exactly the same in both versions:
- d.o: https://git.drupalcode.org/project/devel/-/blob/7.x-1.x/devel_generate/d...
- gitlab.com: https://gitlab.com/d7security/devel/-/blob/7.x-1.x/devel_generate/devel_...For what is worth, I don't think that it would have tried to bring it from d.o as we are adding the
--source
attribute, so whatever the problem is seems to be in the gitlab.com version of it. - πΊπΈUnited States DamienMcKenna NH, USA
I submitted a comments-only change to the merge request and it failed again. Running it locally I spotted where it hits a different number of errors each time, but I can reproduce the problem.
I'll submit another MR to Devel.
- πͺπΈSpain fjgarlin
Perfect! I think the MR for this issue is looking pretty good already, so once that upstream issue is created/merged it should all be good (and consistent π).
- πΊπΈUnited States DamienMcKenna NH, USA
I submitted a MR for Devel to fix the bug: https://gitlab.com/d7security/devel/-/merge_requests/3
- last update
10 months ago 1 pass, 2 fail - πΊπΈUnited States DamienMcKenna NH, USA
The way the test logic was set up there were scenarios where the tests didn't run properly, so the logic from Devel wasn't actually running. I made some changes to improve the generated test data so it'll be better at triggering the problem.
- last update
10 months ago 1 pass, 2 fail - last update
9 months ago 1 pass, 2 fail - last update
9 months ago 1 pass, 2 fail - last update
9 months ago 1 pass, 2 fail -
DamienMcKenna β
committed 34997ae6 on 7.x-1.x
Issue #3440527 by DamienMcKenna, jonathan1055, fjgarlin: Gitlab-CI setup...
-
DamienMcKenna β
committed 34997ae6 on 7.x-1.x
- Status changed to Fixed
9 months ago 3:26pm 29 April 2024 - Issue was unassigned.
Automatically closed - issue fixed for 2 weeks with no activity.