Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-12325

run sync-midstream.sh --always-clone weekly on Sundays, or fix checkPluginsExist.sh? Also why are orch builds failing to prefetch in Konflux?

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Build, Dynamic Plugins, Operator
    • None
    • RHDH COPE 3287, RHDH COPE 3288

      Three problems:

      1. we might want to run sync-midstream.sh --always-clone weekly on Sundays
      2. checkPluginsExist.sh doesn't correctly report when plugins have not been built
      3. orch builds failing to prefetch in Konflux - see RHIDP-12361

      1. Weekly build'em all?

      To ensure we always have a clean bill of health for the various plugin builds, even if they happen to fail randomly in Konflux...

      we might want to use a weekly maintenance job to run sync-midstream --always-clone on the weekend, so that on Mondays we can see which builds, if any, are no longer green.

      This would avoid situations where a sync happens and somehow we have good 1.9.0 builds but some 1.10 builds are not present.

      See https://issues.redhat.com/browse/RHDHBUGS-2641?focusedId=29099194&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-29099194

      2. checkPluginsExist.sh incorrect results!

      Alternatively, maybe we need to spiff up the checkPluginsExist so that it correctly reports that while we DO have 1.10.0--1.3.2 and 1.9.0--1.3.3 tags for https://quay.io/repository/rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator?tab=tags&tag=latest we're missing 1.10.0--1.3.3.

      ./build/scripts/checkPluginsExist.sh -v 1.next --nocommit --debug
      ...
      [47/51] [/] https://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend-module-loki:1.10.0--1.0.0 
      
      [48/51] [/] https://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1.10.0--8.6.0 
      
      [49/51] [/] https://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:1.10.0--1.6.1 
      
      [50/51] [/] https://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator:1.10.0--5.4.0 
      
      [51/51] [/] https://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator:1.10.0--1.3.2 
      
      Of 51 plugins:
       > 51 found at quay.io for the required tag
      

      But there are 5 newer plugins to pick up... so...

      might be related to changes done recently to allow sync-midstream to skip re-exporting when no changes seen in workspaces.

      3. konflux prefetch problems!

      see RHIDP-12361

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

                Created:
                Updated: