Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
  checks
  features
  procedures
  scenarios

Latest revisions

# Date Author Comment
e9ead95f 09/12/2017 10:16 AM Ivan Necas

Fixes #20848 - Fix error messages indentation

074bfd8f 06/23/2017 03:12 PM Ivan Necas

Simplify the dependency graph

When composing the dependency graph for tsort, use just the collection
it was set to, instead of using resolver to find the classes by label.

Besides simplification, it also preserves the order in which the steps
were added, otherwise, the order was dependent on the Ruby version (and...

a625d952 06/23/2017 03:45 AM Ivan Necas

Support for run_once procedures and repositories setup

f8412867 06/23/2017 03:44 AM Ivan Necas

Rollback support if the upgrade fails soon enough

fe78718e 06/23/2017 03:44 AM Ivan Necas

Support for scenario serialization/deserialization

2b50ced4 06/23/2017 03:44 AM Ivan Necas

Extract control flow of upgrades to special file

5b1badaf 06/23/2017 03:41 AM Ivan Necas

Introduce run_strategy for scenarios

Health-check scenarios are better to run all steps regardless of errors
(:fail_slow strategy), while the migration scenarios should fail as soon
as first failure happens (:fail_fast strategy).

By default, the scenarios are treated as `:fail_fast`.

ea60b444 06/23/2017 03:41 AM Ivan Necas

Full upgrade scenario

This commit intoroduces more structured upgrade scenario consisting of
this scenarios:

  • pre_upgrade_check - non-modifying checks: is the system ready?
  • pre_migrations - modifying procedures before source update
  • migrations - source update and main migrations...
c418295c 06/21/2017 04:14 PM Swapnil Abnave

Define order using ruby TSort

1. Introduce 2 metadata: 'before' and 'after'
2. Current order is:
Checks::SyncPlans::WithEnabledStatus
Checks::DiskSpeedMinimal
Checks::SystemRegistration
Checks::ForemanTasks::NotPaused
Checks::ForemanTasks::NotRunning
Checks::ForemanTasks::Invalid::CheckOld...

47f46f8b 05/11/2017 06:41 AM Ivan Necas

Tests for preparation steps

View revisions

Also available in: Atom