Skip to content
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

Controller: update Ruby to 3.3 for HEAD/Uyuni/Uyuni Podman/5.x #1248

Merged
merged 5 commits into from
Sep 12, 2024

Conversation

nodeg
Copy link
Member

@nodeg nodeg commented Jan 31, 2023

What does this PR change?

Prerequisite for uyuni-project/uyuni#6559 / uyuni-project/uyuni#9181. See also the issue https://github.com/SUSE/spacewalk/issues/17431. I only merge this PR, once everything in Uyuni is ready.

This will

  • change the used Ruby version to 3.3 by adding and installing if via the Ruby devel repos (no Ruby > 2.5.9 in Leap 15.5/15.6 😢 )
  • build Twopence from source since there is no way we can build it in OBS with Ruby 3 on openSUSE Leap 15.5/15.6
  • adding the product_version variable to the controller grain, that we will use, to still be able to use Ruby 2.5 on 4.3
  • fix the CI tests by including the checked product_version as a variable

Later on, I will also update Ruby in spacewalk for 4.3, but first we need it in master and giving it some time there.

TODO

  • Add logic to only use the new Ruby version in Uyuni/Uyuni Podman/HEAD and 5.x. No 4.3 until later
  • Change the repository for Twopence once Use Ruby 3.3 for non Ubuntu/macOS openSUSE/twopence#81 will be merged
  • Remove the Chromium/Chromedriver version constraints (126 was the version that caused issues), 128 is available in Leap in the meantime

Links

@nodeg nodeg self-assigned this Jan 31, 2023
@nodeg nodeg force-pushed the qe-update-ruby branch 7 times, most recently from b83f6b5 to 86810b5 Compare February 2, 2023 09:13
@nodeg nodeg force-pushed the qe-update-ruby branch 3 times, most recently from a744696 to 95db7fb Compare March 9, 2023 14:48
@nodeg nodeg force-pushed the qe-update-ruby branch 2 times, most recently from 0a2eaaf to 6ba196b Compare April 17, 2023 13:24
@nodeg nodeg changed the title Controller: update Ruby to 3.1 Controller: update Ruby to 3.3 Aug 2, 2024
@nodeg nodeg force-pushed the qe-update-ruby branch 3 times, most recently from 727cdda to 586777c Compare August 2, 2024 12:50
@nodeg nodeg changed the title Controller: update Ruby to 3.3 Controller: update Ruby to 3.3 for HEAD/Uyuni/Uyuni Podman/5.x Aug 7, 2024
@nodeg nodeg force-pushed the qe-update-ruby branch 6 times, most recently from 5d76f51 to f9d521b Compare August 9, 2024 13:30
@srbarrios srbarrios changed the title Controller: update Ruby to 3.3 for HEAD/Uyuni/Uyuni Podman/5.x Controller: update Ruby to 3.1 for HEAD/Uyuni/Uyuni Podman/5.x Aug 23, 2024
@nodeg nodeg changed the title Controller: update Ruby to 3.1 for HEAD/Uyuni/Uyuni Podman/5.x Controller: update Ruby to 3.3 for HEAD/Uyuni/Uyuni Podman/5.x Aug 27, 2024
@nodeg nodeg force-pushed the qe-update-ruby branch 3 times, most recently from 17f2403 to a7ab0f4 Compare September 2, 2024 11:34
@nodeg nodeg force-pushed the qe-update-ruby branch 7 times, most recently from 9291f20 to d493fde Compare September 10, 2024 14:33
nodeg and others added 5 commits September 11, 2024 11:31
This will
- update the Ruby version on the controller to 3.3
- build Twopence from source since there is no way we can build it in OBS with Ruby 3 on openSUSE Leap 15.5/15.6
- add the `product_version` variable to the controller grain, that we will use, to still be able to use Ruby 2.5 on 4.3
- fix the CI tests by including the checked `product_version` as a variable
- update the `cucumber-html-reporter` version

See SUSE/spacewalk#17431

Signed-off-by: Dominik Gedon <[email protected]>
Signed-off-by: Dominik Gedon <[email protected]>
Signed-off-by: Dominik Gedon <[email protected]>
@deneb-alpha deneb-alpha merged commit 5501010 into uyuni-project:master Sep 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants