Uploaded image for project: 'Operator Runtime'
  1. Operator Runtime
  2. OPRUN-3964

[OLMv1] - Validate migration process by migrating one test and setting up pre-merge validation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • Nidoran Sprint 274

      Description

      This ticket combines two goals: 1) To validate the OLMv1 test migration process by moving a single test from openshift/origin (using the oc CLI) to a new Go-native framework (using Go clients), and 2) to ensure that the pre-merge test execution environment is correctly configured to use code changes from the appropriate source repository. This process will create a repeatable blueprint for future test migrations and validate the CI pipeline's functionality.

      Acceptance Criteria

      • The new test framework is initialized with a Go client.
      • One test from openshift/origin that interacts with the cluster is migrated to OTE and passes.
      • The original test is removed from openshift/origin.
      • E2E pre-merge tests are configured to validate changes from the source repository and pass with success.

      Tasks

      1. E2E Test Pipeline Configuration:
        Configure the test execution pipeline to use the OLMv1 source code from the current branch for E2E tests.
        Validate that the pipeline successfully builds and runs tests against a feature branch.
      1. Framework Setup: Implement Go-native framework initialization.
      1. Migrate a Test: Rewrite a test using controller-runtime and gomega.
      1. Validation: Run the new test and confirm it matches the original functionality.
      1. Follow-up PR: Remove the original test from openshift/origin.

      Disclaimer: This content was generated by an AI assistant.

              rh-ee-cmacedo Camila Macedo
              rh-ee-cmacedo Camila Macedo
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: