Skip to content

Validate/test artifacts generated by Kompose #133

@rtnpro

Description

@rtnpro

I think that we need to work on a set of scripts which could be extended by the users of kompose to validate their converted applications against real providers (kubernetes, openshift). This will help the developers to deploy their converted applications with confidence.

Proposed features

  • Easy to write: with a strong base test suite, it should be easy for people to write test cases for their apps
  • High level assertions: assert pods, services, endpoints, expected response, etc.
  • CI: continuous integration on community platforms like CentOS CI

I have done some related work for Atomic App here: projectatomic/atomicapp#655, which allows writing test cases for individual apps very easy, in a few lines: https://github.com/rtnpro/atomicapp/blob/2e6e72c221856abbca34f7779af70de5f490de25/tests/system/test_openshift_provider.py

Thanks to a comprehensive base test suite to allow for high level assertions: https://github.com/rtnpro/atomicapp/blob/2e6e72c221856abbca34f7779af70de5f490de25/tests/system/base.py#L425

I hope to be able to translate my experience in implementing something similar for kompose to help the developers using kompose to ship their converted apps with confidence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/testinglifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions