redhat-developer / kam

GitOps Application Manager: An opinionated CLI that generates the Kubernetes resources for managing your Tekton-based CI manifests, ArgoCD-based CD manifests and Application manifests in Git.
Apache License 2.0
145 stars 83 forks source link

ci-dryrun-from-push-pipeline fails with new RedHat Pipelines update #324

Closed jeffgus closed 2 years ago

jeffgus commented 2 years ago

Describe the bug After committing changes to the gitops repo, I get: "Error running git [init /workspace/source]: exit status 1\n/workspace/source/.git: Permission denied\n"

..from ci-dryrun-from-push-pipeline task.

To Reproduce Install Red Hat OpenShift Pipelines 1.7.3 via the Operator Marketplace. Commit code to a gitops repo. Dry run task fails with a permission error. Other tasks continue to work without issues.

Expected behavior Continue to work with the newer version of Pipelines.

Additional context I suspect there is a subtle change in the way the resources.type=git works.

jeffgus commented 2 years ago

Issue fixed when version of Pipelines was upgraded to 1.8.0