Tecnativa / doodba-copier-template

A Copier template for Doodba projects
Boost Software License 1.0
88 stars 116 forks source link

Development: use ssh agent forwarding #15

Open yelizariev opened 4 years ago

yelizariev commented 4 years ago

This is a lifeboat for https://github.com/Tecnativa/doodba-scaffolding/pull/72

Before I make a pull request for copier template, @Yajo could you tell me your general view of the issue and solution

yajo commented 4 years ago

Well, as you can see now we have a better infrastructure to handle that.

IMHO that logic should go into https://github.com/Tecnativa/doodba-copier-template/blob/687326a0910f00ed81fe05a3646713571c1f079b/tasks_downstream.py#L82-L97 so that, if possible, we reuse host's SSH auth socket automatically.

It could be disabled by a CLI flag so that we are able to reproduce what would happen without that easily.

yelizariev commented 4 years ago

I just noticed that this was also discussed in https://github.com/Tecnativa/doodba/issues/292