Closed Bug 1459667 Opened 8 years ago Closed 7 years ago

Setup a pushbox dev/stage deployment

Categories

(Cloud Services :: Operations: Miscellaneous, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pjenvey, Assigned: oremj)

Details

https://github.com/mozilla-services/pushbox pushbox's a http://rocket.rs based rust web app backed by mysql. Its db migrations are embedded and ran on startup. Its basic deployment will be very similar to megaphone's: https://bugzilla.mozilla.org/show_bug.cgi?id=1450803 Please setup automatic deployments on new latest tags. (the code in the github repo is currently a lambda function, the rust version temporarily lives over @ https://github.com/mozilla-services/rustbox which will be merged when we're ready for automatic deployments) Configuration is (mostly) via environment variables, you'll need: ROCKET_ENV={one of development or dev, staging or stage, production or prod} ROCKET_DATABASE_URL=mysql:// RUST_BACKTRACE=1 # for now (for development) ROCKET_FXA_HOST=oauth.stage.mozaws.net ROCKET_SERVER_TOKEN="Some_FxA-Server_to_Service_token"
Assignee: nobody → oremj
Flags: needinfo?(oremj)
:oremj Is there any progress we can get on this?
Flags: needinfo?(oremj) → needinfo?(pjenvey)
The version.json's been taken care of and the latest pushbox now supports dockerflow style health checks like megaphone does. :oremj let me know when dev looks good and I'll tag a release for stage
Flags: needinfo?(pjenvey) → needinfo?(oremj)
jbuck, are the FXA SQS queues ready to go?
Flags: needinfo?(oremj) → needinfo?(jbuckley)
:oremj, :jbuck; What's the status on deploying these servers to stage/production? If they're deployed, what address can dev use to contact these servers?
Flags: needinfo?(oremj)
Flags: needinfo?(jbuckley)
The envs will be located at: https://pushbox-default.dev.mozaws.net/ and https://pushbox-default.stage.mozaws.net/ I've made pretty good progress, just need to add the SQS queues and it should be ready to go.
Flags: needinfo?(jbuckley)
Flags: needinfo?(oremj)
:jrgm, I talked to RFK yesterday and we have a plan to get the testing done with SoftVision on time before the Firefox release. Here's the plan: 1. Point **FxA stage** to **Pushbox dev** (https://pushbox-default.dev.mozaws.net/) 2. Let SoftVision test the functionality. They would use a Firefox profile with FxA stage configured. Testing plan is available from :eoger already. 3. After testing is done clear all data on Pushbox and FxA Stage that is related to Pushbox. 4. SQS queues for account deletions only, so those should not affect the testing in any way. What do you think?
Flags: needinfo?(jrgm)
If the stage pushbox were up, I'd prefer to use that. But if needed, we can probably work out something like the above.
Flags: needinfo?(jrgm)
I can set up stage Monday morning, if that is not too late.
(In reply to Jeremy Orem [:oremj] from comment #11) > I can set up stage Monday morning, if that is not too late. Let's try that! :+1:
(In reply to Jeremy Orem [:oremj] from comment #13) > https://pushbox-default.stage.mozaws.net/ is UP. Could we please get v0.1.1 deployed in both stage and dev https://github.com/mozilla-services/pushbox/releases/tag/0.1.1 ?
Flags: needinfo?(oremj)
v0.1.1 has been deployed to stage. Dev is running latest.
Flags: needinfo?(oremj)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.