Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2630

when creating a STAGE release, the release name should not exceed 64 chars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.10.0
    • 1.8.3, 1.9.0
    • Build, Release
    • None
    • RHDH COPE 3287

      Description of problem:

      After running './build/scripts/kfuxRelease.sh --stage ...', it generates 'release-rhdh-1-8-20260209-181200-000-stage-20260209-185547.yaml' which contains the release name longer than 64 chars. The release name longer than 64 chars is not accepted.

      oc apply -f /tmp/release-rhdh-1-8-20260209-181200-000-stage-20260209-185547.yaml
      Error from server (Forbidden): error when creating "/tmp/release-rhdh-1-8-20260209-181200-000-stage-20260209-185547.yaml": admission webhook "vrelease.kb.io" denied the request: release name must be no more than 63 characters, got 64 characters
      

      This issue is mainly caused by the recent change in Konflux by using the snapshot name containing timestamp which results in the existing file name.

      e.g. old snapshot name: rhdh-1-8-2cv9m
      new name: rhdh-1-8-20260209-155440-000

      Shorten 'TS' (timestamp) by at least 2 chars as it would increase the number of chars for '1.10' from '1.9'

              joskimca Joseph Kim
              joskimca Joseph Kim
              RHDH Cope
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: