kedge
kedge copied to clipboard
automate the inclusion of kedge into the fabric8 builder-clients docker image
the https://github.com/fabric8io/fabric8-pipeline-library and https://github.com/fabric8io/fabric8-jenkinsfile-library use a docker image called fabric8/builder-clients which contains common CLI tools used in jenkins pipelines like docker, kubectl, oc
.
It'd be nice whenever there's a kedge release to automate the generation of a PR against https://github.com/fabric8io/builder-clients to update the latest kedge release version.
We can help with your CI / CD infrastructure if you want help doing this; we automate the PR generation in our Jenkins pipelines between lots of fabric8 repositories & could do CI and/or CD for kedge on the fabric8 infrastructure for CI / CD if you like.
e.g. this repo https://github.com/fabric8io/exposecontroller/ has its releases https://github.com/fabric8io/exposecontroller/releases generated via make then the pipeline generates the PRs on downstream projects
If you add a Jenkinsfile like this one https://github.com/fabric8io/exposecontroller/blob/master/Jenkinsfile we can enable CI / CD for kedge on our infrastructure if you like?
we've got kedge now inside builder-clients https://github.com/fabric8io/builder-clients/blob/master/Dockerfile#L16 - we just need to automate the generation of the PR to change this line https://github.com/fabric8io/builder-clients/blob/master/Dockerfile#L16 via a PR so that we can automatically use the new kedge releases inside fabric8
If you add a Jenkinsfile like this one https://github.com/fabric8io/exposecontroller/blob/master/Jenkinsfile we can enable CI / CD for kedge on our infrastructure if you like?
That would be great.
I've tried to create simple Jenkins that runs just unit tests for now. I thought I will be able to use goCI
as in your example, but if I understand it correctly looking into goCI source it also builds container which we are not doing right now.
This is what I've come up with - https://github.com/kadel/kedge/blob/Jenkinsfile/Jenkinsfile I'm still new to the whole Jenkinsfile and groovy world