beezimOSS / beezoss

Opensource version of Zimbra base on 9.0.X branch of GPLv2 source from Zimbra.
13 stars 1 forks source link

Publish automated build recipe #3

Open adriangibanelbtactic opened 4 years ago

adriangibanelbtactic commented 4 years ago

According to http://www.beezim.fr/pages/zimbra-9-oss/ and https://twitter.com/beezimfr/status/1250412639273881602 it seems you build automatically the different Zimbra 9 foss releases.

Can you please share the recipe or script (in this repo or in another repo) that you use so that I can try to port them as Github actions on the maldua project https://github.com/maldua/maldua-project ?

Thank you.

beezim-oss commented 4 years ago

See https://github.com/beezimOSS/zimbra9-foss/issues/2#issuecomment-616442195 for more information on the build receip.

Github actions seems ok but I think that gitlab-ci make people more independant of a SAAS provider.

So ATM, I'll stick with Gitlab-ci but we should avoid double efforts on this big task. let me know.

Best regards,

beezim-oss commented 4 years ago

I'm open for any idea on the best way to build for everyone.

adriangibanelbtactic commented 4 years ago

Hi Adrian,

About the automated build, my current work is to focus on gitlab integration to be able to use all our BeeZim stack to do the builds.

If you already have a BeeZim stack it makes sense.

I based my work on https://github.com/Zimbra/zm-build/blob/develop/.circleci/config.yml to find the appropriate way to automate it.

Nice.

I don't have too much experience on CI and Zimbra is such a complex build that having the original automation script in addition to yours will ease my task of porting them to github actions.

Currently i'm working on nignthly builds and custom builds.

Nice.

I don't know what is the best way to go, complete github integration or not but I wanted people to be free to do it on their own with their ressource (and this explain the choice of gitlab/gitlab-ci).

I see what you mean. You can have your own gitlab server in your own company if you want to.

This is still an heavy work in progress, i'll publish as soon as I have something readable.

Ok. I'm not in a hurry. Take your time.

You'll be able to use it directly for your project.

I think I might need to adapt it to Github actions but, yeah, nice.

Let me know your view on this. I also plan to build a customized version wich look like your project, let's make sure we don't splits efforts.

Yeah, one of the reasons for creating the maldua-mirror project was avoiding to lose Zimbra source code if Synacor ever made its github repos private.

Github actions seems ok but I think that gitlab-ci make people more independant of a SAAS provider. So ATM, I'll stick with Gitlab-ci but we should avoid double efforts on this big task. let me know.

Github actions let's you build everything with a single github account. Not sure if it will be easy to implement because I'm not actually sure if you can fetch the tgz result and publish it somewhere.

I want to try to build Zimbra as a github action as a technical challenge and, also, because I would like to build Zimbra 8.8.X too.

About merging the two projects, yeah, we should merge them. Anyways my project is quite stalled and I'm not sure when I will be able to resume it. I prefer you focusing on automating properly the Zimbra build right now. We can discuss more details about Zimbra 9 Foss later on.

Hopefully the automation of cloning git repos is something you have not acomplished yet and you can reuse some of my work :) .

adriangibanelbtactic commented 4 years ago

I'm open for any idea on the best way to build for everyone.

Scripts should be designed in a such way so that Zimbra, a Gitlab based fork and a Github based fork can be maintained with changing the less possible code (reuse the most code among CIs configuration directories).

Then we should manage for Zimbra to fetch our improvements so that these new CIs configuration directories go into upstream.

That's a long term wish/goal that I have just come up with.

beezim-oss commented 4 years ago

I want to try to build Zimbra as a github action as a technical challenge and, also, because I would like to build Zimbra 8.8.X too.

It will be possible on my side too :)

About merging the two projects, yeah, we should merge them. Anyways my project is quite stalled and I'm not sure when I will be able to resume it. I prefer you focusing on automating properly the Zimbra build right now. We can discuss more details about Zimbra 9 Foss later on.

Hopefully the automation of cloning git repos is something you have not acomplished yet and you can reuse some of my work :) .

Sadly i didn't know this and created the same script on my side (and mirrored outside github) :)