provisioning/schemas/platform/configs/extension-registry.cicd.ncl
Jesús Pérez 44648e3206
chore: complete nickel migration and consolidate legacy configs
- Remove KCL ecosystem (~220 files deleted)
- Migrate all infrastructure to Nickel schema system
- Consolidate documentation: legacy docs → provisioning/docs/src/
- Add CI/CD workflows (.github/) and Rust build config (.cargo/)
- Update core system for Nickel schema parsing
- Update README.md and CHANGES.md for v5.0.0 release
- Fix pre-commit hooks: end-of-file, trailing-whitespace
- Breaking changes: KCL workspaces require migration
- Migration bridge available in docs/src/development/
2026-01-08 09:55:37 +00:00

54 lines
1.4 KiB
Plaintext

# Extension Registry - CI/CD Mode
# Optimized for CI/CD pipelines with distribution focus
let registry_schema = import "../schemas/extension-registry.ncl" in
{
extension_registry | registry_schema.RegistryConfig = {
server = {
host = "0.0.0.0",
port = 8081,
workers = 8,
enable_cors = false,
enable_compression = true,
},
sources = {
# Git sources for CI/CD discovery
gitea = [
{
id = "cicd-gitea",
url = "https://gitea.cicd:443",
organization = "provisioning-cicd",
token_path = "/etc/secrets/gitea-cicd-token.txt",
timeout_seconds = 30,
verify_ssl = false,
},
],
},
distributions = {
# OCI registries for CI/CD artifact storage
oci = [
{
id = "cicd-registry",
registry = "registry.cicd:5000",
namespace = "provisioning-cicd",
timeout_seconds = 30,
verify_ssl = false,
},
{
id = "staging-harbor",
registry = "harbor.staging:443",
namespace = "provisioning",
auth_token_path = "/etc/secrets/harbor-staging-token.txt",
timeout_seconds = 30,
verify_ssl = true,
},
],
},
cache = {
capacity = 5000,
ttl_seconds = 600,
enable_metadata_cache = true,
enable_list_cache = false,
},
},
}