Skip to content

Migrate smoke tests to dgoss for structured container testing #41

Description

@dkd-dobberkau

Summary

Evaluate and potentially migrate the existing smoke tests to dgoss for more structured and maintainable container testing.

Motivation

  • Current smoke tests are bash scripts in the CI workflow — functional but not easily extensible
  • dgoss provides a declarative YAML format for container assertions (ports, files, processes, commands)
  • Better test reporting and easier to contribute new tests

Current test coverage

  • PHP extensions check
  • Composer version
  • Nginx config validation (nginx variants)
  • GraphicsMagick presence/absence (full/slim variants)

Implementation

  • Install goss/dgoss in CI
  • Create goss.yaml files for each variant
  • Replace inline bash tests with dgoss run commands

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions