Workflow ideas for moving app from developer sandbox to general roster

Dear OOD Team,

Congrats for the new release. Looking forward to try it out. I’m posting today with a request for help. I will explain.

At our institute I have become the self-appointed OOD Ambassador. :slight_smile:

As part of my now self-inflicted duties, I’m trying to establish a workflow that I can use to deploy and test my own OOD apps, moving them from the developer sandbox into general use.

I use source control to develop the OOD apps. Therefore, for me the most natural thing is to git pull to the /var/www/ood/apps/sys/%MY_OOD_APP% once I’m ready to test.

What I’m currently doing is to git clone the app directory into the /var/www/ood/apps/sys directory. Then I ask the OOD admin in our institute to run a series of commands that will allow me to do a git pull on that directory, while relinquishing the ownership of the folder and keeping write access to the directory using the group membership.

sudo chown -R root:ood-dev /var/www/ood/apps/sys/my-ood-app
sudo chmod -R g+w /var/www/ood/apps/sys/my-ood-app
sudo find /var/www/ood/apps/sys/my-ood-app -type d -exec chmod g+s {} ;
sudo -u valerio git -C /var/www/ood/apps/sys/my-ood-app config core.sharedRepository group

Please let me know if you see any issues with this approach. Also happy to hear how other OOD developers reduce this flow friction.

Thanks & regards,
~ Omar

Hi and welcome!

I would say automation could help you here. Both ansible and puppet support installing specific app versions. Ansible through git as you’ve set this up here and I believe puppet through packages (like .deb or .rpm).

In that way - you could just publish a new version, have your administrator run the automation with the version update and have it all handled by computers. In this way you’re less error prone to human mistakes typing things out in the configuration lines and what’s more you don’t need special permissions here and there. They can all continue continue to be root owned and managed exclusively by your administrator.

In any case - that’s just my 2 cents. Automation really pays off long term.

1 Like