Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-4471

Functional tests full containerization

XMLWordPrintable

    • Icon: Spike Spike
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Testing
    • MGDAPI Sprint 30, RHOAM Sprint 31, RHOAM Sprint 32, RHOAM Sprint 33, RHOAM Sprint 34

      WHAT
      Interoperability Team is working on MPS (Multi Product Solution) Pipeline. The goal is to validate the peaceful coexistence of various addons on the same cluster and validate the integration scenarios between addons if there are some. MPS Pipeline is supposed to run the test suite outside of the cluster under test.

      The ask on RHOAM is to provide and test suite image which can be easily consumed to trigger the test suite.

      Currently we only produce https://quay.io/repository/integreatly/integreatly-operator-test-harness?tab=tags. This image is the used by delorean to trigger the tests so one has to clone delorean, build the cli, and oc login first, see
      https://gist.github.com/psturc/87705b3352a1182ba23acc6e92ecd2d8

      Also, the tests are executed in container running on pod inside the OSD under test.

      There are other ways to run our tests. One being `make test/functional` but this is not image based either (it uses `go test command under the hood`).

      Another way is to use operator SDK scorecard being used in CPaaS, not sure if this could be potentially reused for this.

      https://sdk.operatorframework.io/docs/testing-operators/scorecard/

      HOW
      Create a better test suite image with endpoint capable of running the tests easily. Some env vars will have to provided to the container for sure (test suite configuration, kubeconfig for targeting the cluster at minimum)

      We can potentially look into using this newly introduced image instead of our current one ourselves.

      On MPS side the point of contacts are
      rhemming@redhat.com
      ruth.netser1

      TESTS
      N/A

      DONE

      • image created
      • ack'd from Interop / MPS team that it is what they need
      • documentation how to build the newer version of the image manually
      • a plan (followup ticket(s)) on how to tag/release newer version of the image automatically
      • a plan (followup ticket(s)) to use the image ourselves

              mhesko Martin Hesko (Inactive)
              trepel Tomas Repel
              Tomas Repel Tomas Repel
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: