OK, thanks for the ONAP pointers, I have explored them and I figured the following:
Docker: 1) ONAP projects use maven to build docker: https://github.com/onap/aai-aai-common/blob/master/aai-common-docker/aai-common-images/pom.xml 2) LFN global-jjb has templates for docker build and publish: https://github.com/lfit/releng-global-jjb/blob/master/jjb/lf-maven-jobs.yaml#L998 3) ONAP publishes docker images in Nexus: https://nexus3.onap.org/#browse/search/docker Helm: 1) ONAP projects define their charts in a common repo called OOM: https://github.com/onap/oom/tree/master/kubernetes/aai <https://github.com/onap/oom/tree/master/kubernetes/aai> 2) Helm job are in ONAP ci-management repo whilst build Makefiles are in OOM: https://github.com/onap/ci-management/blob/master/jjb/oom/oom-helm.yaml https://github.com/onap/oom/blob/master/kubernetes/aai/Makefile 3) ONAP publishes helm packages in Nexus: https://nexus.onap.org/content/sites/oom-helm-release/3.0.0-ONAP/ <https://nexus.onap.org/content/sites/oom-helm-release/3.0.0-ONAP/> So in general I think we can leverage a lot of work from above but before doing that I have a couple of question: 1) Does current Centos builder image support docker? 2) Does ODL have a docker repo like https://nexus3.onap.org/#browse/search/docker? <https://nexus3.onap.org/#browse/search/docker?> Thanks/Luis > On Mar 25, 2021, at 10:06 PM, Anil Belur <abe...@linuxfoundation.org> wrote: > > Hello Luis: > > ONAP has a few jobs that publish helm charts onto Nexus, and we have some > scripts in place that can be reused. > Some examples below: > > https://nexus.onap.org/content/sites/oom-helm-staging/master/ > <https://nexus.onap.org/content/sites/oom-helm-staging/master/> > https://jenkins.onap.org/job/aai-oom-guilin-merge-external-helm/ > <https://jenkins.onap.org/job/aai-oom-guilin-merge-external-helm/> > > If ODL requires a similar jobs/setup, I can make a generic version of these > jobs and move them into global-jjb repo. > However we'll also need additional Ubuntu 18.04 images that installs helm. > > https://github.com/onap/ci-management/blob/master/jjb/global-template-helm.yaml > > <https://github.com/onap/ci-management/blob/master/jjb/global-template-helm.yaml> > (stage-helm job) > https://github.com/onap/ci-management/blob/master/shell/helm2-verify.sh > <https://github.com/onap/ci-management/blob/master/shell/helm2-verify.sh> > https://github.com/onap/ci-management/blob/master/shell/helm-repo-init.sh > <https://github.com/onap/ci-management/blob/master/shell/helm-repo-init.sh> > https://github.com/onap/ci-management/blob/master/shell/publish_helm_charts.sh > > <https://github.com/onap/ci-management/blob/master/shell/publish_helm_charts.sh> > > PS let me know if these bits can be reused. I can setup time to discuss the > details of usecase for ODL > and get an understanding of which of the ODL $projects would require helm > charts. > > Regards, > Anil > > > On Fri, Mar 26, 2021 at 4:51 AM Luis Gomez <ece...@gmail.com > <mailto:ece...@gmail.com>> wrote: > As I brought in today's TSC meeting, any decent IT app nowadays has a helm > chart to quickly install in K8s. > > Looking at some open source example: > > https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus > > <https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus> > > It seems like we need to hold some helm definitions in our code repo for > folks to perform: > > helm repo add odl https://opendaylight.github.io/helm-charts > <https://opendaylight.github.io/helm-charts> > > Also we need to publish docker containers somewhere so they can be used in a > K8s Deployment file like this: > > spec: > containers: > - name: odl > image: quay.io/opendaylight/netconf:v0.13.0 > <http://quay.io/opendaylight/netconf:v0.13.0> > ... > > I am not an expert in K8s so let me know if I miss anything. > > Anil, do you see any problem in existing ODL infra to achieve the above? > > BR/Luis
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8705): https://lists.opendaylight.org/g/Discuss/message/8705 Mute This Topic: https://lists.opendaylight.org/mt/81610658/21656 Group Owner: discuss+ow...@lists.opendaylight.org Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-