mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-09-23 01:54:58 +02:00
- Add docker-compose.canary.yaml with multi-stage Dockerfile to build osmedeus from source and layer onto toolbox base, ensuring canary tests exercise current code not released binaries - Implement three canary test scenarios (repo SAST scan, domain-lite reconnaissance, CIDR IP scanning) with lifecycle management (container startup/cleanup) and comprehensive assertions on filesystem artifacts and API records - Add Makefile targets (test-canary-all, test-canary-repo, test-canary-domain, test-canary-ip, canary-up, canary-down) for granular test execution with configurable timeouts (20-60 minutes)
24 lines
524 B
YAML
24 lines
524 B
YAML
services:
|
|
osm-canary:
|
|
build:
|
|
context: ../..
|
|
dockerfile: build/docker/Dockerfile.canary
|
|
container_name: osm-canary
|
|
hostname: osm-canary
|
|
volumes:
|
|
- canary-workspaces:/root/workspaces-osmedeus
|
|
- canary-data:/root/osmedeus-base
|
|
ports:
|
|
- "8002:8002"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-sf", "http://localhost:8002/health"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
start_period: 30s
|
|
retries: 5
|
|
restart: "no"
|
|
|
|
volumes:
|
|
canary-workspaces:
|
|
canary-data:
|