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

73 Коммитов

Автор SHA1 Сообщение Дата
Ryan Johnson 8f6f3f6995
fix issues with Celery task routes 2023-12-19 16:17:08 -08:00
Ryan Johnson 059c721137
remove k8s folder and run-post-deploy script 2023-07-10 15:41:25 -07:00
smith 6d208c50c7 Add l10n process to bootstrap script 2023-01-27 16:16:43 -05:00
Tasos Katsoulas 2c9f489870 Update wsgi config 2022-12-13 10:55:35 +02:00
Smith Ellis 8e57e3164d Remove es7/elasticsearch7 references
Replace es7 and ES7 references with es and ES
Make name in docker version agnostic
Replace name in circle
2022-12-01 21:14:25 +00:00
Ryan Johnson a7c58ce082
add pre-rendering of svelte templates to run-bootstrap.sh (#5195) 2022-10-14 16:53:50 +03:00
André Honeiser 38899e7c01
fix: fix gunicorn access-logformat 2022-10-04 16:08:28 +02:00
Ryan Johnson e6491b8a41
upgrade to celery 5.2.7 (#5168) 2022-06-28 07:29:25 -07:00
Leo McArdle 2cf010fa88 make WikiDocumentSignalsTests.test_revision_delete pass again (#5013) 2022-03-10 15:08:23 +02:00
Leo McArdle 66b7e69388 fix community template tests (#5010)
allow passing arbitrary arguments to run-unit-tests.sh
2022-03-10 15:08:23 +02:00
Tasos Katsoulas 69f6e630f4 Use refresh=True for ES7 when testing.
* remove self.refresh from tests
2022-03-10 15:08:23 +02:00
Leo McArdle edeac90096 update run-unit-tests.sh to work with unittest, ensure env vars are correct 2022-03-10 15:08:23 +02:00
Tasos Katsoulas ba78e9cd2a Use gunicorn for local dev.
* Run black on project.
2022-03-10 15:05:17 +02:00
Leo McArdle 4ca5c12e4a replace nunjucks_precompile with webpack loader (#4981)
https://github.com/mozilla/sumo/issues/972
2022-01-06 16:55:27 +00:00
Tasos Katsoulas f3243afdae Temp fix for make init 2022-01-05 17:59:08 +02:00
Leo McArdle 97a7514315 fix tests to work with webpack
run tests through webpack first, then mocha
reorganise webpack config files
2021-12-17 12:51:02 +00:00
Leo McArdle b8b9fa6c26
Merge branch 'main' into webpack 2021-12-16 12:44:14 +00:00
Leo McArdle e25c549972 fix webpack imports in mocha tests
https://github.com/mozilla/sumo-project/issues/895
2021-12-16 11:23:17 +00:00
Leo McArdle 2871ee4cb4
move build pipeline to circleci (#4923) 2021-12-07 11:57:44 +00:00
Tasos Katsoulas e05e941589
Update packages.
* Drop selenium related packages
* Add pip-tools in dev
2021-11-11 18:23:47 +02:00
Leo McArdle 3134dec758
Merge branch 'master' into webpack 2021-10-18 13:56:24 +01:00
Leo McArdle 01fc86cd07 lint with pre-commit in circleci 2021-09-06 13:02:02 +01:00
Tasos Katsoulas b0d964df79
Fix make init command 2021-07-13 16:58:33 +03:00
Leo McArdle 2428573b49
add support for synonyms and character mappings to search (#4666)
- store synonyms in files
- add reload synonyms option to es7_init
- use non-oss kibana and elasticsearch images to get the reload analyzer api
- add command to create an elastic cloud bundle out of synonym files
- protect specific stop-word containing phrases from tokenization with char mappings
- add docs

https://github.com/mozilla/sumo-project/issues/721
https://github.com/mozilla/sumo-project/issues/748
2021-03-01 18:01:44 +00:00
Leo McArdle a5855b3de3
modify django-pipeline config to apply babel to select files (#4682)
update babel to latest version

https://github.com/mozilla/sumo-project/issues/768
2021-02-17 14:41:53 +00:00
Leo McArdle ac667d2056
use aliases to simplify deploying changes to indices (#4646)
https://github.com/mozilla/sumo-project/issues/627
2021-02-10 12:03:35 +00:00
Leo McArdle 0609352eb7
add signals for all search v2 document types (#4590) 2020-11-30 14:50:25 +00:00
Tasos Katsoulas 7c0b630f1f
Revert "Add a second queue for FxA." 2020-07-09 13:55:39 +03:00
Tasos Katsoulas 3ba280d875 Add a second queue for FxA.
* Use -Ofair scheduling.
2020-07-08 18:46:08 +03:00
Tasos Katsoulas 9df88d808a Remove PREFETCH celery setting. 2020-07-08 15:12:26 +03:00
Tasos Katsoulas 202f201719 Use a single queue in celery. 2020-07-08 14:44:53 +03:00
Tasos Katsoulas cd720b9cd9 Add fxa queue together with the default. 2020-07-08 13:59:34 +03:00
Tasos Katsoulas 5efd023ac8 Remove priorities from celery.
* Import all tasks from users.
* Do not check task status.
2020-07-07 18:20:01 +03:00
Leo McArdle 1683716e19
celery: add fxa queue and priority to default queue (#4415) 2020-07-01 11:37:06 +01:00
Ben Spaulding eb274de12b Upgrade to Celery 4.4 2020-06-01 12:53:32 +03:00
Ben Spaulding 7a9979b781 Remove django-celery dependency
It is not Django 2.2 compatible, and it is not needed by celery
any more anyway.

mozilla/sumo-project#136
2020-05-29 16:29:53 +03:00
Tasos Katsoulas 301d6f4a7a
Add scss files into static. 2019-12-10 17:30:37 +02:00
Tasos Katsoulas 45efcaacbd
Fix make init to work with npm. 2019-11-28 17:38:57 +02:00
Tasos Katsoulas 22230f7a86
Remove bower from the project. 2019-11-27 16:49:52 +02:00
Keegan Ferrando 6e79cbabbb Changing Jenkins slack channel 2019-06-10 12:59:40 -07:00
Keegan Ferrando fd06278c65 Updating slack-notify.sh to the new SRE channel 2019-05-13 13:38:49 -07:00
eziegenhorn b689ff4b3f Switch moz.works domains to mozit.cloud 2019-05-10 18:12:08 -05:00
Michael Cranston 3e35508dca Update "init" task and disable collectstatic on each page refresh
* Update run-bootstrap to run collectstatic
* Pass PIPELINE_COLLECTOR_ENABLED env var to Pipeline config
2019-05-08 08:49:15 -04:00
Josh Mize a1c1527906 Run migrations in one deployment per branch to fix #3506 2019-03-28 11:57:36 -04:00
Dave Parfitt 18924cad34 update jenkins link to use vpn 2019-03-04 16:21:58 -05:00
Paul McLanahan 3d3a14ed70 Move to a single Dockerfile and docker-compose file
Use make to create easy to use and remember commands for building
and running things.

* Remove Jenkins IRC notifications
* Update the README for the new commands
2018-11-12 11:22:56 -05:00
Paul McLanahan 5ecd144800 Ignore slack errors during deployment (#3390)
Fix #3389
2018-10-26 14:13:13 -05:00
Paul McLanahan 383b126ccc
Fix issues associated with broken bower config
Also add a run-dev.sh script to ensure DB is ready
2018-10-23 14:43:13 -04:00
Paul McLanahan 8bf5f39c5e Use urlwait for circle tests
Hopefully fix the "database has gone away" problems.
2018-10-22 12:11:38 -04:00
Paul McLanahan bc56fb837a
Add slack notifications to Jenkins build job 2018-07-27 14:34:17 -04:00