Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3340

Rewrite the CLI downloads server into GOlang

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Console Operator
    • None
    • HAC Infra OCP - Sprint 227, HAC Infra OCP - Sprint 260

      Currently our server that is serving the CLI artifacts is written in Python. We need to rewrite it into GO for better maintainance.

       

      Server - https://github.com/openshift/console-operator/blob/master/bindata/assets/deployments/downloads-deployment.yaml#L71-L184

      There is a bug behind this story: https://bugzilla.redhat.com/show_bug.cgi?id=2034094

      AC:

      • In console:
        • Rewrite the server that serves the CLI artifacts into GOlang, as a separate binary in console codebase - cmd/downloads (isolated from console backend source)
        • Write additional build-downloads.sh script, for building the downloads server binary 
        • Write a Dockerfile.downlaods, which should be
          • getting the cli-artifacts from the cli-artifacts image and should be based on OCP GO builder image - eg. rhel-9-golang-1.22-openshift-4.17
          • building downloads server binary
        • Update console README accordingly

              rh-ee-mziska Marek Ziska
              jhadvig@redhat.com Jakub Hadvig
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: