Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Containerized pluginsync #56

Closed
kindermoumoute opened this issue Jan 19, 2017 · 4 comments
Closed

Containerized pluginsync #56

kindermoumoute opened this issue Jan 19, 2017 · 4 comments

Comments

@kindermoumoute
Copy link
Contributor

Pros:

  • No dependency other than Docker
  • Encourage contributor to run pluginsync themself
  • Make automation around pluginsync simpler

I didn't find cons yet.

@nanliu
Copy link
Contributor

nanliu commented Jan 19, 2017

Github authentication would be the main challenge. Maybe ssh key forwarding? Any suggestions?

@kindermoumoute
Copy link
Contributor Author

I would think about mounting the authentification file in the container:

docker run -v ${HOME}/.netrc:/netrc intelsdi/pluginsync:0.1.11

@nanliu
Copy link
Contributor

nanliu commented Jan 19, 2017

That works for the rake tasks, but not sure about msync where we need to git clone. We can play with this idea and see how far we get.

@nanliu
Copy link
Contributor

nanliu commented Jan 24, 2017

After some investigation this is blocked by:
docker/for-mac#410
docker/for-mac#483

I've looked into alternatives such as https://github.com/avsm/docker-ssh-agent-forward and it is not up to date and attempts to use it results in further rabbit hole:

$ pinata-ssh-forward
key_load_public: invalid format
ssh_exchange_identification: read: Connection reset by peer

This issue is shelved until we have official socket support in docker for mac.

@nanliu nanliu closed this as completed in 2f84aff Jan 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants