Uploaded image for project: 'Service Binding'
  1. Service Binding
  2. APPSVC-580

Adapt acceptance tests run against custom k8s cluster

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Helm, QE
    • App Services Sprint 184, Sprint 185, Sprint 187

      Currently helm acceptance tests are running against Openshift using https://github.com/akashshinde/acceptance-testing/tree/helm3-e2e-openshift.

      We need to find areas in upstream we can change to reduce redundancy in downstream.

      Summary:
      1. There should be a way to pass .kubeconfig file to the tests.
      Possible solutions:

      • This can be achieved by passing kubeconfig file as param to test
        case, if kubeconfig file is provided instead of kube version test
        would not provision kind cluster.

      2. Create required resouces before starting up the test.
      (In case of openshift we need to create persistance volume before starting the test).
      Possible solutions:

      • This can be achieved by checking the presence of PVC named `standard`. if not
        not we can create PV with storage class `standard`.

      3. There should be a way to pass chart test in the test argument.
      (In case of openshift we need chart example with available apis).
      Possible solutions:

      • Paramaterizing test chart path in the test.

      4. Shells test suite fails to locate the bin:
      Possible solutions:

      • Update shells test suite to use the provided bin instead of looking for it in help repo.

              akshinde Akash Shinde (Inactive)
              akshinde Akash Shinde (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: