OpenShift Pipelines Task is failing after upgrading the Operator in RHCOP

Solution Verified - Updated -

Issue

  • A TaskRun is failing because of permission denied error:
warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/": unable to create destination directory: mkdir /.docker: permission denied
  • /tekton/home is no more the $HOME directory during Task execution.
  • /workspace is no more the $PWD working directory during Task execution.
  • How to have $HOME env set automatically to /tekton/home and $PWD to /workspace (like it was in OCP Pipelines < 1.6)?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.9
  • Red Hat OpenShift Pipelines
    • 1.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content