ocurrent / ocurrent-deployer

A pipeline that deploys unikernels and other services
MIT License
22 stars 19 forks source link

A deployer library #141

Open patricoferris opened 2 years ago

patricoferris commented 2 years ago

I've been building a (private) deployer and have ended up re-using a lot of components from ocurrent-deployer. I was wondering if there was any interest (or perhaps even some preliminary work :)) on extracting some of the reusable components into a publishable current_deployer library. In particular, things like https://github.com/ocurrent/ocurrent-deployer/blob/master/src/build.ml ?

talex5 commented 2 years ago

Yes please!

avsm commented 2 years ago

Yes please!

tmcgilchrist commented 1 year ago

@patricoferris did you make any progress on this? Having re-usable components for deployer is a great idea. Mark has written AWS ones and I'm working on equivalent Azure ones for a personal project.

patricoferris commented 1 year ago

Unfortunately not far beyond re-implementing most of the build.ml file (I used records instead of first-class modules) and then providing some docker helper functions (including a docker-compose-based CI). But not much beyond what could be extracted here.

One really great feature would be private GitHub repository support, which I think such a deployer library would need. I'll add my voice to that issue if I can find (and if it exists, I think it does)

tmcgilchrist commented 1 year ago

Yes such an issue exists on both OCaml-CI and now on ocurrent. I had a rough POC working using tokens last year but I’ve not had time to look at it since.

On Tue, 7 Feb 2023 at 9:48 am, Patrick Ferris @.***> wrote:

Unfortunately not far beyond re-implementing most of the build.ml file (I used records instead of first-class modules) and then providing some docker helper functions (including a docker-compose-based CI). But not much beyond what could be extracted here.

One really great feature would be private GitHub repository support, which I think such a deployer library would need. I'll add my voice to that issue if I can find (and if it exists, I think it does)

— Reply to this email directly, view it on GitHub https://github.com/ocurrent/ocurrent-deployer/issues/141#issuecomment-1419891628, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJXOITQKGOICY2KVQZIWTWWF5UJANCNFSM6AAAAAAQGWQGXY . You are receiving this because you commented.Message ID: @.***>