Jira (PUP-11786) Update jenkins runners to use ruby 3.1

0 views
Skip to first unread message

Tony Vu (Jira)

unread,
Mar 23, 2023, 4:47:02 PM3/23/23
to puppe...@googlegroups.com
Tony Vu created an issue
 
Puppet / Task PUP-11786
Update jenkins runners to use ruby 3.1
Issue Type: Task Task
Assignee: Unassigned
Created: 2023/03/23 1:46 PM
Priority: Normal Normal
Reporter: Tony Vu

The puppet repo is ready to make the switch to dropping ruby 2.7 support in main and requiring at least ruby 3.1. However, many of the jenkins jobs are coded to use < 3, and so anything that requires bundle install with the puppet repo will fail.

There are various ways that the ruby version is set jenkins:

  • p_rvm_ruby_version, rvm_ruby_version
  • hard-coded values such as here

Starting with the beginning of the puppet-main pipeline, adjust each job to start using 3.2 where neccessary until the whole pipeline is complete.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Tony Vu (Jira)

unread,
Mar 23, 2023, 4:54:02 PM3/23/23
to puppe...@googlegroups.com
Tony Vu updated an issue
Change By: Tony Vu
Sprint: Phoenix 2023-03-29

Michael Hashizume (Jira)

unread,
Mar 23, 2023, 5:43:01 PM3/23/23
to puppe...@googlegroups.com
Michael Hashizume assigned an issue to Michael Hashizume
Change By: Michael Hashizume
Assignee: Michael Hashizume

Michael Hashizume (Jira)

unread,
Mar 23, 2023, 10:30:02 PM3/23/23
to puppe...@googlegroups.com
Michael Hashizume commented on Task PUP-11786
 
Re: Update jenkins runners to use ruby 3.1

I ran into some issues here with Vanagon, looks like this is being worked on with VANAGON-226

I also discovered that the static Jenkins hosts don't have the same version of Ruby 3.1 installed on them as the container images used in CI, so I opened up https://github.com/puppetlabs/puppetlabs-modules/pull/11138

Michael Hashizume (Jira)

unread,
Mar 28, 2023, 7:21:02 PM3/28/23
to puppe...@googlegroups.com

I'm currently waiting on the release of several components to support Ruby 3.1 and/or Beaker 5 (which is Ruby 3.1 compatible):

  • Vanagon (Puppet)
  • beaker-puppet (Vox)
  • beaker-abs and beaker-vmpooler (Puppet)

It looks like Vox have removed some methods Beaker 5 used in puppet-agent tests that will require code changes (see: https://github.com/voxpupuli/beaker/pull/1775)

Michael Hashizume (Jira)

unread,
Mar 29, 2023, 1:14:02 PM3/29/23
to puppe...@googlegroups.com
Michael Hashizume updated an issue
 
Change By: Michael Hashizume
Sprint: Phoenix 2023-03-29 , Phoenix 2023-04-12

Josh Cooper (Jira)

unread,
Apr 6, 2023, 12:10:01 PM4/6/23
to puppe...@googlegroups.com
Josh Cooper assigned an issue to Josh Cooper
Change By: Josh Cooper
Assignee: Michael Hashizume Josh Cooper

Josh Cooper (Jira)

unread,
Apr 6, 2023, 12:10:03 PM4/6/23
to puppe...@googlegroups.com
Josh Cooper commented on Task PUP-11786
 
Re: Update jenkins runners to use ruby 3.1

Released beaker 4.40 which allows beaker 4 to run on Ruby 3.1

Next up, update bundler gem used in ruby 3.1.1 on static jenkins hosts.

Then update core modules to run with ruby 3.1.1 (and test with beaker 4.40 & puppet 8)

Josh Cooper (Jira)

unread,
Apr 13, 2023, 12:24:02 PM4/13/23
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Release Notes: Not Needed
Reply all
Reply to author
Forward
0 new messages