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

Output image url link leads to 404 for Shipwright Builds

XMLWordPrintable

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

      None

      Show
      None

      This is a clone of issue OCPBUGS-29355. The following is the description of the original issue:

      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
            openshift-crt-jira-prow OpenShift Prow Bot
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: