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

Add RHUI and RPM Transaction configuration #1142

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from

Commits on Sep 19, 2024

  1. Initial work to demonstrate an actor config framework.

    * Modify the upgrade workflow to load the actor configuration to be available to the actors
      [_] Note: The same sort of code needs to be added to other workflows that need actor config.  For
          instance, the pre-upgrade workflow.
    * Define potential config schemas for RHUI and for listing rpm packages to be treated specially
      during transations.
    * Add config schemas to the rpmtransactionconfigtaskscollector as a sample of using it.
    * The actor config is supposed to live in the actor:
      We decided that we weren't going to share config schema via python import.  Instead, Actors would
      need to copy the schema into themselves.  That way the framework can check whether the schema for
      two Actors is out of sync and force the user to correct the code before running.
      * However, the framework is currently only reading from the configs dir at the repository level,
        not inside the actor.  Need to remove the copy from the repository level once that is fixed.
    * Get the rpm package liste from both legacy location and actor config.
    
    Depends-On: 870
    abadger committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    a473fe9 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Remove rpm transaction configs from repository level.

    We want this to come from the actor.
    
    Depends-On: 870
    abadger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    cece1e3 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. rework RHUI config

    Rework RHUI configuration from 'providing all input parameters to the
    decision algorithm' into 'here is how the final decision should look
    like'.
    Michal Hecko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    9f02c14 View commit details
    Browse the repository at this point in the history
  2. add source client back to RHUI config

    leapp needs those to know what to uninstall during the upgrade
    Michal Hecko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    f9258af View commit details
    Browse the repository at this point in the history
  3. check_rhui: read config

    Michal Hecko committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    52e32de View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Fix broken imports

    dkubek committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    cfee78b View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. rhui: change how configs are accessed

    Michal Hecko committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    5499427 View commit details
    Browse the repository at this point in the history
  2. add example rhui config

    Michal Hecko committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    ac879af View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. Configuration menu
    Copy the full SHA
    a8f1372 View commit details
    Browse the repository at this point in the history
  2. cmd(preupgrade): load actor config

    Michal Hecko committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    13508f6 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. make all rhui config fields required

    Michal Hecko committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f8cbdc9 View commit details
    Browse the repository at this point in the history
  2. rename target repositories field

    Michal Hecko committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e437148 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. fix typo in rhui config docs

    Michal Hecko committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    bea0d31 View commit details
    Browse the repository at this point in the history
  2. fix linter complaints in rhui config

    Michal Hecko committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    70f7d5b View commit details
    Browse the repository at this point in the history
  3. testutils: add support for configs

    Michal Hecko committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    07a24f7 View commit details
    Browse the repository at this point in the history
  4. checkrhui: fix tests

    feed actor mocks the default configuration
    Michal Hecko committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7486ce0 View commit details
    Browse the repository at this point in the history
  5. tmp: install correct leapp branch to run tests

    Michal Hecko committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    0d044b2 View commit details
    Browse the repository at this point in the history
  6. checkrhui: fix linter errors in tests

    Michal Hecko committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    35dd900 View commit details
    Browse the repository at this point in the history
  7. fixup! testutils: add support for configs

    Michal Hecko committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7eaa78a View commit details
    Browse the repository at this point in the history
  8. fix imports

    Michal Hecko committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    418f023 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. Configuration menu
    Copy the full SHA
    55bdb5c View commit details
    Browse the repository at this point in the history
  2. check_rhui(tests): add config tests

    Michal Hecko committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    61ae067 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f82750e View commit details
    Browse the repository at this point in the history
  4. checkrhui: use config.src_client

    Michal Hecko committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    50879db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aea50bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    892c35e View commit details
    Browse the repository at this point in the history
  7. fixup! check_rhui(tests): add config tests

    Michal Hecko committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    ddd773a View commit details
    Browse the repository at this point in the history
  8. check_rhui(tests): resort imports

    Michal Hecko committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    356a5b3 View commit details
    Browse the repository at this point in the history