-
Notifications
You must be signed in to change notification settings - Fork 45
Adds documentaion for kuttl tests #542
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
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: auniyal61 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
|
||
| ## Run kuttl test | ||
| The easiest way is to run kuttl test in fresh system with crc deployed with | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before running tests all neutron deps should be ready like ovn,rabbitmq,infra,keystone etc operators along with respective CRs
neutron_kuttl in install_yamls does that but also does the cleanup. So either that have to be made optional or all required resources have to be deployed individually
If image is available then neutron_kuttl target itself can be used by passing NEUTRON_IMG and repo params.
| - **create enough pv's** | ||
| `PV_NUM=30 make crc_storage` | ||
| - make your changes in neutron-operator | ||
| - add required kuttl tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there are API/CRD changes then also need to run: make install
| `PV_NUM=30 make crc_storage` | ||
| - make your changes in neutron-operator | ||
| - add required kuttl tests | ||
| - start webhook `make run-with-webhook` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/webhook/operator locally
| }, | ||
| ``` | ||
|
|
||
| ## Run kuttl test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/test/tests
| ## Run kuttl test | ||
| The easiest way is to run kuttl test in fresh system with crc deployed with | ||
|
|
||
| - **create enough pv's** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from install_yamls directory
No description provided.