Skip to content

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

@mjturek

Description

@mjturek

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.

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