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 data-plane pre upgrade sanity checks #222

Merged
merged 11 commits into from
Jan 24, 2024

Commits on Jan 16, 2024

  1. Custom COU Namespace

    - create a new NamedTuple class to be the COU Namespace. With that,
      type is still checked and few arguments are necessary to pass to
      the functions that use the arguments passed by the user. Moreover,
      docstrings are shorter and easier to maintain
    
    - Global variables for "data-plane" and "control-plane".
    gabrielcocenza committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    f66362a View commit details
    Browse the repository at this point in the history
  2. Add data-plane pre upgrade sane checks

    - check if control-plane is already upgraded if user pass "data-pane"
      upgrade group
    - check if data-plane apps exists if user pass "data-pane"
      upgrade group
    - splitted the logic on determine_upgrade_target to several functions
    gabrielcocenza committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    b8f0e58 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    fdb598e View commit details
    Browse the repository at this point in the history
  2. - change from Namespace to CLIargs

    - fixed run_upgrade unit test
    gabrielcocenza committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    5d04a32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    672496b View commit details
    Browse the repository at this point in the history
  4. - added is_data_plane_command property on CLIargs

    - added expected error messages on the remaining sanaity checks
      unit tests.
    gabrielcocenza committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    4d5e94c View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. small re-word

    gabrielcocenza committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a0cac77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d861643 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a364440 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. - small re-word

    - small change in is_highest_release_achieved function
    gabrielcocenza committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    b98d1a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. - changed from is_* to verify_* because it seems that will return

      a boolean.
    - removed the pre_plan_sanity_checks is_valid_openstack_cloud to
      be nested under determine_upgrade_target
    - fixed unit tests to test the verify_* functions instead of the
      pre_plan_sanity_checks
    gabrielcocenza committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    a9ee8ed View commit details
    Browse the repository at this point in the history