Tags: e7db/docker-diskmark
Tags
feat: add CLI arguments, modular refactor, test reorganization, and s… …ecurity scanning (#19) - Add CLI support with short/long options (-s/--size, -p/--profile, etc.) - Split diskmark.sh into lib/ modules (args, validate, utils, profiles, detect, benchmark, output, update) - Reorganize tests into 6 concurrent jobs with optimized timing (100ms/500ms) - Integrate Trivy and Grype security scanning into docker-image.yml workflow
feat: add update check, machine-readable output formats, and latency … …metrics (#18) - Add UPDATE_CHECK option to notify users of new versions at startup - Add FORMAT option for machine-readable output (json, yaml, xml) - Add latency metrics (avg ms) to benchmark results - Add version injection via Docker build arg - Add GitHub badges for tag, CodeQL, Tests, Docker Image workflows - Improve test workflow with continue-on-error for per-step visibility - Add tests for UPDATE_CHECK and FORMAT validation - Update README with new options and sample outputs
feat: scratch-based image with input validation and output customizat… …ion (Closes #16) (#17) - Multi-stage build: Alpine builder + scratch runtime (31.5 MB, -46%) - Input validation for SIZE, RUNTIME, WARMUP, LOOPS, TARGET - EMOJI/COLOR env vars with auto-detection and fallbacks - Graceful job skipping when test size < block size - Non-root execution (user 65534:65534) - Remove Docker Scout recommendations (incompatible with scratch)
PreviousNext