XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.8.0
    • 1.8.0
    • Helm Chart, Release
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH COPE 3278

      Description of problem:

      Only 2 recent comits that might have caused this?

      https://github.com/redhat-developer/rhdh-chart/commits/main/charts

      • Adding network policy; fixing indentation error (#207)
      • chore: bumping osl default version to 1.36 in orchestrator-infra (#201)

      So... we have a publishing issue!

      Build Details:

      Create chart for 1.8-41 (1.8-41-CI)
      [1;34m[DEBUG] CHART_NAME set to all[0;39m
      [1;34mInstalling mikefarah yq version 4.45.4 for x86_64 GNU/Linux ...[0;39m
      [1;34m[DEBUG] Running in HELM_DIR = /tmp/tmp.2AiEBI1LtU[0;39m
      Installing gh from https://cli.github.com/packages/rpm/gh-cli.repo ...
      sudo: unable to send audit message: Operation not permitted
      Installing helm from https://rhsm-pulp.corp.redhat.com/content/dist/layered/rhel8/x86_64/ocp-tools/4.14/os/ ...
      sudo: unable to send audit message: Operation not permitted
      Installing podman from https://rhsm-pulp.corp.redhat.com/content/dist/layered/rhel8/x86_64/rhocp/4.14/os/ ...
      sudo: unable to send audit message: Operation not permitted
      Installing oc from https://rhsm-pulp.corp.redhat.com/content/dist/layered/rhel8/x86_64/rhocp/4.14/os/ ...
      sudo: unable to send audit message: Operation not permitted
      Installing github.com/norwoodj/helm-docs/cmd/helm-docs@v1.11.3 to /root/go/bin/helm-docs ...
      Installing oras from https://github.com/oras-project/oras/releases/download/v1.2.2/ ...
      sudo: unable to send audit message: Operation not permitted
      [1;34m[DEBUG] Clone https://github.com/redhat-developer/rhdh-chart/tree/main/charts to /tmp/tmp.2AiEBI1LtU[0;39m
      [1;32m[INFO] Multi-chart mode: will publish all charts in https://github.com/redhat-developer/rhdh-chart/tree/main/charts[0;39m
      
      ===========================
      [INFO] Publishing chart backstage from charts/backstage
      ===========================
      
      Create chart for 1.8-41 (1.8-41-CI)
      [1;34m[DEBUG] Running in HELM_DIR = /tmp/tmp.2herzV91iW[0;39m
      [1;34m[DEBUG] Clone https://github.com/redhat-developer/rhdh-chart/tree/main/charts to /tmp/tmp.2herzV91iW[0;39m
      [1;34m[DEBUG] Patching 'Chart.yaml', 'values.yaml', 'README.md.gotmpl' from branch main ...[0;39m
      /root/.local/bin/yq_mf: line 1: !DOCTYPE: No such file or directory
      /root/.local/bin/yq_mf: line 2: !--
      : No such file or directory
      /root/.local/bin/yq_mf: line 3: $'\r': command not found
      /root/.local/bin/yq_mf: line 4: Hello: command not found
      /root/.local/bin/yq_mf: line 6: $'\r': command not found
      /root/.local/bin/yq_mf: line 7: unexpected EOF while looking for matching `''
      /root/.local/bin/yq_mf: line 83: syntax error: unexpected end of file
      [INFO] Set image digests in /tmp/tmp.2herzV91iW/charts/backstage/values.yaml:
      * RHDH_DIGEST = 93ef61eb6cd5a71c344ebaba937e79d721be068e87270dab3078a30fad7a5744,
      * POSTGRESQL_DIGEST = b8266c990ed58a483f7dc57406525d0910b694d65e6a7d00924231fe3d8f039e
      /root/.local/bin/yq_mf: line 1: !DOCTYPE: No such file or directory
      /root/.local/bin/yq_mf: line 2: !--
      : No such file or directory
      /root/.local/bin/yq_mf: line 3: $'\r': command not found
      /root/.local/bin/yq_mf: line 4: Hello: command not found
      /root/.local/bin/yq_mf: line 6: $'\r': command not found
      /root/.local/bin/yq_mf: line 7: unexpected EOF while looking for matching `''
      /root/.local/bin/yq_mf: line 83: syntax error: unexpected end of file

      Seems like there's an issue reading files to transform with mifefarah's YQ:

      https://gitlab.cee.redhat.com/rhidp/rhdh/-/blob/rhdh-1-rhel-9/build/helm/prepare.sh#L342

      To debug this, can run the prepare.sh script locally with the same params:

      https://gitlab.cee.redhat.com/rhidp/rhdh/-/blob/rhdh-1-rhel-9/build/helm/publish_task.yaml#L72-97

              rh-ee-oaljalju Omar Al Jaljuli (Inactive)
              nickboldt Nick Boldt
              RHIDP - Cope
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: