Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-5555

jib-maven failing on OpenShift 4.16

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      jib-maven cluster tasks doesn't work on OpenShift 4.16

      Prerequisites (if any, like setup, operators/versions):

      Pipelines 1.15.0
      OpenShift 4.16

      Steps to Reproduce

       # install Pipelines operator on OpenShift 4.16

      1. create and run a pipeline using jib-maven, e.g. https://github.com/openshift-pipelines/release-tests/blob/master/testdata/v1/clustertask/pipelines/jib-maven.yaml

       

      Actual results:

      Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.4.3:build (default-cli) on project console-java-simple: Build image failed, perhaps you should make sure your credentials for 'image-registry.openshift-image-registry.svc:5000/releasetest-qxhgc/jib-maven' are set up correctly. See https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#what-should-i-do-when-the-registry-responds-with-unauthorized for help: Unauthorized for image-registry.openshift-image-registry.svc:5000/releasetest-qxhgc/jib-maven: 405 Method Not Allowed
      

      Expected results:

      image is built and pushed to internal registry

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

            piyushgarg001 Piyush Garg
            ppitonak Pavol Pitoňák
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: