Skip to content

Releases: quokkify/compose-health-check-action

v2.4.0

Choose a tag to compare

@ylazakovich ylazakovich released this 09 Aug 14:40
1bd4a57

v2.4.0

  • Added optional repository-owned before-compose-hook and after-health-hook lifecycle scripts around Compose startup and built-in health checks.
  • Resolved and validated both hook paths inside GITHUB_WORKSPACE before startup, rejecting absolute paths, traversal, missing files, and workspace-escaping symlinks.
  • Ran hooks in a strict lifecycle shell so before-hook exports reach Compose interpolation and unhandled hook failures stop the lifecycle with the original exit status.
  • Passed normalized Compose profiles to hooks while preserving docker-command profile-precedence semantics.
  • Suppressed successful JSON lifecycle output when bootstrap, Compose health, or project readiness fails, with execution-level Bats regression coverage.

Full Changelog: v2.3.0...v2.4.0

v2.3.0

Choose a tag to compare

@ylazakovich ylazakovich released this 31 Jul 19:52
c11a8fa

v2.3.0

  • Hardened composite-action input transport so shell metacharacters cannot be evaluated as generated shell source.
  • Corrected Compose service parsing for scaled services and operand-taking options, including --no-attach and -t/--timeout.
  • Made explicit -p/--project-name selection authoritative with Docker Compose last-value-wins semantics and safe ordered fallbacks when no containers exist yet.
  • Scoped container discovery and diagnostics to the resolved Compose project and fail closed when the project cannot be resolved.
  • Pinned internal workflow actions to immutable commits and disabled persisted checkout credentials.

Full Changelog: v2.2.0...v2.3.0

v2.2.0

Choose a tag to compare

@ylazakovich ylazakovich released this 26 Jan 10:28
3cb636a

v2.2.0 (27.01.2026)

  • When docker compose up fails but a container exits with non-zero, treat it as unhealthy and print health/log diagnostics.

Full Changelog: v2.1.1...v2.2.0

v2.1.1

Choose a tag to compare

@ylazakovich ylazakovich released this 23 Jan 12:38

v2.1.1 (23.01.2026)

  • Fixed compose-services input wiring to avoid unbound variable errors in GitHub Actions.
  • On docker compose failures, print logs for unhealthy/exited containers to aid diagnostics.

Full Changelog: v2.1.0...v2.1.1

v.2.1.0

Choose a tag to compare

@ylazakovich ylazakovich released this 23 Jan 12:18
5d829e4

v2.1.0 (23.01.2026)

  • Added log-lines input to control diagnostics output length
  • Added Bats coverage for log-lines in v1/v2 flows
  • Added compose-services (new) and deprecated services input
  • Added compose-profiles input to pass compose profiles in input-based mode
  • Reused compose command builder across action and tests to avoid drift
  • Added project name inputs (compose-project-name, auto-apply-project-name, project-name-env-file)
  • Auto-detect project name from running compose containers and persist to env file

Full Changelog: v2.0.0...v2.1.0

v2.0.0

Choose a tag to compare

@ylazakovich ylazakovich released this 18 Jan 11:14
33c5b95

v2.0.0 (18.01.2026)

  • Added docker-command input to run a custom docker compose command
  • Default to checking all services when none are specified
  • Hardened input parsing to avoid unsafe eval/word-splitting
  • Expanded Bats coverage with v1/v2 flows and quoted-path scenarios

Full Changelog: v1...v2.0.0

v1.1.1

Choose a tag to compare

@ylazakovich ylazakovich released this 25 Dec 17:04
3066b23

v1.1.1 (25.12.2025)

  • Added bats tests #33
  • Improved test infra
    • enable parallel run (1 test.bats per 1 runner) #37
    • speed up docker compose #43
  • Update docs #45

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@ylazakovich ylazakovich released this 23 Dec 12:44
91acb56

v1.1.0 (23.12.2025)

  • Added JSON report generation mechanism with configurable output format (text, json, or both) #23
    • Introduced report-format input and report_json_b64 output for machine-readable health check reports
    • Enhanced summary statistics with aggregated counters across all service states
  • Implemented comprehensive test suite using BATS (Bash Automated Testing System) #24
    • Added test coverage for healthy, unhealthy, compose-failed, and no-services scenarios
    • Replaced individual workflow-based tests with unified BATS test runner and JUnit reporting

Full Changelog: v1.0.2...v1.1.0

v1.0.2

Choose a tag to compare

@ylazakovich ylazakovich released this 22 Dec 18:03

v1.0.2 * (22.12.2025)

  • Added support for one-shot containers with depends_on relations by detecting exit codes
  • Improved service status detection to include stopped containers and categorize states (HEALTHY, COMPLETED, UNHEALTHY, FAILED, UP, NO_CONTAINERS)
  • Enhanced summary statistics to reflect actual runtime states across all services

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@ylazakovich ylazakovich released this 23 Nov 16:54

Full Changelog: v1.0.0...v1.0.1