Commit Graph
100 Commits
Author SHA1 Message Date
Wes Carroll ec9eda9dcd Update Export-ZertoVpg.md 2019-04-06 23:42:29 -04:00
Wes Carroll 8c9babd9d5 Update Invoke-ZertoMoveCommit.ps1
Add ShouldProcess
Use switches instead of bools
Prioritize Reverse Protect over KeepSourceVms
2019-04-06 23:33:14 -04:00
Wes Carroll 497d43fe81 Remove excess white space 2019-04-06 23:32:08 -04:00
Wes Carroll ef22b6363d Add ShouldProcess support 2019-04-06 23:31:51 -04:00
Wes Carroll ee2acca20c Add mandatory params 2019-04-06 23:31:26 -04:00
Wes Carroll b5b873ac18 Correct Param to match API Spec 2019-04-06 22:51:38 -04:00
Wes Carroll 31db21c325 Update Invoke-ZertoMove.ps1
WhatIf Processing
Reverse Protection Logic
Ensure Params are set and do not rely on defaults
2019-04-06 22:51:03 -04:00
Wes Carroll b3d649e495 Dynamic Body Creation 2019-04-06 22:49:54 -04:00
Wes Carroll d6d72a5be2 Update ways params are accessed for dynamic body creation 2019-04-06 22:49:41 -04:00
Wes Carroll 5bf7d0d6df Validate identifiers are present 2019-04-05 22:49:36 -04:00
Wes Carroll e279ba0cda Add VmName validation and uniquiness checks 2019-04-05 19:19:56 -04:00
Wes Carroll b242b5314d Update Invoke-ZertoFailover.ps1
Working on vmName Validation
2019-04-05 17:52:57 -04:00
Wes Carroll 5533bae319 Various fixes
Removed Commit Value as it is not a vaild param
Enabled ShouldProcess
Ensured mandatory default values make it into the body
Added Validate a valid VPG is selected.
2019-04-05 17:18:56 -04:00
Wes Carroll 2a8837aff7 Add parameter tests 2019-04-05 17:16:37 -04:00
Wes Carroll 6d86fbea23 Remove CodeCoverage 2019-04-05 15:40:09 -04:00
Wes Carroll cb17744231 Fix CodeCoveragePath 2019-04-05 15:06:03 -04:00
Wes Carroll 4658b6b34a Fix YAML Spacing 2019-04-05 15:03:30 -04:00
Wes Carroll 5b3a1c263e Attempt to publish testing code coverage 2019-04-05 15:01:28 -04:00
Wes Carroll 3acb7795f4 Add InvokeBuild Requirement 2019-04-05 14:18:43 -04:00
Wes Carroll cc60107746 Update Version Number of PublishPipelineArtifact 2019-04-05 14:14:20 -04:00
Wes Carroll a63b6cab95 Clean YAML 2019-04-05 14:12:12 -04:00
Wes Carroll 026b622a34 Update Build to Create Artifacts 2019-04-05 14:09:06 -04:00
Wes Carroll 9c309e70e9 Publish Artifacts 2019-04-05 14:08:49 -04:00
Wes Carroll 402e624d0c Ignore Publish Directory 2019-04-05 13:59:16 -04:00
Wes Carroll 1f1b5b9d94 Add functionality for release notes in module 2019-04-05 13:58:29 -04:00
Wes Carroll b9e5d069b6 Remove PSake as a dependency 2019-04-05 12:06:45 -04:00
Wes Carroll 25e559ff89 Remove Unused File 2019-04-05 12:06:19 -04:00
Wes Carroll 3a0f039a42 Store Version in an External File 2019-04-05 12:06:00 -04:00
Wes Carroll bd1fe15d3e Fix Typo 2019-04-05 12:05:15 -04:00
Wes Carroll a823b4971e Update with ShouldProcess 2019-04-04 21:12:53 -04:00
Wes Carroll 3ae3a4be35 Merge branch 'master' into TestingBranch 2019-04-04 20:48:42 -04:00
Wes Carroll 68ad1e9443 Add Settings Validation and ShouldProcess 2019-04-04 20:34:15 -04:00
Wes Carroll f98de53c54 Merge branch 'master' into TestingBranch 2019-04-04 18:59:39 -04:00
Wes Carroll ccddf443eb Merge branch 'master' into TestingBranch 2019-04-04 17:48:17 -04:00
Wes Carroll f2a95acc23 Remove arraylist return object 2019-04-04 17:36:34 -04:00
Wes Carroll cc43b272a8 Specify OutputType 2019-04-04 17:31:28 -04:00
Wes Carroll b74f6cae51 Add TestingBranch to CI 2019-04-04 16:07:27 -04:00
Wes Carroll 96f70afe67 Add TODO Items 2019-04-04 11:30:48 -04:00
Wes Carroll 289e976773 Parameter Tests 2019-04-04 08:39:11 -04:00
Wes Carroll 1a5f2b09f6 Add Null and Empty Validators 2019-04-04 08:38:56 -04:00
Wes Carroll 42dc016d90 Starting Import-ZertoVpg Tests 2019-04-02 17:31:59 -04:00
Wes Carroll 8e86b26d52 Update Export-ZertoVpg.Tests.ps1
Complete creation of Function Unit Tests.
2019-04-02 14:56:25 -04:00
Wes Carroll d0a75153ad Start Function Tests 2019-04-01 22:25:52 -04:00
Wes Carroll 28fb62f737 Clean Test Organization 2019-04-01 21:10:41 -04:00
Wes Carroll a3aa0c47a6 Provide credentials for InModuleScope Tests 2019-04-01 17:37:46 -04:00
Wes Carroll bc0bb337a6 Add null or empty assertions 2019-04-01 17:37:18 -04:00
Wes Carroll 7bd8e5c7ee Validate NullorEmpty VpgName 2019-04-01 17:33:37 -04:00
Wes Carroll 46e29dc8c0 Add InModuleScope Tests 2019-04-01 17:32:39 -04:00
Wes Carroll d2a574d440 Add parameter tests 2019-03-31 21:51:36 -04:00
Wes Carroll 3fa53349a5 Set Parameters to Mandatory 2019-03-31 21:51:21 -04:00
Wes Carroll c28257ee3a Add Default Value Test 2019-03-31 21:46:58 -04:00
Wes Carroll a7839b24d9 OutputFolder variable renamed to OutputPath 2019-03-31 21:20:47 -04:00
Wes Carroll 2b441614f0 Additional Tests 2019-03-31 21:02:17 -04:00
Wes Carroll 135e698731 Specify ErrorAction:Stop for connection errors 2019-03-31 20:06:05 -04:00
Wes Carroll 82cca7ba96 Add '$null' Tests 2019-03-31 19:31:35 -04:00
Wes Carroll 9828ccd28b Formatting correction 2019-03-31 19:29:09 -04:00
Wes Carroll 6e2cb1ea31 Add zertoPort validations 2019-03-31 19:28:24 -04:00
Wes Carroll 831e1562b5 Update Edit Vra Tests 2019-03-31 16:37:02 -04:00
Wes Carroll 5139f79366 Updating Tests 2019-03-30 23:21:00 -04:00
Wes Carroll 22d1151c66 Provide minimal information when updating group-name 2019-03-30 23:20:35 -04:00
Wes Carroll c68225c458 Correct vraIdentifier Switch Case 2019-03-30 23:19:54 -04:00
Wes Carroll ffba4a5981 Update az pipelines to only build on master and develop branches 2019-03-30 16:50:19 -04:00
Wes Carroll 031e31addd Update az pipeline triggers
Update triggers and call powershell core directly instead of calling the shell ==> pwsh.
2019-03-30 09:42:45 -04:00
Wes Carroll 7bd878615d Update Disconnect-ZertoServer.Tests.ps1 2019-03-29 22:59:03 -04:00
Wes Carroll e9465f8194 Update Connect-ZertoServer.Tests.ps1 2019-03-29 22:15:44 -04:00
Wes Carroll 4fba918ae5 Add checkpointName validation 2019-03-29 21:55:01 -04:00
Wes Carroll a8a0b5a6e8 Add Port Range Validation 2019-03-29 21:54:46 -04:00
Wes Carroll 0114c73706 Update Checkpoint-ZertoVpg.Tests.ps1 2019-03-29 21:54:24 -04:00
Wes Carroll 49798b190d Update Add-ZertoPeerSite.Tests.ps1 2019-03-29 21:54:19 -04:00
Wes Carroll 7f3a9fc5df Fix case issues with linux tests 2019-03-29 21:54:01 -04:00
Wes Carroll b2ab6362f7 Require Pester Module 2019-03-29 19:30:27 -04:00
Wes Carroll 7db1a32399 All basic unit tests 2019-03-29 19:30:14 -04:00
Wes Carroll 7a90bad1e0 Run all Unit Tests when building FileTests 2019-03-29 19:29:19 -04:00
Wes Carroll 2c215dd180 Update Pester Test Location 2019-03-29 19:28:57 -04:00
Wes Carroll 911e81c8cc Update .gitignore 2019-03-29 19:27:59 -04:00
Wes Carroll daecae1f59 Delete Save-ZertoVpgSettings.Tests.ps1 2019-03-29 19:27:27 -04:00
Wes Carroll c37dd19334 Delete Get-ZertoUnprotectedVm.Test.ps1 2019-03-29 19:27:24 -04:00
Wes Carroll 2328e7f868 Delete External-Help.Tests.ps1 2019-03-29 19:27:09 -04:00
Wes Carroll f4c4c3982d Update Build Tasks 2019-03-29 17:51:16 -04:00
Wes Carroll 4c67c2f070 Update ZertoApiWrapper.psd1 2019-03-29 17:50:50 -04:00
Wes Carroll c72c354f38 Add advanced function params 2019-03-29 17:50:42 -04:00
Wes Carroll 11a3395bdb Add Validation for targetHost 2019-03-29 17:50:16 -04:00
Wes Carroll 99cbe96705 Update Add-ZertoPeerSite.Tests.ps1 2019-03-29 17:49:09 -04:00
Wes Carroll a8986c2a4b Create Stub Test files for all functions 2019-03-29 17:48:54 -04:00
Wes Carroll 8e4a5f7e99 Move Module Tests to Mirror Module Directory 2019-03-29 17:48:04 -04:00
Wes Carroll 9935d867de Merge branch 'master' into TestingBranch 2019-03-29 13:08:47 -04:00
Wes Carroll 64c089f3ec Update README.md Azure Pipeline Badge 2019-03-29 11:46:21 -04:00
Wes Carroll a6446c0849 Update temp for case-sensitive environments 2019-03-29 11:45:55 -04:00
Wes Carroll 6899ded49e Update Build Version Methodology 2019-03-29 11:37:54 -04:00
Wes Carroll 91cd6a2de5 Update Build to show Env Var 2019-03-29 11:22:14 -04:00
Wes Carroll ef39b54937 Update Get-ZertoVirtualizationSite Help 2019-03-29 11:10:16 -04:00
Wes Carroll 3c1cdef3a5 Set Tests to Always Publish 2019-03-29 10:51:45 -04:00
Wes Carroll 1fc7bf697e Create temp folder if it doesn't exist 2019-03-29 10:25:46 -04:00
Wes Carroll 802eef6067 Update Build to Fail on Pester Failure
This is expected to fail the build test as one pester test will fail
2019-03-29 10:19:23 -04:00
Wes Carroll 47bc3be463 Update LICENSE 2019-03-29 08:27:50 -04:00
Wes Carroll 5f42804c0b Update .gitignore 2019-03-29 08:27:44 -04:00
Wes Carroll f6e0ffa6db Add MarkDown Help File Content Test 2019-03-29 08:27:13 -04:00
Wes Carroll b8cccd02dc Ignore all files in Temp directory 2019-03-28 16:48:21 -04:00
Wes Carroll 90e06a6dc5 Update az pipeline Windows Script
Using single quotes will not execute the script. Changing to double quotes should actually run the build process on the Windows Host
2019-03-28 13:52:03 -04:00
Wes Carroll 5b56a0c15b Update Build Process
Remove unnecessary install calls, set timeouts for each job, and specify job name.
2019-03-28 13:22:53 -04:00