Talk:How to deploy code

Rendered with Parsoid
From Wikitech
Latest comment: 8 years ago by Awight in topic Recommend "git rebase"?

Deploy to test2 first

Per the statement on wikitech-l:

test2.wikipedia.org is basically a standard configuration wiki on the production cluster that we use as the final place for testing before going out to other production wikis. Pretty much anything destined for one of our top wikis or to a substantial number of smaller wikis should go to test2. That's especially true now that our QA team is relying on test2 as an automated test target.

Where could this go on How to deploy code so people know to deploy to Test2.wikipedia.org first? Sumanah (talk) 03:54, 1 January 2013 (UTC)Reply

This guide focuses solely on how to get code live, assuming the deployer already knows what they want to accomplish. There should be more documentation about het deploy (maybe on this page, maybe on a separate page), and about deployment policy (ideally on a separate page linked from here). I think things like testwiki and test2wiki are better classified as deployment policy than actual deployment mechanics, and I think it would be useful to maintain some sense of separation there; this page is already quite large. --Catrope (talk) 13:46, 3 January 2013 (UTC)Reply

Recommend "git rebase"?

As I understand it, you can do a plain "git rebase" in lieu of "git rebase origin/wmf/1.26wmf20", and it will have the same effect. If correct, this is a much safer command to recommend to deployers. It's too easy to accidentally rebase the wrong branch, and the outcome is disastrous. Should we change the recommendation? Awight (talk) 23:56, 2 September 2015 (UTC)Reply