Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-28108

Ability to run tests cases based on OCP CPU arch type

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Installer
    • Installer Train 35 - 2
    • Moderate
    • None

      Some components, such as cnv-mtv, only support x86-64 arch type and therefore should be skipped on other platforms

        - name: Get cluster architecture via oc
          command: oc get nodes -o jsonpath='{.items[0].status.nodeInfo.architecture}'
          register: ocp_arch
      
        - name: Run architecture-specific tests
          command: "./run_{{ ocp_arch.stdout }}_tests.sh"
          when: ocp_arch.stdout in ["amd64", "arm64"]
      

              rh-ee-msmigiel Matthew Smigielski
              rh-ee-msmigiel Matthew Smigielski
              Matthew Smigielski Matthew Smigielski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: