Closed Bug 640582 Opened 14 years ago Closed 14 years ago

Deploy Join Mozilla

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: paulosman, Assigned: jabba)

References

()

Details

Once all of the bugs tracked by #608764 have been closed, we'll need to deploy the Join Mozilla pages to production. This will involve the following steps (as I see them): 1) Modify BSD campaign pages and set thank you pages to http://www.mozilla.org/join/thankyou.en.html and http://www.mozilla.org/join/thankyou.de.html respectively (Chelsea). 2) Set up http://join.mozilla.org. URL needs to point to a machine with PHP with gettext + mbstring enabled. Mirror www.mozilla.org PHP config if possible. 3) Deploy the following files to http://join.mozilla.org/ doc root: (IT) http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/pdf.php http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/lib http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/assets 4) Deploy the following files to http://www.mozilla.org/join/: (IT, David Boswell) http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/index.html http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/thankyou.php http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/assets http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/lib http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/footer.php http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/config.php 5) Set up locales directories on www.mozilla.org/join/locale and join.mozilla.org/locale to sync from. Set up cron to run compile.sh (IT, Stas): https://svn.mozilla.org/projects/l10n-misc/trunk/joinmozilla/locale/
I just spoke to Paul otp and have some comments: re 1. ---- Can you also create a Spanish and a Portuguese versiosn of the form, and set the thank you pages to: http://www.mozilla.org/join/thankyou.es.html http://www.mozilla.org/join/thankyou.pt.html respectively? I talked to our pt-PT localizers, and they're fine with using the pt-BR version, so that's why I suggest using a common 'pt' name in the URL. re 4. ---- Paul will be committing a faq.php file shortly, too, together with the RewriteRules to prettify the locale-specific URL. The URL to the FAQ should be changed in each form: http://www.mozilla.org/join/faq.en.html http://www.mozilla.org/join/faq.de.html http://www.mozilla.org/join/faq.es.html http://www.mozilla.org/join/faq.pt.html re 5. ---- We don't actually need the cronjobs on production. Please just run locale/compile.sh once per checkout.
Stas Can do. Just chatting with crowd favorite, there's one bit of thank you content that isn't set as a string to translate, which is the layout of the certificate. We will need to have that asset designed after it's localized. Same with the T-shirt and card images for the form page.
Hey Chelsea, I was just going to ping you about the graphical assets :) Let's move this out of this but, which is an IT bug, and discuss further. I'll file a new bug.
To add to the things I'll push on mozilla.org, we also want the new About Mozilla page with the Join Mozilla promo to go live. http://www-stage.mozilla.org/about/
Paul, in the initial comment you listed the following as needing to be pushed to www.mozilla.org: http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/assets http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/lib To confirm, those files are now going to be pushed to join.mozilla.org, right? Looks like the same files are mentioned in step 3 as well, but wanted to make sure this wasn't needed in both places. If that is correct, then I'll push the following: http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/index.html http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/thankyou.php http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/footer.php http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/config.php http://svn.mozilla.org/projects/mozilla.org/branches/staging/about/index.html
(In reply to comment #5) > Paul, in the initial comment you listed the following as needing to be pushed > to www.mozilla.org: > > http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/assets > http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/lib > > To confirm, those files are now going to be pushed to join.mozilla.org, right? > Looks like the same files are mentioned in step 3 as well, but wanted to make > sure this wasn't needed in both places. > > If that is correct, then I'll push the following: > > http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/index.html > http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/thankyou.php > http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/footer.php > http://svn.mozilla.org/projects/mozilla.org/branches/staging/join/config.php > http://svn.mozilla.org/projects/mozilla.org/branches/staging/about/index.html Hi David, Good catch. Correct. The only file that needs to be on www.mozilla.org is index.html, which does the locale detection / bouncing. As long as IT are okay with this being on www.mozilla.org (Don't know if it qualifies as an app or if it can be considered static content).
Because we're going to deploy a number of files to a separate server (join.mozilla.org), should we move the appropriate files in SVN, so it's a straightforward push? Looking for input from IT here.
OS: Linux → All
Hardware: x86 → All
Just a heads up that the last blocker bug has been patched and is going through verification as we speak.
Severity: normal → critical
(In reply to comment #8) > Just a heads up that the last blocker bug has been patched and is going through > verification as we speak. Bug 639994, just to be clear.
(In reply to comment #9) > (In reply to comment #8) > > Just a heads up that the last blocker bug has been patched and is going through > > verification as we speak. > > Bug 639994, just to be clear. And we are again waiting for the patch on that bug.
Assignee: server-ops → jdow
Final blocker bug 639994 has been verified. We are good to go for deployment. Can you provide an ETA for going live so we can plan a concurrent blog posting?
(In reply to comment #0) > 1) Modify BSD campaign pages and set thank you pages to > http://www.mozilla.org/join/thankyou.en.html and > http://www.mozilla.org/join/thankyou.de.html respectively (Chelsea). Complete!
I'll start moving files over to www.mozilla.org production now...
Note I'm not going to put the About page up with the Join Mozilla promo until all other pieces are in place. I'm adding the files in the /join directory on staging to get that in place first (and also removing the previous /join to /contribute redirect so we can test that is working).
The files in the join directory are on production now but not working the same as on staging. I'm looking into it, but we may need Paul's input. Specifically, the one file Paul mentions in comment #6 as needing to be there is the index.html file with the locale-aware redirect. That's there but is coming up with a blank page, but on staging it redirects to the BSD pages. http://viewvc.svn.mozilla.org/vc/projects/mozilla.org/trunk/join/index.html?view=log I moved the other files mentioned in comment #6 over, although I don't think those are needed with the plan to use join.mozilla.org. I added them temporarily just in case and will remove after Paul confirms they aren't needed.
I just talked to Paul on IRC and have two updates: * The redirect wasn't working because there was another file on staging that needed to be moved over and wasn't listed in the deploy steps. That's now been moved over and should be live soon. http://viewvc.svn.mozilla.org/vc?view=revision&revision=84875 * re comment #12, with the thank you pages moving over to join.mozilla.org we need to change where BSD is sending people. Paul said he'd change it to point to join.mozilla.org instead of www.mozilla.org.
(In reply to comment #16) > * re comment #12, with the thank you pages moving over to join.mozilla.org we > need to change where BSD is sending people. Paul said he'd change it to point > to join.mozilla.org instead of www.mozilla.org. Done.
The mozilla.org/join redirect is now working. Talking with malexis and Paul on IRC, I believe the last step is for IT to push the relevant files to join.mozilla.org. This includes everything on in the following directory except for index.html: http://viewvc.svn.mozilla.org/vc/projects/mozilla.org/branches/staging/join/ and then to get the locale content working correctly Stas mentions in comment #1: We don't actually need the cronjobs on production. Please just run locale/compile.sh once per checkout. Jabba, can you help us with these steps?
Just talked to Jabba on IRC. He'll be away for a couple of hours but when he gets back he said he'll set up the join.mozilla.org server. BTW, I confirmed with Paul and am removing the extra files on www.mozilla.org/join and just leaving index.html.
I'm ready to push this live. I need someone to ping me on irc when I do to verify things are working. It's hard to test the full workflow with all the different servers since a credit card transaction is required. Also, can someone verify which svn branch I need to be on for prod? I currently am using http://svn.mozilla.org/projects/mozilla.org/branches/staging/join Is that correct? or is there a prod branch or trunk that I should be using?
Thanks to Jabba, Paul and Chelsea we're good to go now. There are a few small issues we'll deal with later but the full flow is in place now.
This one can be closed. For future reference, I checked out full svn repos, one in the root of /data/generic/www/join.mozilla.org, one in the includes subdirectory and one in the locales subdirectory. Future updates to the site will just need an svn up in each directory. There is also a .htaccess file that will need updated manually for locale detection.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Calling this good, since it's been up on http://www.mozilla.org/join for a while, and I haven't heard anything/seen new bugs filed.
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.