Skip to content

Conversation

@hanwen-pcluste
Copy link
Contributor

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

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hanwen-pcluste hanwen-pcluste added the skip-changelog-update Disables the check that enforces changelog updates in PRs label Nov 10, 2020
@hanwen-pcluste hanwen-pcluste force-pushed the testefs branch 2 times, most recently from 6694aef to 64433c0 Compare November 10, 2020 22:52
@codecov
Copy link

codecov bot commented Nov 11, 2020

Codecov Report

Merging #2213 (8c22df9) into develop (61b07de) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61b07de...8c22df9. Read the comment docs.

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 = (
Copy link
Contributor

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

@hanwen-pcluste hanwen-pcluste marked this pull request as draft November 30, 2020 13:36
@hanwen-pcluste hanwen-pcluste force-pushed the testefs branch 2 times, most recently from 2dabef0 to d960539 Compare November 30, 2020 15:30
@hanwen-pcluste hanwen-pcluste marked this pull request as ready for review November 30, 2020 16:11
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>
Copy link
Contributor

@enrico-usai enrico-usai left a comment

Choose a reason for hiding this comment

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

Great job!

@hanwen-pcluste hanwen-pcluste merged commit 002c54a into aws:develop Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog-update Disables the check that enforces changelog updates in PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants