Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-826

When building CRW server, check that Che version expected aligns to Che version in the image

XMLWordPrintable

      at the end of get-sources-jenkins.sh for teh CRW server build in Brew, we could enable a test that:

      • gets the container (from :latest or the specific new tag)
      • unpacks dashboard.war
      • looks in ./assets/branding/product.json
        $➔ docker run -it --rm --entrypoint /bin/bash quay.io/crw/server-rhel8:2.1-22 -c "unzip -q -d /tmp/dashboard codeready/tomcat/webapps/dashboard.war assets/branding/product.json; grep productVersion /tmp/dashboard/assets/branding/product.json"
          "productVersion": "2.1.1.GA :: crw_master/1119 :: che-dev @ 9348 (19) :: che-parent @ 9654c (7.9.3) :: che @ 84e10 (7.9.3) :: codeready-workspaces @ 7676 (2.1.1.GA)",
        
      • compares to expected value from [...?]
      • if not the same, fail build immediately

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: