-
Notifications
You must be signed in to change notification settings - Fork 314
integ-tests: test using existing EFS (efs_fs_id) #2213
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
Conversation
6694aef to
64433c0
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2213 +/- ##
========================================
Coverage 62.02% 62.02%
========================================
Files 40 40
Lines 6131 6131
========================================
Hits 3803 3803
Misses 2328 2328 Continue to review full report at Codecov.
|
11ec209 to
c7578ca
Compare
c7578ca to
13685bd
Compare
| write_file_template = Template() | ||
| write_file_template.set_version("2010-09-09") | ||
| write_file_template.set_description("Stack to write a file to the existing EFS") | ||
| default_security_group_id = ( |
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.
minor: default_security_group --> efs_security_group
13685bd to
80b9345
Compare
2dabef0 to
d960539
Compare
This test uses `troposphere` to create cloudformation stacks for `efs`, `mount target`, and a instance to write an empty file with random name into the efs. Then the test verifies when the existing `efs` is provided through `efs_fs_id` in `pcluster` config file, the cluster created can read the randomly named file and share files between head node and compute node. Signed-off-by: Hanwen <hanwenli@amazon.com>
d960539 to
8c22df9
Compare
enrico-usai
left a comment
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.
Great job!
This test uses
troposphereto create cloudformation stacks forefs,mount target, and a instance to write an empty file with random name into the efs. Then the test verifies when the existingefsis provided throughefs_fs_idinpclusterconfig file, the cluster created can read the randomly named file and share files between head node and compute node.Signed-off-by: Hanwen hanwenli@amazon.com
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.