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

introduce chart install testing with ct install #349

Merged
merged 1 commit into from
Jul 20, 2023
Merged

introduce chart install testing with ct install #349

merged 1 commit into from
Jul 20, 2023

Conversation

itewk
Copy link
Contributor

@itewk itewk commented Jul 18, 2023

What is this PR About?

adds the framework for doing run time testing of chart installations using ct install against a kind cluster.

This is fully flushed out for the operators-installer and enabled for arogcd-operator, bootstrap-project, kopf, and network-policy all of which worked without any further modificiation. to enable this for other charts work will need to be done to further configre the kind cluster to mimic openshift or to make the charts (where possible) none openshift specific.

additionally adding ${CHART_NAME}/ci/${TEST_NAME}-values.yaml files will create non default tests for any chart once it has been removed from the INSTALL_TEST_EXCLUDED_CHARTS list in the install-test.yaml.

How do we test this?

the ci is the testing.

this change is based ontop of #350 so #350 should be reviewed and merged first. this was done so that this MR could run CI for #350 without conflating these CI changes with #350

cc: @redhat-cop/day-in-the-life

@itewk itewk changed the title Feature/operators installer runtime testing introduce chart install testing with ct install Jul 18, 2023
@itewk
Copy link
Contributor Author

itewk commented Jul 19, 2023

This Definitely passed a few times. And When I run locally it works. I think I just need to increase timeouts more.

@itewk itewk changed the title introduce chart install testing with ct install DRAFT: introduce chart install testing with ct install Jul 19, 2023
currently only enabled for:
- specific tests written
  * operators-installer
- using defaults, no specific tests written
  * argocd-operator
  * bootstrap-project
  * kopf
  * network-policy
@itewk itewk changed the title DRAFT: introduce chart install testing with ct install introduce chart install testing with ct install Jul 19, 2023
@itewk
Copy link
Contributor Author

itewk commented Jul 19, 2023

@redhat-cop/day-in-the-life i finally sorted all the timeout issues. this is ready for review.

@eformat eformat merged commit 3890f6e into redhat-cop:master Jul 20, 2023
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