soft-serve icon indicating copy to clipboard operation
soft-serve copied to clipboard

CI/CD features

Open 4thel00z opened this issue 2 years ago • 8 comments

Hello, I like the idea of the project. Do you think it would be a good idea to add CI/CD features ?

Something like github actions living in .soft/workflows or maybe supporting the format of gitlab-ci.yml - one could reuse the gitlab workers, since they are a standalone project.

Cheers

4thel00z avatar Dec 26 '21 15:12 4thel00z

@meowgorithm ping

4thel00z avatar Dec 28 '21 12:12 4thel00z

Even just having webhooks would be pretty nice, in order to use with jenkins or similar.

nea89o avatar Jan 10 '22 14:01 nea89o

Hi, thank you for the suggestion. We do think this is a good idea and are thinking through implementations now. We may start with Webhooks, but will look into options.

toby avatar Jan 11 '22 17:01 toby

Nice, I can provide some help if you want.

4thel00z avatar Jan 11 '22 17:01 4thel00z

Thanks! We've got a few other things in the pipeline but will let you know asap. We definitely want this.

toby avatar Jan 11 '22 17:01 toby

Can we not just use post-receive git hooks? For now at least. That was my initial assumption. Have yet to set it up so I have no idea whether or not we can access them.

the-ebdm avatar Jan 24 '22 11:01 the-ebdm

configuring web hooks and exposing git hooks through a per repo config repo i.e. I can clone <repo>-config and then update the hooks, etc.

don't integrate any particular CI/CD system into soft-serve binary itself instead produce plugins like terraform, packer, etc. That can expose a job scheduler for a given CI/CD system that can then use either the git/web hooks to submit a job to the scheduler for dispatch to the workers/agents, perhaps also provide a mechanism to template the per repo config repo from the system config repo.

jshield avatar Jan 27 '22 05:01 jshield

Are there any updates on this?

nea89o avatar Mar 30 '22 20:03 nea89o

You can use server hooks to implement CI/CD for your Soft Serve server. This is implemented in Soft Serve v0.5.0

aymanbagabas avatar May 02 '23 18:05 aymanbagabas