Uploaded image for project: 'Agent-based Installer for OpenShift'
  1. Agent-based Installer for OpenShift
  2. AGENT-1194

Adjust dependency to avoid premature oc extraction in 01_agent_requirements.sh

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Agent Sprint 270

      The current build sequence causes the 01_agent_requirements.sh script to attempt extracting the oc binary before it is installed by 01_install_requirements.sh, resulting in a command not found error during CI runs. This issue was not visible locally due to pre-installed dependencies.

      The make agent target calls agent_requirements early, leading to a failure when extract_oc is called before oc is available. Since oc is already extracted during the requirements target, the extract_oc "${OPENSHIFT_RELEASE_IMAGE}" line in 01_agent_requirements.sh is unnecessary and should be removed.

      Additionally, the agent_requirements script should be scoped to only install minimal dependencies required strictly for the Agent-based Installer (ABI). 

              ppinjark@redhat.com pawan pinjarkar
              ppinjark@redhat.com pawan pinjarkar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: