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

[performance tuning] Split theia-sources job into 1 job controlled by list param so we can re-trigger individual stages

    XMLWordPrintable

Details

    • False
    • False
    • 0
    • 0% 0%
    • Undefined

    Description

      Follows up from CRW-879

      Today the che-theia-sources job builds three sets of assets for theia-dev, theia, and theia-endpoint.

      If one fails, the build fails, and the whole process (which can tave over 9hrs) needs to start over at the beginning.

      This is of course painful and resource-locking for no good value.

      Splitting the job so that we can trigger dev, theia, or endpoint (or the last 2, or all three) would permit us to re-run failing parts faster.

      Requirements:

      • DONE: new flag to build.sh – docker rmi from local cache before building images - --rm-cache added
        • leave system prune in jenkinsfile - sh "docker system prune -af || true" (maybe not needed?)
      • DONE: Jenkins string param PLATFORMS: arches to build (x/z/p)
      • DONE: Jenkins string param CONTAINERS: images to build (theia-dev, theia, theia-endpoint)
      • DONE: do not regen container.yaml based on arches flag

      Future items moved to CRW-1905

      Attachments

        1. image-2021-06-07-14-29-04-756.png
          image-2021-06-07-14-29-04-756.png
          58 kB
        2. log-collect-assets-amd64.txt
          4 kB
        3. screenshot-1.png
          screenshot-1.png
          19 kB
        4. screenshot-2.png
          screenshot-2.png
          72 kB
        5. screenshot-3.png
          screenshot-3.png
          69 kB
        6. screenshot-4.png
          screenshot-4.png
          88 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: