You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error loading key "/tmp/git-resource-private-key": error in libcrypto
when I change resource uri to https protocol, I can get git repo been cloned, but I cannot make a commit to it.
resources:
- name: repotype: gitsource:
uri: https://github.com/dove-young/concourse-examples.git# specify branch because it's required for the put stepbranch: masterusername: dove-youngpassword: <my password>
Then I got error like this in repo-ssh step.
fatal: could not read Username for 'https://github.com': No such device or address
Steps to reproduce
Expected results
Actual results
Additional context
Here is my pipeline file
resources:
- name: repo-sshtype: gitsource:
uri: git@github.com:dove-young/concourse-examples.git# specify branch because it's required for the put stepbranch: masterprivate_key_user: dove-youngprivate_key: | -----BEGIN OPENSSH PRIVATE KEY----- MIIEpQIBAAKCAQEAsRW99pw8xv0lypgEM3sWkPlr5+M5ssIkZ5lyHz+VctEQ+lZw <something else goes here> T/kczzBWXUYOacyPhk5aXvIW8U16htV0eDoAJssy4fpXAX5xSdpeKkw= -----END OPENSSH PRIVATE KEY-----jobs:
- name: hello-world-job-put-githubplan:
- get: repo-sshtrigger: true
- task: create-commit # renamed taskconfig:
platform: linuximage_resource:
type: registry-imagesource:
repository: gitea/gitea # use any image that has the git cliinputs:
- name: repo-sshoutputs: # Add repo as an output
- name: repo-sshparams: # Change these to match your ssh key infoEMAIL: person@example.comGIT_AUTHOR_NAME: dove-youngrun:
path: shargs:
- -cx# this is just a bash script
- | cd repo-ssh date +%Y-%m-%d > todays-date git add ./todays-date git config --global user.email $EMAIL git config --global user.name $GIT_AUTHOR_NAME git commit -m "Update todays date"
- put: repo-sshparams:
repository: repo-ssh
Triaging info
Concourse version:
Browser (if applicable):
Did this used to work?
The text was updated successfully, but these errors were encountered:
Summary
ssh
protocal.I got following error at http://localhost:8080/teams/main/pipelines/hello-world-git-failed/resources/repo-ssh page
Error loading key "/tmp/git-resource-private-key": error in libcrypto
https
protocol, I can get git repo been cloned, but I cannot make a commit to it.Then I got error like this in
repo-ssh
step.fatal: could not read Username for 'https://github.com': No such device or address
Steps to reproduce
Expected results
Actual results
Additional context
Here is my pipeline file
Triaging info
The text was updated successfully, but these errors were encountered: