Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Steve Jalim a8ed6ae9c4
Add pre-commit hook for including the MPLv2 in all source code files (#10617)
* 10614: Add pre-commit hook for including the MPLv2

Adds to Python, JS, SCSS, Jinja HTML, Fluent templates and shell scripts

Note that the order of application of the hooks is important - we want to add a missing license before we check the formatting of files

* 10614: Update MPLv2 comments on all templates to match standard format produced by pre-commit hook

* Updates existing MPLv2 text to use a https URL
* Amend a handful of Fluent templates that used a token instead of the string "Mozilla" - this standardised things; translation was not used or needed
* Add missing MPLv2 where needed
* Update three tests that regressed with these changes, above

* 10614: Update pre-commit config to not add MPL to JS libraries; Remove MPL from the four files which should not have had it
2021-10-22 13:09:44 +01:00
Paul McLanahan 1ecb3c0807 Move lang files into the data directory 2020-09-09 12:21:13 -04:00
Paul McLanahan d0fb5d4daa Use a single docker image for all deployments
Have the app download the right data on startup. If that fails it won't
start the app and so the deployment will fail, but the existing
deployment will stay up.
2020-09-09 12:21:13 -04:00
Paul McLanahan 17af0b5cc1 Pull proper content cards during docker build (#6743)
Also pull proper database during build for staging.
2019-01-23 09:50:13 -06:00
Josh Mize 8b9cf3aa12
Separate stage from prod deployment (#6675)
Only push to single stage region (oregon-b)
2019-01-15 10:03:16 -06:00
Paul McLanahan 1f3ca1bf81 Upload and distribute database updates via S3 (#5334)
A.K.A The Sqlitening!

This removes bedrock's depenence on a database server and moves to
downloading pre-built sqlite database files from s3 on a schedule. There
is also a clock process that will update and upload such a database on a
schedule as well. This should mean more stability, speed, and
reliability for bedrock, as well as quicker development due to easy to
download pre-populated databases.
2018-03-29 14:24:22 -05:00