Following the Tekton Exercise when the pipeline is executed, the deploy-test step fails with the following output:
STEP-GET-CURRENT-INFO
2023/12/05 08:22:58 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/": unable to create destination directory: mkdir /.docker: permission denied
2023/12/05 08:22:58 warning: unsuccessful cred copy: ".gitconfig" from "/tekton/creds" to "/": unable to open destination: open /.gitconfig: permission denied
2023/12/05 08:22:58 warning: unsuccessful cred copy: ".git-credentials" from "/tekton/creds" to "/": unable to open destination: open /.git-credentials: permission denied
latest1.2.1
STEP-PATCH-ARGO-CONF
2023/12/05 08:22:59 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/": unable to create destination directory: mkdir /.docker: permission denied
2023/12/05 08:22:59 warning: unsuccessful cred copy: ".gitconfig" from "/tekton/creds" to "/": unable to open destination: open /.gitconfig: permission denied
2023/12/05 08:22:59 warning: unsuccessful cred copy: ".git-credentials" from "/tekton/creds" to "/": unable to open destination: open /.git-credentials: permission denied
STEP-COMMIT-CHANGES
fatal: detected dubious ownership in repository at '/workspace/output/tech-exercise/main'
To add an exception for this directory, call:
git config --global --add safe.directory /workspace/output/tech-exercise/main
fatal: detected dubious ownership in repository at '/workspace/output/tech-exercise/main'
To add an exception for this directory, call:
git config --global --add safe.directory /workspace/output/tech-exercise/main
fatal: detected dubious ownership in repository at '/workspace/output/tech-exercise/main'
To add an exception for this directory, call:
git config --global --add safe.directory /workspace/output/tech-exercise/main
fatal: detected dubious ownership in repository at '/workspace/output/tech-exercise/main'
To add an exception for this directory, call:
git config --global --add safe.directory /workspace/output/tech-exercise/main
fatal: detected dubious ownership in repository at '/workspace/output/tech-exercise/main'
To add an exception for this directory, call:
git config --global --add safe.directory /workspace/output/tech-exercise/main
This exercise is executed in the following environment with Openshift Pipelines Operator-rh.v1.13.0:
📝 Description
Following the Tekton Exercise when the pipeline is executed, the
deploy-test
step fails with the following output:This exercise is executed in the following environment with Openshift Pipelines Operator-rh.v1.13.0:
🚶 Steps to reproduce
Just follow the technical instructions from the exercise.
🧙♀️ Suggested solution
... if applicable