[meta] How to deploy webmaker.org apps

RESOLVED FIXED

Status

Webmaker
DevOps
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: brett, Assigned: Jon Buckley)

Tracking

Details

(Whiteboard: u=dev p=1 s=2013w19)

(Reporter)

Description

5 years ago
Create a really simple document that others can reference that outlines how to get apps on staging, so that we can rely on staged apps.
(Reporter)

Updated

5 years ago
Whiteboard: u=dev p=1 s=2013w19
jbuck: again, lower priority than the others, can be done last minute on Friday if that's your druthers ;)
(Assignee)

Comment 2

5 years ago
Steps to deploy a webmaker.org app

1) Increment package.json and tag a new version. This is done by fetching the latest master and running `npm version -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, if I was tagging thimble I'd run `npm version -m 'thimble v%s'`.
2) Push this new commit to the mozilla/master repo. 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:
  a) Visiting http://jenkins.mofoprod.net:8080/
  b) logging in (get a user account from JP)
  c) visiting the project page for the thing you want to build
  d) click the "Build now" button on the left sidebar
  e) Fill in the tag you want to build
  f) 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
Status: NEW → ASSIGNED
Summary: Create a README to get apps on staging → [meta] How to deploy webmaker.org apps
(Assignee)

Comment 3

5 years ago
Let me know if this makes sense!
Flags: needinfo?(pomax)
nits:

- `npm version patch -m '[app] v%s'`

Do we want this information just here, or do we want to add it as a wiki page on webmaker.org repo too, so it doesn't get lost quite as easily?
Flags: needinfo?(pomax)
(Assignee)

Comment 5

5 years ago
Humph suggested putting this in wiki.mozilla.org which isn't a bad idea.
https://wiki.mozilla.org/Webmaker/Deployment#Deploying_apps_on_webmaker.org
(Assignee)

Comment 7

5 years ago
Thanks Pomax!
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.