mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 12:21:31 +00:00
Implement M6: functional GUI views, GitHub Actions CI
Wire all remaining dashboard views to real API: agent detail page with heartbeat status and capabilities, audit trail with time range/ actor/resource filters, notifications with grouped-by-cert view and read/unread state, policies with severity summary bar, new issuers and targets list views. Add GitHub Actions CI with parallel Go and Frontend jobs. Update Makefile with test-cover and frontend-build targets. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.PHONY: help build run test lint clean docker-up docker-down migrate-up migrate-down generate
|
||||
.PHONY: help build run test lint clean docker-up docker-down migrate-up migrate-down generate test-cover frontend-build
|
||||
|
||||
# Default target - show help
|
||||
help:
|
||||
@@ -77,6 +77,11 @@ test-coverage:
|
||||
go tool cover -html=coverage.out -o coverage.html
|
||||
@echo "Coverage report: coverage.html"
|
||||
|
||||
test-cover:
|
||||
@echo "Running tests with coverage..."
|
||||
go test ./internal/service/... ./internal/api/handler/... ./internal/integration/... -count=1 -cover -coverprofile=coverage.out
|
||||
@echo "Coverage report: coverage.out"
|
||||
|
||||
# Linting targets
|
||||
lint:
|
||||
@echo "Running golangci-lint..."
|
||||
@@ -151,11 +156,18 @@ generate:
|
||||
go generate ./...
|
||||
@echo "Code generation complete"
|
||||
|
||||
# Frontend build
|
||||
frontend-build:
|
||||
@echo "Building frontend..."
|
||||
cd web && npm ci && npx vite build
|
||||
@echo "Frontend build complete"
|
||||
|
||||
# Cleanup
|
||||
clean:
|
||||
@echo "Cleaning build artifacts..."
|
||||
rm -rf bin/ dist/ coverage.out coverage.html
|
||||
go clean -testcache
|
||||
cd web && rm -rf node_modules dist
|
||||
@echo "Cleanup complete"
|
||||
|
||||
install-tools:
|
||||
|
||||
Reference in New Issue
Block a user