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

Git-clone task contains unused param gitInitImage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • Pipelines 1.3
    • Pipelines 1.3
    • Tekton Catalog
    • None
    • False
    • False
    • Undefined

      Expected behavior
      Cluster task git-clone contains only parameters that are actually used in the task

      Actual behavior
      There is a param gitInitImage with default value gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.18.1 but it is not used in task

      The task actually uses correct image registry.redhat.io/openshift-pipelines-tech-preview/pipelines-git-init-rhel8@sha256:a330a6e03b7cc9f56797a06f0df0e6b89e9565154ca67fee4b9610a4f437b1dc

      Possible fixes
      1. remove the param completely OR
      2. set the correct default value (the one pointing to registry.redhat.io) and use $(params.gitInitImage) variable in step (preferred as this param was introduced in 1.3)

            sashture Savita .
            ppitonak Pavol Pitoňák
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: