Skip to content

Commit

Permalink
chore: Stop WindowsTerminal process before changing Jumpstart ArcBox …
Browse files Browse the repository at this point in the history
…wallpaper
  • Loading branch information
sebassem committed Jul 8, 2024
1 parent 69d5e9f commit 1895fde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions azure_jumpstart_arcbox/artifacts/DataOpsLogonScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,7 @@ $Favorite = $Shell.CreateShortcut($Env:USERPROFILE + "\Desktop\Kibana.url")
$Favorite.TargetPath = $KibanaURL;
$Favorite.Save()

Stop-Process -Id $kubectlMonShellk3s.Id
Stop-Process -Id $kubectlMonShellAKS.Id
Stop-Process -Id $kubectlMonShellAKSDr.Id
Get-process WindowsTerminal | Stop-Process -Force

# Changing to Jumpstart ArcBox wallpaper
$code = @'
Expand Down
6 changes: 3 additions & 3 deletions azure_jumpstart_arcbox/artifacts/tests/dataops.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ BeforeDiscovery {
$clusters = @($k3sArcDataClusterName, $aksArcClusterName, $aksdrArcClusterName)
$customLocations = @("${k3sArcDataClusterName}-cl", "${aksArcClusterName}-cl", "${aksdrArcClusterName}-cl")
$dataControllers = @("${k3sArcDataClusterName}-dc", "${aksArcClusterName}-dc", "${aksdrArcClusterName}-dc")
$sqlMiInstances = @("capi-sql", "aks-sql", "aks-dr-sql")
$drPartners = @("capi-sql", "aks-dr-sql")
$sqlMiInstances = @("k3s-sql", "aks-sql", "aks-dr-sql")
$drPartners = @("k3s-sql", "aks-dr-sql")
$VMs = @("ArcBox-SQL")

$null = Connect-AzAccount -Identity -Tenant $tenantId -Subscription $subscriptionId
$null = Connect-AzAccount -Identity -Tenant $env:tenantId -Subscription $env:subscriptionId
az config set extension.use_dynamic_install=yes_without_prompt
}

Expand Down

0 comments on commit 1895fde

Please sign in to comment.