 9bdcbe0447
			
		
	
	9bdcbe0447
	
	
	
		
			
			Major integrations and fixes: - Added BACKBEAT SDK integration for P2P operation timing - Implemented beat-aware status tracking for distributed operations - Added Docker secrets support for secure license management - Resolved KACHING license validation via HTTPS/TLS - Updated docker-compose configuration for clean stack deployment - Disabled rollback policies to prevent deployment failures - Added license credential storage (CHORUS-DEV-MULTI-001) Technical improvements: - BACKBEAT P2P operation tracking with phase management - Enhanced configuration system with file-based secrets - Improved error handling for license validation - Clean separation of KACHING and CHORUS deployment stacks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| SHELL = /bin/bash
 | |
| 
 | |
| .PHONY: test
 | |
| 
 | |
| # these tests run in isolation by calling go test -run=... or the equivalent.
 | |
| ISOLATED_TESTS +=
 | |
| ifdef CI
 | |
| 	ISOLATED_TESTS = TestControl_Isolated \
 | |
| 					 TestSystemDriven_Isolated \
 | |
| 					 TestHeapDriven_Isolated
 | |
| else
 | |
| 	ISOLATED_TESTS = TestControl_Isolated \
 | |
| 					 TestSystemDriven_Isolated \
 | |
| 					 TestHeapDriven_Isolated \
 | |
| 					 TestCgroupsDriven_Create_Isolated \
 | |
| 					 TestCgroupsDriven_Docker_Isolated
 | |
| endif
 | |
| 
 | |
| test: test-binary test-docker
 | |
| 
 | |
| test-binary:
 | |
| 	go test -v ./... # run all the non-isolated tests.
 | |
| 	# foreach does not actually execute each iteration; it expands the text, and it's executed all at once
 | |
|     # that's why we use && true, to shorcircuit if a test fails.
 | |
| 	$(foreach name,$(ISOLATED_TESTS),TEST_ISOLATED=1 go test -v -test.run=$(name) ./... && ) true
 | |
| 
 | |
| test-docker: docker
 | |
| 	docker run --memory=32MiB --memory-swap=32MiB -e TEST_DOCKER_MEMLIMIT=33554432 raulk/watchdog:latest
 | |
| 	$(foreach name,$(ISOLATED_TESTS),docker run \
 | |
| 		--memory=32MiB --memory-swap=32MiB \
 | |
| 		-e TEST_ISOLATED=1 \
 | |
| 		-e TEST_DOCKER_MEMLIMIT=33554432 \
 | |
| 		raulk/watchdog:latest /root/watchdog.test -test.v -test.run=$(name) ./... && ) true
 | |
| 
 | |
| docker:
 | |
| 	docker build -f ./Dockerfile.test  -t raulk/watchdog:latest .
 |