Deploying apps on webmaker.org

Deploying apps to webmaker.org is relatively painless, involving the following steps:

  1. Increment package.json and tag a new version. This is done by fetching the latest master and running npm version patch -m '[app] v%s', replacing [app] with the application name. The v%s is intentional, you actually want to use that string. As an example, to tag thimble the command would be npm version patch -m 'thimble v%s'.
  2. Push this new commit to the mozilla/master repo ("mozilla" represents the upstream repo name here, if you use a different name, make sure to use that in the following command, too). This is done by running git push mozilla master --tags to push both the new commit and the new tag.
  3. Start a jenkins build. This is done by:
    1. Visiting http://jenkins.mofoprod.net:8080/
    2. logging in (get a user account from JP)
    3. visiting the project page for the thing you want to build
    4. click the "Build now" button on the left sidebar
    5. Fill in the tag you want to build
    6. Wait
  4. If you need to make any configuration changes (a new parameter, or you need to change an existing) ask JP or I to make them so.
  5. Watch your thing be deployed on [app].mofostaging.net