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

Refactor automation-acm code to use single variable for "local_cluster" across acm and mce

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Installer, QE
    • 1
    • False
    • None
    • False
    • 1
    • Low
    • None

      As of now, in the automation-acm code, the variable name to store local cluster information is inconsistent among acm and mce. This should be refactored to be made consistent across all scripts.

      acm-install-tests.yml:

      • shell: |
        oc get managedclusters -l local-cluster=true -ojson | jq -r '.items[].metadata.name'
        register: local_cluster_name

      mce-install-tests.yml:

      • name: Check if local-cluster enabled
        shell: |
        oc get managedclusters -l local-cluster=true -ojson | jq -r '.items[].metadata.name'
        register: local_cluster

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

                Created:
                Updated: