-
Notifications
You must be signed in to change notification settings - Fork 314
integ-tests: test security groups are properly applied to a cluster #2234
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
aa7fc8f to
af3461e
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2234 +/- ##
========================================
Coverage 61.88% 61.88%
========================================
Files 40 40
Lines 6106 6106
========================================
Hits 3779 3779
Misses 2327 2327 Continue to review full report at Codecov.
|
e4dfb59 to
17f2f86
Compare
demartinofra
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.
Well done! LGTM. Only dropped a few minor comments
tests/integration-tests/tests/networking/test_security_groups.py
Outdated
Show resolved
Hide resolved
...ts/tests/networking/test_security_groups/test_additional_sg_and_ssh_from/pcluster.config.ini
Show resolved
Hide resolved
tests/integration-tests/tests/networking/test_security_groups.py
Outdated
Show resolved
Hide resolved
909ac5a to
1513d2e
Compare
1. Test `additional_sg` in the config file is added to head and compute nodes 2. Test `ssh_from` in the config file applies to the pcluster security group of the head node 3. Test `vpc_security_group_id` in the config file overwrites security group of head and compute nodes, FSx, and EFS Signed-off-by: Hanwen <hanwenli@amazon.com>
1513d2e to
01cbf63
Compare
| {% filter indent(2) %} | ||
| {% include 'common/common.yaml' %} | ||
| {% endfilter %} | ||
| networking: |
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.
let's add the new tests in common.yaml unless we want to exclude them from release 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.
Done
…into testsg � Conflicts: � tests/integration-tests/configs/develop.yaml Signed-off-by: Hanwen <hanwenli@amazon.com>
01cbf63 to
d153872
Compare
additional_sgin the config file is added to head and compute nodesssh_fromin the config file applies to the pcluster security group of the head nodevpc_security_group_idin the config file overwrites security group of head and compute nodes, FSx, and EFSSigned-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.