Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56c51e5d02 | ||
|
|
1c57da9aba | ||
|
|
b2d88f1aa3 |
@@ -10,7 +10,7 @@ env:
|
||||
MIGRATE_BINARY: "acc-server-migration"
|
||||
DEPLOY_PATH: 'C:\acc-server-manager'
|
||||
SERVICE_NAME: "ACC Server Manager"
|
||||
PORT: "4000"
|
||||
HEALTH_URL: "http://localhost:4000/v1/system/health"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -136,7 +136,7 @@ jobs:
|
||||
|
||||
while ($attempt -le $maxAttempts -and -not $success) {
|
||||
try {
|
||||
$response = Invoke-WebRequest -Uri "http://localhost:{{ env.PORT }}/system/health" -TimeoutSec 5
|
||||
$response = Invoke-WebRequest -Uri "${{ env.HEALTH_URL }}" -TimeoutSec 5
|
||||
if ($response.StatusCode -eq 200) {
|
||||
Write-Host "Health check passed!"
|
||||
$success = $true
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
Version = "0.10.1"
|
||||
Version = "0.10.2"
|
||||
Prefix = "v1"
|
||||
Secret string
|
||||
SecretCode string
|
||||
|
||||
Reference in New Issue
Block a user