docs: archive entra materials and simplify deployment docs

This commit is contained in:
defiQUG
2026-04-18 12:05:55 -07:00
parent 0f600e6a31
commit bbb6ce6a6c
256 changed files with 4188 additions and 3881 deletions
+9 -30
View File
@@ -32,38 +32,18 @@ if [ "${PNPM_VERSION}" -lt 8 ]; then
fi
log_success "pnpm version: $(pnpm --version)"
# Check Terraform version
TERRAFORM_VERSION=$(terraform version -json | jq -r '.terraform_version' | cut -d'.' -f1)
if [ "${TERRAFORM_VERSION}" -lt 1 ]; then
error_exit "Terraform version 1.5.0 or higher is required"
fi
log_success "Terraform version: $(terraform version -json | jq -r '.terraform_version')"
log_success "All tools verified"
# 1.2 Azure Account Setup
log_step "1.2 Setting up Azure account..."
# 1.2 Proxmox / Sankofa access
log_step "1.2 Verifying Sankofa Phoenix deployment access..."
check_azure_login
if [ -z "${AZURE_SUBSCRIPTION_ID}" ]; then
log_warning "AZURE_SUBSCRIPTION_ID not set. Using current subscription."
AZURE_SUBSCRIPTION_ID=$(az account show --query id -o tsv)
fi
az account set --subscription "${AZURE_SUBSCRIPTION_ID}" || error_exit "Failed to set subscription"
SUBSCRIPTION_NAME=$(az account show --query name -o tsv)
log_success "Using Azure subscription: ${SUBSCRIPTION_NAME} (${AZURE_SUBSCRIPTION_ID})"
# Verify permissions
log_step "Checking Azure permissions..."
ROLE=$(az role assignment list --assignee "$(az account show --query user.name -o tsv)" --query "[0].roleDefinitionName" -o tsv 2>/dev/null || echo "Unknown")
if [[ "${ROLE}" != *"Contributor"* ]] && [[ "${ROLE}" != *"Owner"* ]]; then
log_warning "Current role: ${ROLE}. Contributor or Owner role recommended."
else
log_success "Permissions verified: ${ROLE}"
fi
check_proxmox_access
log_info "Portal CT host: ${ORDER_PORTAL_PUBLIC_HOST}"
log_info "Edge HAProxy host: ${ORDER_HAPROXY_HOST}"
log_info "Order public CT: ${ORDER_PORTAL_PUBLIC_VMID} (${ORDER_PORTAL_PUBLIC_IP}:${ORDER_PORTAL_PUBLIC_PORT})"
log_info "Order edge HAProxy: ${ORDER_HAPROXY_VMID} (${ORDER_HAPROXY_IP}:80)"
log_info "Phoenix public URL: ${SANKOFA_PHOENIX_URL}"
log_info "Portal public URL: ${SANKOFA_PORTAL_URL}"
# 1.3 Install Dependencies
log_step "1.3 Installing dependencies..."
@@ -105,4 +85,3 @@ save_state "phase1" "complete"
log_success "=========================================="
log_success "Phase 1: Prerequisites - COMPLETE"
log_success "=========================================="