Stabilize runtime auth and E2E coverage
This commit is contained in:
parent
6a3e3b541c
commit
188e899394
133 changed files with 55987 additions and 6775 deletions
18
scripts/stop-public-runtime.ps1
Normal file
18
scripts/stop-public-runtime.ps1
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
param(
|
||||
[int]$ApiPort = 8001,
|
||||
[switch]$StopCloudflared
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
Get-CimInstance Win32_Process |
|
||||
Where-Object { $_.CommandLine -like "*uvicorn app.main:app*--port $ApiPort*" } |
|
||||
ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
|
||||
|
||||
if ($StopCloudflared) {
|
||||
Get-CimInstance Win32_Process |
|
||||
Where-Object { $_.Name -eq "cloudflared.exe" -and $_.CommandLine -like "*vignette-config.yml*" } |
|
||||
ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
|
||||
}
|
||||
|
||||
Write-Host "Stopped public API processes on port $ApiPort"
|
||||
Loading…
Add table
Add a link
Reference in a new issue