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

EVEREST-1542 - Extend upgrade tests #956

Merged
merged 8 commits into from
Dec 22, 2024
Merged

EVEREST-1542 - Extend upgrade tests #956

merged 8 commits into from
Dec 22, 2024

Conversation

tplavcic
Copy link
Member

The upgrade test was not finished so in this PR we added/fixed:

  • PXC cluster is included in the upgrade.
  • Created shell script (percona-everest-ui.sh --pre-upgrade in everest-qa repo) which prepares local environment for the upgrade so it is easy to run it locally.
  • Added data before upgrade and do a check after upgrade.
  • Added upgrade for databases so at the moment we do Everest upgrade, operators upgrade and database upgrade.
  • Unified the environment so that it is completely identical to normal UI tests for easier debugging.
  • Added database deletion and Everest uninstall check.
  • Added util functions getVersionServiceURL, getDbClusterAPI, updateDbClusterAPI, getDbAvailableUpgradeVersionK8S for future use.
  • Tweaked resources so the whole setup can actually run on the cloud instances which we use.

NOTE:
For the util functions the naming rule will be:

  • Add suffix API if the function is getting/setting something only through api calls.
  • Add suffix K8S if the function is getting/setting something only in kubernetes.
  • If the function doesn't have suffix it means it does some actions through UI or it does something irrelevant like some calculation or data transformation.

@tplavcic tplavcic requested a review from a team as a code owner December 20, 2024 14:43
@fabio-silva
Copy link
Collaborator

@tplavcic I think we need an empty commit to trigger the checks, as there was a CI commit that won't trigger those (we'll need a token to fix this issue)

@tplavcic tplavcic enabled auto-merge (squash) December 21, 2024 06:11
@tplavcic tplavcic merged commit 75d5bda into main Dec 22, 2024
8 checks passed
@tplavcic tplavcic deleted the EVEREST-1542-upgrade branch December 22, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants