Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commit-pinned-digest fails with fatal: could not read Username for 'https://github.com' #397

Open
mjturek opened this issue Jan 18, 2023 · 0 comments

Comments

@mjturek
Copy link

mjturek commented Jan 18, 2023

After following the guide for certifying an operator, I've hit this and have been unable to fix it.

[commit-pinned-digest : commit-changes] + '[' false = true ']'
[commit-pinned-digest : commit-changes] + git config --global user.email mturek@redhat.com
[commit-pinned-digest : commit-changes] + git config --global user.name mjturek
[commit-pinned-digest : commit-changes] + DIRTY_FLAG=true
[commit-pinned-digest : commit-changes] + echo true
[commit-pinned-digest : commit-changes] true
[commit-pinned-digest : commit-changes] + '[' true == true ']'
[commit-pinned-digest : commit-changes] Commit changes to temporary branch
[commit-pinned-digest : commit-changes] + echo 'Commit changes to temporary branch'
[commit-pinned-digest : commit-changes] + TEMP_BRANCH=main-pinned
[commit-pinned-digest : commit-changes] + git checkout -b main-pinned
[commit-pinned-digest : commit-changes] Switched to a new branch 'main-pinned'
[commit-pinned-digest : commit-changes] + git add -u
[commit-pinned-digest : commit-changes] + git commit -m 'Pin the operator manifests'
[commit-pinned-digest : commit-changes] [main-pinned 1db741b] Pin the operator manifests
[commit-pinned-digest : commit-changes]  1 file changed, 7 insertions(+), 3 deletions(-)
[commit-pinned-digest : commit-changes] + git push origin main-pinned -f
[commit-pinned-digest : commit-changes] fatal: could not read Username for 'https://github.com': No such device or address

I've added the github-ssh-credentials and github_api_secretsecrets mentioned in the docs to my cluster, but no luck. I've tried setting the git_repo_url to git@github.com:mjturek/certified-operators.git as this task seems to be setting up for SSH authentication but then the clone step fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant