Files
calypso/backend/Makefile
Warp Agent 3aa0169af0 Complete VTL implementation with SCST and mhVTL integration
- Installed and configured SCST with 7 handlers
- Installed and configured mhVTL with 2 Quantum libraries and 8 LTO-8 drives
- Implemented all VTL API endpoints (8/9 working)
- Fixed NULL device_path handling in drives endpoint
- Added comprehensive error handling and validation
- Implemented async tape load/unload operations
- Created SCST installation guide for Ubuntu 24.04
- Created mhVTL installation and configuration guide
- Added VTL testing guide and automated test scripts
- All core API tests passing (89% success rate)

Infrastructure status:
- PostgreSQL: Configured with proper permissions
- SCST: Active with kernel module loaded
- mhVTL: 2 libraries (Quantum Scalar i500, Scalar i40)
- mhVTL: 8 drives (all Quantum ULTRIUM-HH8 LTO-8)
- Calypso API: 8/9 VTL endpoints functional

Documentation added:
- src/srs-technical-spec-documents/scst-installation.md
- src/srs-technical-spec-documents/mhvtl-installation.md
- VTL-TESTING-GUIDE.md
- scripts/test-vtl.sh

Co-Authored-By: Warp <agent@warp.dev>
2025-12-24 19:01:29 +00:00

46 lines
852 B
Makefile

.PHONY: build run test clean deps migrate
# Build the application
build:
go build -o bin/calypso-api ./cmd/calypso-api
# Run the application locally
run:
go run ./cmd/calypso-api -config config.yaml.example
# Run tests
test:
go test ./...
# Run tests with coverage
test-coverage:
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out
# Format code
fmt:
go fmt ./...
# Lint code
lint:
golangci-lint run ./...
# Download dependencies
deps:
go mod download
go mod tidy
# Clean build artifacts
clean:
rm -rf bin/
rm -f coverage.out
# Install dependencies
install-deps:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
# Build for production (Linux)
build-linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags="-w -s" -o bin/calypso-api-linux ./cmd/calypso-api