Description
Details
Event Timeline
The Nodepool Jessie instances have ruby2.1 and bundler 1.7.4.
We can create a new job template bundle-{bundlecommand}-jessie , will need a different builder macro because the current one install bundler from gem and uses gem2.0. So should be something like:
ruby --version gem --version bundle --version bundle install bundle exec {bundlecommand}
Then we can generate generic jobs for rubocop, yard ... Add it to the mediawiki/vagrant repository as an experimental job and see what happens.
Once happy, we can process migrating all the bundle jobs.
Don't forget to update https://www.mediawiki.org/wiki/Continuous_integration/Entry_points#Ruby
Change 245875 had a related patch set uploaded (by Zfilipin):
WIP Move Bundler Jenkins jobs to Nodepool instances
Change 246194 had a related patch set uploaded (by Hashar):
Run various commands via rake in the bundler env
Change 245875 merged by jenkins-bot:
Run bundle exec rake test on Nodepool Jessie instances.
Change 246239 had a related patch set uploaded (by Hashar):
Instruct bundler to install under vendor/bundle
Change 246268 had a related patch set uploaded (by Hashar):
Add experimental rake-jessie to a bunch of repos
Change 246268 merged by jenkins-bot:
Add experimental rake-jessie to a bunch of repos
Change 249113 had a related patch set uploaded (by Hashar):
Switch mediawiki/vagrant to use rake/Nodepool
Change 246194 merged by jenkins-bot:
Run various commands via rake in the bundler env
From T104024 the entry point is described at https://www.mediawiki.org/wiki/Continuous_integration/Entry_points#Ruby
mediawiki/vagrant is migrated
Change 251979 had a related patch set uploaded (by Zfilipin):
Run Ruby jobs using Rake
Change 252689 had a related patch set uploaded (by Zfilipin):
Added rake-jessie job to test and gate-and-submit pipelines for operations/puppet repository
Change 252690 had a related patch set uploaded (by Zfilipin):
Run Ruby jobs using Rake
Change 253343 had a related patch set uploaded (by Zfilipin):
Run Ruby jobs using Rake
We talked about it during the CI weekly meeting. It is pretty much done, the last repos to migrate were operations/puppet and mediawiki/core ones (Zeljko aced them).
What would be idea is to migrate the publish jobs (for doc.wikimedia.org) which still use permanent slaves. But that is probably a different can of worms to open. I am not sure how to handle credentials to sync from Nodepool instances to the production machine that hosts doc.wikimedia.org. But I digress.
I would mark this task as solved. @zeljkofilipin agree?
From Zeljko in our 1:1: all ruby/bundler jobs moved except the selenium ones (they have more complex dependencies). That sounds good enough for me on this task, we can create another one for those.