Skip to content

Commit 98c6e02

Browse files
authored
Merge pull request #164 from Qubinode/copilot/enable-airflow-by-default
Enable Airflow by default and document in .env.example
2 parents 8fdecce + 7d9401d commit 98c6e02

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.env.example

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,28 @@ QUBINODE_DEPLOYMENT_MODE=production
4141
# The AI Assistant provides intelligent help during deployment and operations
4242
QUBINODE_ENABLE_AI_ASSISTANT=true
4343

44+
# =============================================================================
45+
# AIRFLOW ORCHESTRATION
46+
# =============================================================================
47+
48+
# Enable Apache Airflow for workflow orchestration
49+
# Required for DAG-based deployments (FreeIPA, VMs, OpenShift, etc.)
50+
# The AI Assistant orchestrator depends on Airflow for executing infrastructure workflows
51+
# Set to false only if you want AI Assistant without orchestration capabilities
52+
QUBINODE_ENABLE_AIRFLOW=true
53+
54+
# Airflow Web UI port (default: 8888)
55+
# Change if port conflicts exist on your system
56+
AIRFLOW_PORT=8888
57+
58+
# Airflow version (default: 2.10.4-python3.12)
59+
# Specify a different version if needed for compatibility
60+
AIRFLOW_VERSION=2.10.4-python3.12
61+
62+
# =============================================================================
63+
# FEATURE FLAGS (Used by inventory configurations)
64+
# =============================================================================
65+
4466
# Enable Ceph storage deployment (optional)
4567
# Used in inventory group_vars - for distributed storage across multiple nodes
4668
enable_ceph_deployment=false

scripts/development/deploy-qubinode.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ export MANAGER_MODEL="${MANAGER_MODEL:-google-gla:gemini-2.0-flash}"
139139
export DEVELOPER_MODEL="${DEVELOPER_MODEL:-google-gla:gemini-2.0-flash}"
140140
export PYDANTICAI_MODEL="${PYDANTICAI_MODEL:-${MANAGER_MODEL}}"
141141

142-
# Airflow Orchestration Configuration (Optional Feature)
143-
export QUBINODE_ENABLE_AIRFLOW="${QUBINODE_ENABLE_AIRFLOW:-false}"
142+
# Airflow Orchestration Configuration (Core Infrastructure)
143+
export QUBINODE_ENABLE_AIRFLOW="${QUBINODE_ENABLE_AIRFLOW:-true}"
144144
export AIRFLOW_PORT="${AIRFLOW_PORT:-8888}"
145145
export AIRFLOW_VERSION="${AIRFLOW_VERSION:-2.10.4-python3.12}"
146146
export AIRFLOW_NETWORK="${AIRFLOW_NETWORK:-airflow_default}"
@@ -2451,7 +2451,7 @@ case "${1:-}" in
24512451
echo " QUBINODE_ENABLE_AI_ASSISTANT - Enable AI Assistant (default: true)"
24522452
echo " BUILD_AI_ASSISTANT_FROM_SOURCE - Build AI Assistant from source (default: false)"
24532453
echo " Set to true for E2E testing with PydanticAI + Smart Pipeline"
2454-
echo " QUBINODE_ENABLE_AIRFLOW - Enable Airflow orchestration (default: false)"
2454+
echo " QUBINODE_ENABLE_AIRFLOW - Enable Airflow orchestration (default: true)"
24552455
echo " QUBINODE_ENABLE_AI_SERVICES - Enable host AI services (default: false, ADR-0050)"
24562456
echo " QUBINODE_ENABLE_NGINX_PROXY - Enable nginx reverse proxy (auto-enabled with Airflow)"
24572457
echo " AI_ASSISTANT_PORT - AI Assistant port (default: 8080)"

0 commit comments

Comments
 (0)