git charm layers
Andrew Wilkins
andrew.wilkins at canonical.com
Tue Jan 5 07:58:07 UTC 2016
Hi,
I was recently inspired by Domas's git charm (https://jujucharms.com/git/)
to create a pair of git charm layers and interface. You can find them at:
https://github.com/axw/layer-git-server
https://github.com/axw/layer-git-client
https://github.com/axw/interface-git
layer-git-server manages a git repository for related services. In theory,
each unit of the service should access the same repository (but different
services get different repositories); I haven't actually gone through and
fixed all the bits that make this work though. It shouldn't be too
difficult.
The server has a couple of nice features:
- if you can authenticate as ubuntu on the server, you can also
authenticate as the service repository users. so on my laptop, I can clone
ssh://<service>@<ip-of-git-server>/<path/to/repo>.git
- when you push to the server, it will inform the clients by setting the
commit in relation data
I'm not sure when I'll have time to polish the code and make this
production ready. If anyone's keen to take it further, please fork and have
at it.
Cheers,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160105/8b94ceb5/attachment.html>
More information about the Juju
mailing list