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 testcase on RKE1 cluster #995

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

albinsun
Copy link
Contributor

@albinsun albinsun commented Nov 30, 2023

Changes

  1. Adding test cases for harvester-cloud-provider chart on RKE1 cluster
    • Install chart/app
    • Nginx deployment
    • Load-Balancer to Nginx deployment
  2. Adding test cases for harvester-csi-driver chart on RKE1 cluster
    • Install chart/app
    • Deployment with PVC

Verification

harvester-runtests#422 (RKE1)

image

Note

Failed LB case which has 200 OK status but <pending> external-ip, which is an known issue harvester/harvester#4689

harvester-runtests#422 (RKE2)

image

Note

K3s TCs will be add later (#974) together with refactor (#960)

@albinsun albinsun marked this pull request as draft November 30, 2023 02:54
@albinsun albinsun marked this pull request as ready for review November 30, 2023 06:52
Copy link
Member

@lanfon72 lanfon72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general LGTM.


def create(self, cluster_id, namespace, name, raw=False):
url = self.CREATE_fmt.format(cluster_id=cluster_id) + "?action=install"
data = ChartSpec(cluster_id, namespace, name).to_dict()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Spec is not designed as harvester_api, it would be a bit confusing.
I would suggest that if we are not let Spec as class attribute have more customization, we can simply use create_data instead. (then there would not need the ChartSpec)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the comment.
Already put it into refactoring workitem. Will fix in #960 (comment)

@albinsun albinsun mentioned this pull request Dec 6, 2023
2 tasks
@lanfon72 lanfon72 merged commit 6748d8d into harvester:main Dec 13, 2023
2 checks passed
@albinsun albinsun deleted the harvester_apps_on_rke1 branch January 6, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants