We do exactly this. We have a staging instance, and a production instance. Both exist in a single git repo as separate branches. The main different for this is that the staging and production config file point to different port and database instances. We also maintain a staging and production python environment to match. Changes always flow from staging to production and follow the git branch modeling from http://nvie.com/posts/a-successful-git-branching-model/ This has worked EXTREMELY well for us. On Wed, Aug 31, 2016 at 3:00 AM, Mathieu Bahin < mathieu.bahin@biologie.ens.fr> wrote:
Hi all,
First of all, I'm new to this list and already posted my question on biostar. Thanks to Hans-Rudolf for his answer but I'm not sure we have exactly the same constraints here and I send this message to try to get other answers and see what is the best solution for us.
I'm trying to setup a good galaxy environment for a biology institute. To do so, I need to have a development and a production instances that are clones on the structure side. I'd like to update regularly these instances (following more or less galaxy main updates) and track them with git repos.
I'm pretty sure lot of galaxy admins are trying to do that but I can't find the answer.
My idea was to have a local git repo to save the development instance (not the data). When there is a new update, I git pull it from galaxy GitHub, compare what changed in the sample files and make the appropriate changes in the config files corresponding to these samples. Then I would git push towards the production instance. To do so, I need to have a proper .gitignore file (listing especially the data files). I saw that there is a .gitignore in the galaxy GitHub repo. It's probably relevant when I want to pull the updates but I'm not sure it is regarding the transfers between the development and production instances (for example, the config files have to be tracked I guess).
Cheers, Mathieu
-- ------------------------------------------------------------ --------------------------- | Mathieu Bahin | IE CNRS | | Institut de Biologie de l'Ecole Normale Supérieure (IBENS) | Biocomp team | 46 rue d'Ulm | 75230 PARIS CEDEX 05 | 01.44.32.23.56 ------------------------------------------------------------ ---------------------------
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/