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

Add ssh key into test container #230

Closed amitkrout closed 3 years ago

amitkrout commented 3 years ago

What type of PR is this? /kind failing-test

What does this PR do / why we need it: Prerequisite for - https://github.com/redhat-developer/kam/pull/229

Have you updated the necessary documentation?

Which issue(s) this PR fixes:

Fixes - Prerequisite for https://github.com/redhat-developer/kam/pull/229

How to test changes / Special notes to the reviewer: Prerequisite for https://github.com/redhat-developer/kam/pull/229

openshift-ci-robot commented 3 years ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: To complete the pull request process, please ask for approval from amitkrout after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/redhat-developer/kam/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
openshift-ci-robot commented 3 years ago

@amitkrout: Closed this PR.

In response to [this](https://github.com/redhat-developer/kam/pull/230#discussion_r620320707): >``` >INFO[2021-04-26T10:56:48Z] Command stderr: ✗ failed to create the gitops repository: "https://github.com/*******/taxi-229.git": failed to push bootstrapped resources: failed push remote to repository "git@github.com:*******/taxi-229.git" "Could not create directory '/.ssh'.\r\nHost key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n": exit status 128 >``` > >From the error looks like it pointing to ```/.ssh``` location in the test container. I have merged this change to https://github.com/redhat-developer/kam/pull/229 to get some more clarity. I will update as per the behavior seen in test container. > >Closing it. >/close > > > > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.