@@ -6,24 +6,38 @@ param (
66switch ($Demo ) {
77 # Demo on home workstation
88 ' Home' {
9- $Splat = @ {
10- File = ' ..\.build.ps1'
11- EnvironmentFile = ' .\environment\se-2.json'
12- ConfigFile = ' .\config\1-tier-app.json'
13- IdentityPath = ' .\credential\home'
14- }
9+ Invoke-Builds - Result Result @ (
10+ @ {
11+ File = ' ..\.build.ps1' ;
12+ EnvironmentFile = ' .\environment\se-2.json' ;
13+ ConfigFile = ' .\config\2-tier-app.json' ;
14+ IdentityPath = ' .\credential\home'
15+ }
16+ @ {
17+ File = ' ..\.build.ps1' ;
18+ EnvironmentFile = ' .\environment\se-2.json' ;
19+ ConfigFile = ' .\config\3-tier-app.json' ;
20+ IdentityPath = ' .\credential\home'
21+ }
22+ )
1523 }
1624 # Demo on laptop
1725 ' Laptop' {
18- $Splat = @ {
19- File = ' ..\.build.ps1'
20- EnvironmentFile = ' .\environment\se-2.json'
21- ConfigFile = ' .\config\1-tier-app.json'
22- IdentityPath = ' .\credential\laptop'
23- }
26+ Invoke-Builds - Result Result @ (
27+ @ {
28+ File = ' ..\.build.ps1' ;
29+ EnvironmentFile = ' .\environment\se-2.json' ;
30+ ConfigFile = ' .\config\1-tier-app.json' ;
31+ IdentityPath = ' .\credential\laptop'
32+ }
33+ @ {
34+ File = ' ..\.build.ps1' ;
35+ EnvironmentFile = ' .\environment\se-2.json' ;
36+ ConfigFile = ' .\config\2-tier-app.json' ;
37+ IdentityPath = ' .\credential\laptop'
38+ }
39+ )
2440 }
2541}
2642
27- Invoke-Build @Splat - Result Result
28-
2943return $Result.Tasks | Format-Table Elapsed, Name, Error - AutoSize
0 commit comments