Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1623

make oc-commands does not work on Mac

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • NetObserv - Sprint 253
    • None
    • None
    • None

      Description of problem:

      make oc-commands shows errors on terminal related to sed

      Steps to Reproduce:

      1. Run make oc-commands on a Mac terminal
      

      Actual results:

      make oc-commands
      ### Generating oc commands
      DIST_DIR=build \
      	K8S_CLI_BIN=oc \
      	IMAGE=quay.io/amoghrd/network-observability-cli:main \
      	PULL_POLICY=Always \
      	VERSION=main \
      	./scripts/inject.sh
      updating CLI images to quay.io/amoghrd/network-observability-cli:main
      sed: 1: "/img=/c\img="quay.io/am ...": extra characters after \ at the end of c command
      updating CLI pull policy to Always
      sed: 1: "/  --image-pull-policy/ ...": extra characters after \ at the end of c command
      updating CLI version to main
      sed: 1: "/version=/c\version="main"": extra characters after \ at the end of c command
      updating K8S CLI to oc
      sed: 1: "0,/K8S_CLI_BIN=/c\K8S_C ...": extra characters after \ at the end of c command
      prefixing with oc-
      sed: 1: "/namespaceYAMLContent/{ ...": unexpected EOF (pending }'s)
      sed: 1: "/saYAMLContent/{r ./res ...": unexpected EOF (pending }'s)
      sed: 1: "/flowAgentYAMLContent/{ ...": unexpected EOF (pending }'s)
      sed: 1: "/packetAgentYAMLContent ...": unexpected EOF (pending }'s)
      sed: 1: "/collectorServiceYAMLCo ...": unexpected EOF (pending }'s)
      sed: 1: "/source.*/{r ./tmp/func ...": unexpected EOF (pending }'s)
      pull policy not provided, keeping current ones
      output generated in build folder

      Expected results:

      Command should be successful

              jpinsonn@redhat.com Julien Pinsonneau
              rhn-support-aramesha Amogh Rameshappa Devapura
              None
              None
              None
              Amogh Rameshappa Devapura Amogh Rameshappa Devapura
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: