Uploaded image for project: 'Konflux UI'
  1. Konflux UI
  2. KFLUXUI-642

Changes to tegrationTestScenario in UI overwrite `spec.resolverRef.resourceKind`

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Konflux

      Request type: Error / Bug
      Reason of urgency: I believe I have found a bug in Konflux UI.

      Request info

      Team: the-collective
      Tenant: https://konflux-ui.apps.kflux-prd-rh02.0fk9.p1.openshiftapps.com/ns/the-collective-tenant/applications
      Application: mobster

      Details:

      Changes to tegrationTestScenario in UI overwrite `spec.resolverRef.resourceKind`
      When creating an integration test for our application in Konflux, I have created the IntegrationTestScenario in UI. From https://konflux-ci.dev/docs/testing/integration/creating/#customize-pipelinerun-definition (the documentation) and previous discussions within this channel I have noticed that I need to change spec.resolverRef.resourceKind to pipelinerun in order to be able to provide a Workspace for the integration test. However I have noticed this change gets overwritten back to pipeline every time I change some part of the IntegrationTestScenario within the Konflux UI (even unrelated things like Contexts), which breaks the test.
      
      To replicate check this:
      • Log in to the Cluster with UI and a terminal
      • oc get integrationtestscenarios.appstudio.redhat.com mobster-test -o yaml 
      • Change Contexts in UI of the Integration test
      • oc get integrationtestscenarios.appstudio.redhat.com mobster-test -o yaml  and notice that the field spec.resolverRef.resourceKind was reverted to pipeline
      I believe this is a bug in the UI.
      

              rh-ee-rgalvao Rodrigo Galvao
              rh-ee-mszymutk Marek Szymutko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: