|
Some checks failed
Build Pipeline / Build Binaries (push) Failing after 3m39s
Build Pipeline / Build Docker Images (push) Has been skipped
Build Pipeline / Sign HIPAA Config (push) Has been skipped
Build Pipeline / Generate SLSA Provenance (push) Has been skipped
Checkout test / test (push) Successful in 6s
CI Pipeline / Test (ubuntu-latest on self-hosted) (push) Failing after 1s
CI Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI Pipeline / Security Scan (push) Has been skipped
CI Pipeline / Test Scripts (push) Has been skipped
CI Pipeline / Test Native Libraries (push) Has been skipped
CI Pipeline / Native Library Build Matrix (push) Has been skipped
Contract Tests / Spec Drift Detection (push) Failing after 11s
Contract Tests / API Contract Tests (push) Has been skipped
Deploy API Docs / Build API Documentation (push) Failing after 5s
Deploy API Docs / Deploy to GitHub Pages (push) Has been skipped
Documentation / build-and-publish (push) Failing after 40s
Test Matrix / test-native-vs-pure (cgo) (push) Failing after 14s
Test Matrix / test-native-vs-pure (native) (push) Failing after 35s
Test Matrix / test-native-vs-pure (pure) (push) Failing after 18s
CI Pipeline / Trigger Build Workflow (push) Failing after 1s
Build CLI with Embedded SQLite / build (arm64, aarch64-linux) (push) Has been cancelled
Build CLI with Embedded SQLite / build (x86_64, x86_64-linux) (push) Has been cancelled
Build CLI with Embedded SQLite / build-macos (arm64) (push) Has been cancelled
Build CLI with Embedded SQLite / build-macos (x86_64) (push) Has been cancelled
Security Scan / Security Analysis (push) Has been cancelled
Security Scan / Native Library Security (push) Has been cancelled
Verification & Maintenance / V.1 - Schema Drift Detection (push) Has been cancelled
Verification & Maintenance / V.4 - Custom Go Vet Analyzers (push) Has been cancelled
Verification & Maintenance / V.7 - Audit Chain Integrity (push) Has been cancelled
Verification & Maintenance / V.6 - Extended Security Scanning (push) Has been cancelled
Verification & Maintenance / V.10 - OpenSSF Scorecard (push) Has been cancelled
Verification & Maintenance / Verification Summary (push) Has been cancelled
- Introduce audit, plugin, and scheduler API handlers - Add spec_embed.go for OpenAPI spec embedding - Create modular build scripts (cli, go, native, cross-platform) - Add deployment cleanup and health-check utilities - New ADRs: hot reload, audit store, SSE updates, RBAC, caching, offline mode, KMS regions, tenant offboarding - Add KMS configuration schema and worker variants - Include KMS benchmark tests |
||
|---|---|---|
| .. | ||
| benchmarks | ||
| build | ||
| ci | ||
| deploy | ||
| dev | ||
| lib | ||
| maintenance | ||
| release | ||
| testing | ||
| check-audit-sink.sh | ||
| README.md | ||
Scripts Directory
Organized utility scripts for FetchML development, testing, and release management.
Development Scripts (dev/)
smoke-test.sh
Purpose: End-to-end smoke testing for dev/prod environments
Usage: ./scripts/dev/smoke-test.sh [dev|prod] [--native]
Tests full stack health by starting docker-compose services and verifying:
- API health endpoints
- Prometheus metrics ingestion (dev mode)
- Native library integration (with
--nativeflag)
Examples:
./scripts/dev/smoke-test.sh dev # Standard smoke test
./scripts/dev/smoke-test.sh prod --native # Prod with native libs
manage-artifacts.sh
Purpose: Local benchmark artifact management
Usage: ./scripts/dev/manage-artifacts.sh [list|clean|compare|export]
Manages benchmark run artifacts in .local-artifacts/.
detect-native.go
Purpose: Native library detection utility
Usage: go run ./scripts/dev/detect-native.go
Detects native C++ libraries and CGO configuration. Shows which native libs are available.
setup-monitoring.py
Purpose: Development monitoring setup
Usage: python3 ./scripts/dev/setup-monitoring.py
Creates Grafana provisioning structure for local development.
CI Scripts (ci/)
checks.sh
Purpose: Maintainability enforcement
Usage: ./scripts/ci/checks.sh or make ci-checks
test.sh
Purpose: CI test runner
Usage: ./scripts/ci/test.sh
verify-paths.sh
Purpose: Path convention verification
Usage: ./scripts/ci/verify-paths.sh
Release Scripts (release/)
cleanup.sh
Purpose: Unified cleanup utility
Usage: ./scripts/release/cleanup.sh [all|docker|podman|logs|secrets|state|testdata]
prepare.sh
Purpose: Release preparation
Usage: ./scripts/release/prepare.sh
sanitize.sh
Purpose: Config sanitization
Usage: ./scripts/release/sanitize.sh
verify.sh
Purpose: Pre-release verification
Usage: ./scripts/release/verify.sh or make release-check
Testing Scripts (testing/)
gen-ssh-test-keys.sh
Purpose: Generate SSH keys for TUI testing
Usage: ./scripts/testing/gen-ssh-test-keys.sh
tui-ssh-test.sh
Purpose: Manual TUI SSH testing
Usage: ./scripts/testing/tui-ssh-test.sh
test-prod.sh
Purpose: Production validation
Usage: ./scripts/testing/test-prod.sh
Benchmark Scripts (benchmarks/)
run-benchmarks-local.sh
Purpose: Local benchmark execution
Usage: ./scripts/benchmarks/run-benchmarks-local.sh
Maintenance Scripts (maintenance/)
cleanup.sh
Purpose: Archive cleanup
Usage: ./scripts/maintenance/cleanup.sh [all|dry-run]
cleanup-benchmarks.sh
Purpose: Benchmark lifecycle management
Usage: ./scripts/maintenance/cleanup-benchmarks.sh [benchmarks|all|aggressive|status]
Shared Library (lib/)
common.sh
Purpose: Common shell functions
Usage: source "$(dirname "$0")/lib/common.sh"
Legacy Consolidation
| Old Script | New Location |
|---|---|
ci-checks.sh |
ci/checks.sh |
ci-test.sh |
ci/test.sh |
smoke-test.sh |
dev/smoke-test.sh |
smoke-test-native.sh |
merged into dev/smoke-test.sh --native |
manage-artifacts.sh |
dev/manage-artifacts.sh |
verify-paths.sh |
ci/verify-paths.sh |
release/verify-release.sh |
release/verify.sh |
release/prepare-release.sh |
release/prepare.sh |
release/sanitize-configs.sh |
release/sanitize.sh |
release/cleanup-*.sh (6 files) |
release/cleanup.sh |