syntaxis/config/provctl/templates/provisioning-config-yaml-j2.j2
Jesús Pérez faf0d2c6b9
Some checks failed
Build - Verify Code & Build Binaries / Check Code Format (push) Has been cancelled
Build - Verify Code & Build Binaries / Lint with Clippy (push) Has been cancelled
Build - Verify Code & Build Binaries / Test Suite (push) Has been cancelled
Build - Verify Code & Build Binaries / Cargo Check (push) Has been cancelled
Build - Verify Code & Build Binaries / Security Audit (push) Has been cancelled
Build - Verify Code & Build Binaries / Build (Debug) - macos-latest (push) Has been cancelled
Build - Verify Code & Build Binaries / Build (Debug) - ubuntu-latest (push) Has been cancelled
Build - Verify Code & Build Binaries / Build (Debug) - windows-latest (push) Has been cancelled
Build - Verify Code & Build Binaries / Build (Release) - macos-latest (push) Has been cancelled
Build - Verify Code & Build Binaries / Build (Release) - ubuntu-latest (push) Has been cancelled
Build - Verify Code & Build Binaries / Build (Release) - windows-latest (push) Has been cancelled
Build - Verify Code & Build Binaries / All Checks Passed (push) Has been cancelled
CI/CD with Staging Preset / Validate Installation with Staging Preset (macos-latest) (push) Has been cancelled
CI/CD with Staging Preset / Validate Installation with Staging Preset (ubuntu-latest) (push) Has been cancelled
CI/CD with Staging Preset / Build and Test with Staging Preset (push) Has been cancelled
CI/CD with Staging Preset / Integration Test with Docker Compose (push) Has been cancelled
CI/CD with Staging Preset / Validate Documentation (push) Has been cancelled
CI/CD with Staging Preset / Test Summary (push) Has been cancelled
Provisioning Tests / Provisioning Tests (macos-latest) (push) Has been cancelled
Provisioning Tests / Provisioning Tests (ubuntu-20.04) (push) Has been cancelled
Provisioning Tests / Provisioning Tests (ubuntu-latest) (push) Has been cancelled
Provisioning Tests / Lint Provisioning Scripts (push) Has been cancelled
Provisioning Tests / Test Report (push) Has been cancelled
chore: reorganization following layout_conventions.md
2025-12-26 18:46:38 +00:00

72 lines
1.6 KiB
Django/Jinja

# provisioning-config.j2
# Infrastructure configuration for myproject
# Generated by: provctl gen deployment
# Generated at: 2025-11-20
project:
name: "myproject"
version: "1.0.0"
description: "y"
infrastructure:
# Service topology definition
services:
- name: "myproject-cli"
type: "cli"
enabled: true
requirements:
memory_mb: 64
disk_mb: 50
- name: "myproject-dashboard"
type: "web"
enabled: true
port: 8080
requirements:
memory_mb: 128
disk_mb: 50
dependencies:
- "api"
health_check:
type: "http"
interval_seconds: 10
timeout_seconds: 5
endpoint: "http://127.0.0.1:8080"
method: "GET"
expected_status: 200
# Database backend configurations
databases:
default: "sqlite"
available:
- type: "sqlite"
path: "/var/lib/myproject/db.sqlite"
platforms: [linux, macos, windows]
# Cache backend configurations
cache:
enabled: false
# Deployment presets (for provisioning system integration)
# Preset details are fully defined in the presets.k KCL module
deployment_presets:
note: "See presets.k for complete preset configurations"
# Resource constraints and validation
constraints:
min_memory_mb: 64
min_disk_mb: 50
supported_platforms:
- linux
- macos
- windows
# Integration points
integrations:
provctl:
# provctl can read this config and manage services
management_enabled: true
provisioning:
# provisioning system can extend with terraform/kclang
extension_enabled: true