Skip to content

Running tkn pipeline on local openshift cluster results in error during cloning #63

@arnagaram

Description

@arnagaram

Was following the guide from:

https://github.com/redhat-openshift-ecosystem/certification-releases/blob/main/4.9/ga/ci-pipeline.md

Please note that the fork repo is a public repo:

https://github.com/arnagaram/certified-operators

~/operator-pipelines$ tkn pipeline start operator-ci-pipeline --param git_repo_url=$GIT_REPO_URL --param git_branch=main --param bundle_path=$BUNDLE_PATH --param upstream_repo_name=redhat-openshift-ecosystem/certified-operators --param env=prod --workspace name=pipeline,volumeClaimTemplateFile=templates/workspace-template.yml --showlog --kubeconfig=/home/zuul/controller_config --param submit=true

Following is the error:

[checkout : clone] + /ko-app/git-init -url=git@github.com:arnagaram/certified-operators.git -revision=main -refspec= -path=/workspace/output/ -sslVerify=true -submodules=true -depth=1 -sparseCheckoutDirectories= [checkout : clone] {"level":"warn","ts":1746804849.2066984,"caller":"git/git.go:273","msg":"URL(\"git@github.com:arnagaram/certified-operators.git\") appears to need SSH authentication but no SSH credentials have been provided"} [checkout : clone] {"level":"error","ts":1746804849.7791133,"caller":"git/git.go:55","msg":"Error running git [fetch --recurse-submodules=yes --depth=1 origin --update-head-ok --force main]: exit status 128\nWarning: Permanently added 'github.com,140.82.121.4' (ECDSA) to the list of known hosts.\r\ngit@github.com: Permission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\t/go/src/github.com/tektoncd/pipeline/pkg/git/git.go:55\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\t/go/src/github.com/tektoncd/pipeline/pkg/git/git.go:158\nmain.main\n\t/go/src/github.com/tektoncd/pipeline/cmd/git-init/main.go:53\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:255"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions