noi-techpark / odh-mentor-otp

4 stars 8 forks source link

Restructuring of OTP repository #175

Open rcavaliere opened 5 months ago

rcavaliere commented 5 months ago

One or two repositories for old / new OTP instance?

dulvui commented 5 months ago

I discussed this with @clezag and we decided to use only the existing repository, by using different branches for the new development. The new branches will then be merged to the main branches, once the new development is done.

leonardehrenfried commented 5 months ago

@dulvui And would you like to use the same mechanism for starting OTP (jar + Java) or should I set it up with the upstream container image?

dulvui commented 5 months ago

@leonardehrenfried We do not really have a preference here, whatever is easier for you to develop and easier for us to maintain.

leonardehrenfried commented 5 months ago

Ok. My suggestion is that I start with a first draft with what is easy for me and together we will figure out the details of how exactly the repo needs to be made runnable and deployable.

We could, for example, aim to make it an ansible playbook which makes it easy to deploy it on any Linux server.

dulvui commented 5 months ago

Great, that works for us!

We actually already have an ansible deployment for our docker applications, that is used also in this repository. The configuration of the playbook is available here https://github.com/noi-techpark/odh-mentor-otp/tree/main/infrastructure/ansible and the playbook itself here https://github.com/noi-techpark/ansible-docker-deployment/tree/master So I think that is not needed, you can simply change the otp Dockerfile as you need and then that docker container gets deployed to ours servers.