cli/pkg/build
Snider a169558102 Centralized Configuration Service Implementation (#319)
* feat: implement centralized configuration service using viper

This commit introduces a centralized configuration service in `pkg/config`
to reduce code duplication and provide a unified way to manage configuration
across the project.

Key changes:
- Refactored `pkg/config` to use `github.com/spf13/viper` as the backend.
- Implemented `core.Config` interface with support for layered resolution
  (defaults, files, environment variables).
- Added `LoadFile` to support merging multiple configuration files, with
  automatic type detection for YAML and .env files.
- Migrated `pkg/agentic`, `pkg/devops`, `pkg/build`, and `pkg/release`
  to use the new centralized service.
- Added `mapstructure` tags to configuration structs to support viper unmarshaling.
- Added comprehensive tests for the new configuration service features.

This addresses the recommendations from the Architecture & Design Pattern Audit.

* feat: implement centralized configuration service and address security alerts

- Introduced centralized configuration service in `pkg/config` using `viper`.
- Migrated major packages (`agentic`, `devops`, `build`, `release`) to the new service.
- Resolved merge conflicts with `dev` branch.
- Addressed CodeQL security alert by making UniFi TLS verification configurable.
- Fixed `go.mod` to ensure it is tidy and consistent with direct dependencies.
- Updated UniFi CLI to support TLS verification configuration.
2026-02-05 10:26:44 +00:00
..
buildcmd Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
builders Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
signing Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
testdata feat(build): implement core build system with cross-compilation 2026-01-28 17:59:02 +00:00
archive.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
archive_test.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
build.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
checksum.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
checksum_test.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
config.go Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
config_test.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
discovery.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00
discovery_test.go Migrate pkg/build to io.Medium abstraction (#287) 2026-02-04 17:59:10 +00:00