MozillaWiki:Policies/Deployment workflow

From MozillaWiki
< MozillaWiki:Policies
Revision as of 19:33, 12 February 2015 by Ckoehler (talk | contribs) (add some info about repos and servers, outline other sections)
Jump to navigation Jump to search

All code for MozillaWiki is stored in our git repo: https://github.com/mozilla/wiki.mozilla.org

Server Instances

All wiki data is periodically ported from Production to Stage, Dev and Sandbox. You are welcome to try things out on these other wiki instances. Your same login should work unless your account is newly created. In that case, visit #wiki to request an account. Note: At any time your edits to Stage, Dev, or Sandbox may be over written.

Git Branches

We have two branches:

After changes are tested via the master branch on our dev server, they are merged into the production branch. This branch is deployed to stage, checked and if all is well, it is deployed to production.

Repository layout

Use of git submodules

Deployment Workflow

All changes should be made via a local checkout of a personal fork of https://github.com/mozilla/wiki.mozilla.org. Once these changes have been submitted as a pull request and accepted, they are ready for deployment.

Deploying for the first time

Deploying changes to super project only

Deploying changes to submodule(s), commit hash only

Deploying submodule additions, removals, or settings changes