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

feat(rwx): add rwx nfsOptions to robot test scaffolding. #1690

Closed

Conversation

james-munson
Copy link
Contributor

Which issue(s) this PR fixes:

Issue # longhorn/longhorn#7639

What this PR does / why we need it:

This is a draft for adding a new storage class and rwx volume with overridden mount options to an e2e test.

Special notes for your reviewer:

Untested - hope to test locally or when the pipeline can be triggered with a private build of longhorn-tests. Just checking to see that this is the way it would be done.

Additional documentation or context

@james-munson james-munson requested a review from a team as a code owner January 24, 2024 19:15
@james-munson james-munson removed the request for review from a team January 24, 2024 19:16
@james-munson james-munson marked this pull request as draft January 24, 2024 19:16
@yangchiu
Copy link
Member

@james-munson That's great to see team members contribute to negative testing code. Many thanks for the active involvement! It's greatly appreciated!

Currently PRs for negative testing are blocked by the refactoring PR. I'll try to merge this once the refactoring PR is done.

Untested - hope to test locally.

I'll try to test locally when I'm available.

@yangchiu yangchiu marked this pull request as ready for review March 5, 2024 04:22
@@ -23,6 +23,8 @@ def get_name_suffix(*args):
def create_storageclass(name):
if name == 'longhorn-test-strict-local':
filepath = "./templates/workload/strict_local_storageclass.yaml"
elif name == 'longhorn-test-nfs-options':
filepath = "./templates/workload/storageclass-nfs-options.yaml"
Copy link
Member

Choose a reason for hiding this comment

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

Tested based on #1805.

storageclass-nfs-options.yaml should be storageclass_nfs_options.yaml.
Others LGTM.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll make that change, thanks!. Hopefully I can run this myself from Jenkins?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, we can run customized e2e tests by building images by yourself now, but since e2e test has been refactored by #1604, it is possible that you need to make extra changes to make things work.

Copy link

mergify bot commented Apr 17, 2024

This pull request is now in conflict. Could you fix it @james-munson? 🙏

1 similar comment
Copy link

mergify bot commented Apr 24, 2024

This pull request is now in conflict. Could you fix it @james-munson? 🙏

@yangchiu
Copy link
Member

yangchiu commented May 16, 2024

I've created a refined PR, so close this one in favor of it. cc @james-munson

@yangchiu yangchiu closed this May 16, 2024
@james-munson james-munson deleted the e2e-rwx-nfs-options branch September 20, 2024 20:15
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.

3 participants