-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Disable Sudo] Adding Unit Tests and updating Ineg tests
- Loading branch information
Himani Deshpande
committed
Feb 8, 2024
1 parent
96233dd
commit a75a6b6
Showing
15 changed files
with
161 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...cluster/templates/test_cluster_stack/test_head_node_dna_json/slurm-imds-secured-true.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
cli/tests/pcluster/templates/test_login_nodes_stack/test_login_nodes_dna_json/config-1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
DeploymentSettings: | ||
DisableSudoAccessForDefaultUser: True | ||
Region: us-east-1 | ||
Image: | ||
Os: alinux2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 37 additions & 37 deletions
74
cli/tests/pcluster/templates/test_queues_stack/test_compute_nodes_dna_json/dna-2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
{ | ||
"cluster": { | ||
"cluster_name": "clustername", | ||
"stack_name": "clustername", | ||
"stack_arn": "{\"Ref\": \"AWS::StackId\"}", | ||
"cluster_s3_bucket": "parallelcluster-a69601b5ee1fc2f2-v1-do-not-delete", | ||
"base_os": "alinux2", | ||
"cluster_config_s3_key": "parallelcluster/clusters/dummy-cluster-randomstring123/configs/cluster-config-with-implied-values.yaml", | ||
"cluster_config_version": "", | ||
"enable_efa": "NONE", | ||
"raid_shared_dir": "", | ||
"raid_type": "", | ||
"base_os": "alinux2", | ||
"region": "us-east-1", | ||
"shared_storage_type": "ebs", | ||
"efs_fs_ids": "", | ||
"efs_shared_dirs": "", | ||
"cluster_name": "clustername", | ||
"cluster_s3_bucket": "parallelcluster-a69601b5ee1fc2f2-v1-do-not-delete", | ||
"cluster_user": "ec2-user", | ||
"custom_awsbatchcli_package": "", | ||
"custom_node_package": "", | ||
"cw_logging_enabled": "true", | ||
"directory_service": { | ||
"enabled": "true" | ||
}, | ||
"disable_sudo_access_for_default_user": "true", | ||
"dns_domain": "{\"Ref\": \"referencetoclusternameClusterDNSDomain8D0872E1Ref\"}", | ||
"ebs_shared_dirs": "", | ||
"efs_encryption_in_transits": "", | ||
"efs_fs_ids": "", | ||
"efs_iam_authorizations": "", | ||
"fsx_fs_ids": "", | ||
"fsx_mount_names": "", | ||
"efs_shared_dirs": "", | ||
"enable_efa": "NONE", | ||
"enable_efa_gdr": "NONE", | ||
"enable_intel_hpc_platform": "false", | ||
"ephemeral_dir": "/scratch", | ||
"fsx_dns_names": "", | ||
"fsx_volume_junction_paths": "", | ||
"fsx_fs_ids": "", | ||
"fsx_fs_types": "", | ||
"fsx_mount_names": "", | ||
"fsx_shared_dirs": "", | ||
"scheduler": "slurm", | ||
"ephemeral_dir": "/scratch", | ||
"ebs_shared_dirs": "", | ||
"proxy": "NONE", | ||
"slurm_ddb_table": "{\"Ref\": \"referencetoclusternameSlurmDynamoDBTable99119DBERef\"}", | ||
"log_group_name": "/aws/parallelcluster/clustername-202401151530", | ||
"dns_domain": "{\"Ref\": \"referencetoclusternameClusterDNSDomain8D0872E1Ref\"}", | ||
"fsx_volume_junction_paths": "", | ||
"head_node_private_ip": "{\"Ref\": \"referencetoclusternameHeadNodeENI6497A502PrimaryPrivateIpAddress\"}", | ||
"hosted_zone": "{\"Ref\": \"referencetoclusternameRoute53HostedZone2388733DRef\"}", | ||
"node_type": "ComputeFleet", | ||
"cluster_user": "ec2-user", | ||
"enable_intel_hpc_platform": "false", | ||
"cw_logging_enabled": "true", | ||
"log_group_name": "/aws/parallelcluster/clustername-202401151530", | ||
"log_rotation_enabled": "true", | ||
"scheduler_queue_name": "queue1", | ||
"node_type": "ComputeFleet", | ||
"proxy": "NONE", | ||
"raid_shared_dir": "", | ||
"raid_type": "", | ||
"region": "us-east-1", | ||
"scheduler": "slurm", | ||
"scheduler_compute_resource_name": "cr1", | ||
"enable_efa_gdr": "NONE", | ||
"custom_node_package": "", | ||
"custom_awsbatchcli_package": "", | ||
"use_private_hostname": "false", | ||
"head_node_private_ip": "{\"Ref\": \"referencetoclusternameHeadNodeENI6497A502PrimaryPrivateIpAddress\"}", | ||
"directory_service": { | ||
"enabled": "true" | ||
}, | ||
"disable_sudo_access_for_default_user": "false" | ||
"scheduler_queue_name": "queue1", | ||
"shared_storage_type": "ebs", | ||
"slurm_ddb_table": "{\"Ref\": \"referencetoclusternameSlurmDynamoDBTable99119DBERef\"}", | ||
"stack_arn": "{\"Ref\": \"AWS::StackId\"}", | ||
"stack_name": "clustername", | ||
"use_private_hostname": "false" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters