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

Error using the image in CI/CD pipelines #10

Open
albeus opened this issue Feb 9, 2022 · 0 comments
Open

Error using the image in CI/CD pipelines #10

albeus opened this issue Feb 9, 2022 · 0 comments

Comments

@albeus
Copy link

albeus commented Feb 9, 2022

I have been using this image in Gitlab pipelines. I use a standard way to add ssh keys to the environment, es:

    before_script:
    - eval $(ssh-agent -s)
    - echo -n "${DEV_AAI_KEY}" | ssh-add - > /dev/null
    - mkdir -p ~/.ssh
    - chmod 700 ~/.ssh

Since the latest image version, my pipelines are broken:

bind: No such file or directory
unix_listener: cannot bind to path: /root/.ssh/sockets/[email protected]
lost connection

I think that the error is related to this changeset: 868516f#diff-56744b58678a7421584a05b2fe5341f5b117e4a21b8b12df1cad23bb13889b9d

In particular, the ssh config file requires the path "~/.ssh/sockets" to be present. Since we are not using the script /usr/local/bin/add-ssh-key this path is missing.

Probably it would be better to include in some way the required files in the image.
What do you think about that?

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