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

Add ssh identity support #365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JasonDictos
Copy link
Contributor

This adds the ssh identity support to the concourse yaml

Original work: #331

Tests pass locally however I cannot determine why the concourse-ci/status failed

@JasonDictos JasonDictos requested a review from xtremerui as a code owner April 11, 2024 21:14
    Signed-off-by: Jason Dictos <[email protected]>

Signed-off-by: Jason Dictos <[email protected]>
@xtremerui
Copy link
Contributor

Hi @JasonDictos
here are the failure logs:

#26 186.8 • Failure [7.431 seconds]

#26 186.8 Out

#26 186.8 github.com/concourse/docker-image-resource/tests/out_test.go:17

#26 186.8   When specifying ssh_identity file

#26 186.8   github.com/concourse/docker-image-resource/tests/out_test.go:487

#26 186.8     should set ssh args [It]

#26 186.8     github.com/concourse/docker-image-resource/tests/out_test.go:488

#26 186.8 

#26 186.8     Got stuck at:

#26 186.8         DOCKERD: --data-root /scratch/docker --mtu 1460 --max-concurrent-downloads=3 --max-concurrent-uploads=3

#26 186.8         waiting for docker to come up...

#26 186.8         Agent pid 3351

#26 186.8         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

#26 186.8         @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @

#26 186.8         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

#26 186.8         Permissions 0644 for '/docker-image-resource/tests/fixtures/ssh_identity' are too open.

#26 186.8         It is required that your private key files are NOT accessible by others.

#26 186.8         This private key will be ignored.

#26 186.8         unset SSH_AUTH_SOCK;

#26 186.8         unset SSH_AGENT_PID;

#26 186.8         echo Agent pid 3351 killed;

#26 186.8         

#26 186.8     Waiting for:

#26 186.8         DOCKER ARG: --ssh

#26 186.8 

#26 186.8     github.com/concourse/docker-image-resource/tests/out_test.go:500

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

Successfully merging this pull request may close these issues.

2 participants