Closed Bug 1133932 Opened 10 years ago Closed 10 years ago

coordinated update to aus4 dev/stage/prod environments

Categories

(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bhearsum, Assigned: nmaul)

References

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/586] )

This push includes changes to the wsgi app set-up that require some tweaks to the Apache config in addition to the regular code push, so I haven't landed that part yet to avoid breaking dev. Can we organize a time where I can do this + have the config changes needed around the same time? Once we see that it's working in dev we can push to stage and prod immediately afterwards. This is what we're using in our Vagrant environment for aus4-admin now: DocumentRoot /home/vagrant/project/ui/dist/ # Rewrite virtual paths in the angular app to the index page # so that refreshes/linking works, while leaving real files # such as the js/css alone. <Directory /home/vagrant/project/ui/dist> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^ index.html [L] </Directory> WSGIScriptAlias /api /home/vagrant/project/admin.wsgi The key change being that the UI is hosted out of / and the wsgi app out of /api. (Used to be /ui and /). It doesn't matter to me whether we use the above config or something else.
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/586]
Assignee: server-ops-webops → nmaul
Coordinated and completed via Hello. :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Thanks Jake, everything is still looking good!
Status: RESOLVED → VERIFIED
Sorry to re-open after verifying, but I just noticed that the aus4 prod app isn't updated (just aus4-admin in prod). Eg, I see that files such as /data/www/aus4.mozilla.org/app/auslib/web/views/client.py on aus1.webapp.phx1.mozilla.com don't match the checked in versions: https://github.com/mozilla/balrog/blob/master/auslib/web/views/client.py
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Yep, you're right... we forgot to deploy on aus4's user-facing half. Done.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Looks good now, thanks!
Status: RESOLVED → VERIFIED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.