Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29355

Output image url link leads to 404 for Shipwright Builds

XMLWordPrintable

    • No
    • ODC Sprint 3252
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, if there was a build output image with an `Image` tag, then the `Output Image` link, which was not redirecting to the correct *ImageStream* page. With this update, this has been fixed by generating a URL for the *ImageStream* page without adding the tag in the link. (link:https://issues.redhat.com/browse/OCPBUGS-29355[*OCPBUGS-29355*])
      Show
      * Previously, if there was a build output image with an `Image` tag, then the `Output Image` link, which was not redirecting to the correct *ImageStream* page. With this update, this has been fixed by generating a URL for the *ImageStream* page without adding the tag in the link. (link: https://issues.redhat.com/browse/OCPBUGS-29355 [* OCPBUGS-29355 *])
    • Bug Fix
    • Done

      When clicking on the output image link on a Shipwright BuildRun details page, the link leads to the imagestream details page but shows 404 error.

      The image link is:

      https://console-openshift-console.apps...openshiftapps.com/k8s/ns/buildah-example/imagestreams/sample-kotlin-spring%3A1.0-shipwright
      

      The BuildRun spec

      apiVersion: shipwright.io/v1beta1
      kind: BuildRun
      metadata: 
        generateName: sample-spring-kotlin-build-
        name: sample-spring-kotlin-build-xh2dq
        namespace: buildah-example
        labels: 
          build.shipwright.io/generation: '2'
          build.shipwright.io/name: sample-spring-kotlin-build
      spec: 
        build: 
          name: sample-spring-kotlin-build
      status: 
        buildSpec: 
          output: 
            image: 'image-registry.openshift-image-registry.svc:5000/buildah-example/sample-kotlin-spring:1.0-shipwright'
          paramValues: 
            - name: run-image
              value: 'paketocommunity/run-ubi-base:latest'
            - name: cnb-builder-image
              value: 'paketobuildpacks/builder-jammy-tiny:0.0.176'
            - name: app-image
              value: 'image-registry.openshift-image-registry.svc:5000/buildah-example/sample-kotlin-spring:1.0-shipwright'
          source: 
            git: 
              url: 'https://github.com/piomin/sample-spring-kotlin-microservice.git'
            type: Git
          strategy: 
            kind: ClusterBuildStrategy
            name: buildpacks
        completionTime: '2024-02-12T12:15:03Z'
        conditions: 
          - lastTransitionTime: '2024-02-12T12:15:03Z'
            message: All Steps have completed executing
            reason: Succeeded
            status: 'True'
            type: Succeeded
        output: 
          digest: 'sha256:dc3d44bd4d43445099ab92bbfafc43d37e19cfaf1cac48ae91dca2f4ec37534e'
        source: 
          git: 
            branchName: master
            commitAuthor: Piotr MiƄkowski
            commitSha: aeb03d60a104161d6fd080267bf25c89c7067f61
        startTime: '2024-02-12T12:13:21Z'
        taskRunName: sample-spring-kotlin-build-xh2dq-j47ql
      

              avik6028 Avik Kundu
              rh-ee-ssadeghi Siamak Sadeghianfar
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: