Refactor #21938
Single upgrade rake task
Description
Currently there are many rake tasks for upgrades that are called one-by-one in the installer. This means that for every upgrade step we need to write code for an additional task. I'd be much easier if there was a single task that wrapped all katello:upgrades:* tasks so we could simply do foreman-rake katello:upgrade.
Related issues
Associated revisions
History
#1
Updated by Andrew Kofink over 5 years ago
- Legacy Backlogs Release (now unused) set to 284
#2
Updated by Andrew Kofink over 5 years ago
- Legacy Backlogs Release (now unused) changed from 284 to 114
- Category set to Upgrades
#3
Updated by Justin Sherrill about 5 years ago
- Legacy Backlogs Release (now unused) changed from 114 to 338
#4
Updated by Justin Sherrill almost 5 years ago
- Is duplicate of Bug #22961: re-vamp upgrade proccess to not require installer updates added
#5
Updated by Justin Sherrill almost 5 years ago
- Blocks Tracker #23927: Convert sync plans to Foreman Tasks added
#6
Updated by Justin Sherrill almost 5 years ago
- Status changed from New to Duplicate
#7
Updated by Justin Sherrill over 4 years ago
- Triaged set to No
- Legacy Backlogs Release (now unused) deleted (
338) - Assignee set to Justin Sherrill
- Category changed from Upgrades to Rake tasks
- Project changed from Katello to Foreman
#8
Updated by Justin Sherrill over 4 years ago
- Status changed from Duplicate to New
#9
Updated by Justin Sherrill over 4 years ago
- Blocks Refactor #24189: Update katello to use foreman upgrade task added
#10
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5780 added
#11
Updated by Justin Sherrill over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset d93cd014d1831086f9652062f15ae722bc352bb8.
#12
Updated by Marek Hulán over 4 years ago
- Fixed in Releases 1.20.0 added
Fixes #21938 - add plugable upgrade rake task
This commit adds the ability for upgrade rake tasks to be defined
within seeds. The installer can then run the upgrade:run rake task
to run them. Tasks can be defined to run once or to always run when
the upgrade:run master task is run.