-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider a build/deploy step for optimization of front-end #392
Comments
Our current deploy script is, per :whd, a cronjob on ops jenkins infra that runs something along the lines of
in the context of the gh-pages branch of telemetry-dashboard. Adding a (And per an earlier comment in that same bug, we already have it on S3 fronted by Cloudfront) |
It would be valuable to have deploy/packing steps easily reproducible. |
A few attempts were made by myself and then other higher priority work came along. I will attempt to outline what was attempted and what didn't work for future efforts.
https://github.com/mozilla/telemetry-dashboard/compare/grunt For now I will un-assign myself. |
The follow are some ideas around optimizing the front-end, all of which depend on a custom build and deploy steps.
If we had a script to build the front-end assets (HTML, JS, CSS) would enable us to:
Currently I believe Github pages is our deploy script. It's not clear to me if there is a benefit to switching but it would be possibly and not difficult to use AWS to host a static site which can be scripted with
awscli
. This can then be wired up with TravisCI or CircleCI to build/deploy to AWS upon new commits to master. Some of the features of moving to AWS would be the site is hosted on S3, frontend by Cloudfront CDN and invalidated upon deploy, and served over https.The text was updated successfully, but these errors were encountered: