Skip to content

Commit

Permalink
feat: add pester testcases (vmware#165)
Browse files Browse the repository at this point in the history
Added Pester testcases to test the password management and integrate to CD/CI pipeline.

Ref: vmware#162 vmware#161 vmware#163

Signed-off-by: Sowjanya.V <sowjanya.v@broadcom.com>
  • Loading branch information
sowjuec authored Feb 29, 2024
1 parent c3866a7 commit c9eda43
Show file tree
Hide file tree
Showing 4 changed files with 1,700 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
## Ignore desktop services files.
**/.DS_Store

# Pester
## Ignore logs directory.
**/tests/logs/*.log

# MkDocs
## Ignore site directory.
**/.site/**
58 changes: 58 additions & 0 deletions tests/InputData.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"SDDCManager" : "sfo-vcf01.sfo.rainpole.io",
"SDDCManagerVMName" : "sfo-vcf01",
"User" : "administrator@vsphere.local",
"RootUser" : "root",
"GuestUser" : "root",
"LocalUser" : "vcf",
"Password" : "VMw@re1!",
"SsoAdmin" : "admin@local",
"SsoPass" : "VMw@re1!VMw@re1!",
"RootPass" : "VMw@re1!",
"Domain" : [
"sfo-w01",
"sfo-m01"
],
"sfo-w01": {
"Esxi Server" : [
"sfo01-w01-esx01.sfo.rainpole.io",
"sfo01-w01-esx02.sfo.rainpole.io",
"sfo01-w01-esx03.sfo.rainpole.io",
"sfo01-w01-esx04.sfo.rainpole.io"
],
"Edge Nodes" : [
"sfo-w01-en01",
"sfo-w01-en02"
],
"Manager Node" : [
"sfo-w01-nsx01.sfo.rainpole.io"
],
"Manager Nodes" : [
"sfo-w01-nsx01a.sfo.rainpole.io",
"sfo-w01-nsx01b.sfo.rainpole.io",
"sfo-w01-nsx01c.sfo.rainpole.io"
],
"Cluster" : ["sfo-w01-cl01"]
},
"sfo-m01": {
"Esxi Server" : [
"sfo01-m01-esx01.sfo.rainpole.io",
"sfo01-m01-esx02.sfo.rainpole.io",
"sfo01-m01-esx03.sfo.rainpole.io",
"sfo01-m01-esx04.sfo.rainpole.io"
],
"Edge Nodes" : [
"sfo-m01-en01",
"sfo-m01-en02"
],
"Manager Node" : [
"sfo-m01-nsx01.sfo.rainpole.io"
],
"Manager Nodes" : [
"sfo-m01-nsx01a.sfo.rainpole.io",
"sfo-m01-nsx01b.sfo.rainpole.io",
"sfo-m01-nsx01c.sfo.rainpole.io"
],
"Cluster" : ["sfo-m01-cl01"]
}
}
Loading

0 comments on commit c9eda43

Please sign in to comment.