102 lines
2.6 KiB
JSON
102 lines
2.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": "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": "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": "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
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|