206 lines
5.6 KiB
JSON
206 lines
5.6 KiB
JSON
{
|
|
"defaults": {
|
|
"timeout_sec": 1800
|
|
},
|
|
"targets": [
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "main",
|
|
"target": "default",
|
|
"description": "Deploy the Phoenix deploy API bundle to the dev VM on Proxmox.",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/deploy-phoenix-deploy-api-to-dev-vm.sh",
|
|
"--apply",
|
|
"--start-ct"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT"
|
|
],
|
|
"healthcheck": {
|
|
"url": "http://192.168.11.59:4001/health",
|
|
"expect_status": 200,
|
|
"expect_body_includes": "phoenix-deploy-api",
|
|
"attempts": 8,
|
|
"delay_ms": 3000,
|
|
"timeout_ms": 10000
|
|
}
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "main",
|
|
"target": "cloudflare-sync",
|
|
"description": "Optional: sync Cloudflare DNS from repo .env (path-gated; set PHOENIX_CLOUDFLARE_SYNC=1 on host).",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/gitea-cloudflare-sync.sh"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT"
|
|
],
|
|
"timeout_sec": 600
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "main",
|
|
"target": "cloudflare-sync-force",
|
|
"description": "Same as cloudflare-sync but skips path filter (operator / manual).",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/gitea-cloudflare-sync.sh"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT"
|
|
],
|
|
"timeout_sec": 600
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "main",
|
|
"target": "portal-live",
|
|
"description": "Deploy the Sankofa portal to CT 7801 on Proxmox.",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/sync-sankofa-portal-7801.sh"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT",
|
|
"SANKOFA_PORTAL_SRC"
|
|
],
|
|
"healthcheck": {
|
|
"url": "http://192.168.11.51:3000/",
|
|
"expect_status": 200,
|
|
"expect_body_includes": "<html",
|
|
"attempts": 10,
|
|
"delay_ms": 5000,
|
|
"timeout_ms": 10000
|
|
}
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "main",
|
|
"target": "atomic-swap-dapp-live",
|
|
"description": "Deploy the Atomic Swap dApp to VMID 5801 on Proxmox.",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/deploy-atomic-swap-dapp-5801.sh"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT"
|
|
],
|
|
"healthcheck": {
|
|
"url": "https://atomic-swap.defi-oracle.io/data/live-route-registry.json",
|
|
"expect_status": 200,
|
|
"expect_body_includes": "\"liveBridgeRoutes\"",
|
|
"attempts": 10,
|
|
"delay_ms": 5000,
|
|
"timeout_ms": 15000
|
|
}
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "master",
|
|
"target": "default",
|
|
"description": "Deploy the Phoenix deploy API bundle to the dev VM on Proxmox.",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/deploy-phoenix-deploy-api-to-dev-vm.sh",
|
|
"--apply",
|
|
"--start-ct"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT"
|
|
],
|
|
"healthcheck": {
|
|
"url": "http://192.168.11.59:4001/health",
|
|
"expect_status": 200,
|
|
"expect_body_includes": "phoenix-deploy-api",
|
|
"attempts": 8,
|
|
"delay_ms": 3000,
|
|
"timeout_ms": 10000
|
|
}
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "master",
|
|
"target": "atomic-swap-dapp-live",
|
|
"description": "Deploy the Atomic Swap dApp to VMID 5801 on Proxmox.",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/deploy-atomic-swap-dapp-5801.sh"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT"
|
|
],
|
|
"healthcheck": {
|
|
"url": "https://atomic-swap.defi-oracle.io/data/live-route-registry.json",
|
|
"expect_status": 200,
|
|
"expect_body_includes": "\"liveBridgeRoutes\"",
|
|
"attempts": 10,
|
|
"delay_ms": 5000,
|
|
"timeout_ms": 15000
|
|
}
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "master",
|
|
"target": "cloudflare-sync",
|
|
"description": "Optional: sync Cloudflare DNS from repo .env (path-gated; set PHOENIX_CLOUDFLARE_SYNC=1 on host).",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/gitea-cloudflare-sync.sh"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT"
|
|
],
|
|
"timeout_sec": 600
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "master",
|
|
"target": "cloudflare-sync-force",
|
|
"description": "Same as cloudflare-sync but skips path filter (operator / manual).",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/gitea-cloudflare-sync.sh"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT"
|
|
],
|
|
"timeout_sec": 600
|
|
},
|
|
{
|
|
"repo": "d-bis/proxmox",
|
|
"branch": "master",
|
|
"target": "portal-live",
|
|
"description": "Deploy the Sankofa portal to CT 7801 on Proxmox.",
|
|
"cwd": "${PHOENIX_REPO_ROOT}",
|
|
"command": [
|
|
"bash",
|
|
"scripts/deployment/sync-sankofa-portal-7801.sh"
|
|
],
|
|
"required_env": [
|
|
"PHOENIX_REPO_ROOT",
|
|
"SANKOFA_PORTAL_SRC"
|
|
],
|
|
"healthcheck": {
|
|
"url": "http://192.168.11.51:3000/",
|
|
"expect_status": 200,
|
|
"expect_body_includes": "<html",
|
|
"attempts": 10,
|
|
"delay_ms": 5000,
|
|
"timeout_ms": 10000
|
|
}
|
|
}
|
|
]
|
|
}
|