Kevin Meinhardt
a83aeadd6f
Better defaults for make setup with better testing of python. ( #22804 )
2024-11-04 14:08:08 +01:00
Mathieu Pillard
24dd2ee5c2
Make assets step in Dockerfile depend on locales, for jsi18n files ( #22717 )
...
* Make assets step in Dockerfile depend on locales, for jsi18n files
* Only depend on locales stage for files we need to copy over
2024-10-09 15:05:31 +02:00
Kevin Meinhardt
2a64618e9d
Enable Production Mode via DEBUG or docker-compose.ci.yml ( #22613 )
...
* TMP: clean bake metadata file
* SPLIT: Log UWSGI in docker compose console
Remove PID
* SPLIT: Raise error in update_assets if file not found
* Enable Production mode via DEBUG and or docker-compose.ci.yml
* Option 1: Load node_modules from statifiles directory
* Option 2: Load node_modules via django-node-asset
* separate ./static from locally built static files
* Add docs for static file serving
* TMP: fixes from code review
* Update docs/topics/development/static-files.md
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
* TMP: update docs
---------
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2024-09-05 16:20:03 +02:00
Kevin Meinhardt
d396ce433c
Use Bakefile to build image ( #22611 )
...
* Use Bakefile to build image
* TMP: better tests and lint fix
2024-09-03 15:24:54 +02:00
Kevin Meinhardt
d7b21e18e6
Remove supervisor and enable more efficient container startup ( #22592 )
...
* TMP: add http server to expose version endpoint
* Use data volume for mounting repository files
* Use watchmedo directly from docker to run celery
* TMP: fix test
* TMP: remove data_olympia volume on ci yml
* TMP: add settings djanmgo modeul to celery worker.
* TMP: remove references to ssupervisor
* Update docs/topics/development/building_and_running_services.md
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
---------
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2024-08-27 12:42:10 +02:00
Kevin Meinhardt
84d514e744
Remove version.json file from host environment ( #22571 )
...
* Remove version.json file from host environment
* tmp: fix
* TMP: fix tests
* TMP: remove unecessary test
* TMP: fix test for get_version_json
* TMP: fixy
2024-08-21 10:33:31 +02:00
Kevin Meinhardt
59156f8674
Stability fixes for docker compose lifecycle ( #22378 )
...
* Stability fixes for docker compose lifecycle
* Update docs/topics/development/setup_and_configuration.md
Co-authored-by: Andrew Williamson <awilliamson@mozilla.com>
* TMP: response to comments
* Update docs/topics/development/setup_and_configuration.md
Co-authored-by: William Durand <will+git@drnd.me>
---------
Co-authored-by: Andrew Williamson <awilliamson@mozilla.com>
Co-authored-by: William Durand <will+git@drnd.me>
2024-06-21 14:22:42 +02:00
Andreas Wagner
2bbb6ff52c
Hard-code super user name and email ( #22296 )
2024-06-05 18:20:59 +02:00
Kevin Meinhardt
299dc4922b
More efficient utilization of github action cache ( #22314 )
...
* More efficient utilization of github action cache
* Set cache from/to only in CI
* Update Dockerfile
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
---------
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2024-06-05 14:48:42 +02:00
Kevin Meinhardt
f4bdaec5bb
Add configurable compose file to make up flow ( #22299 )
2024-05-30 13:02:26 +02:00
Kevin Meinhardt
ddade2a62b
Fix Docker build and add concurrency limit ( #22273 )
...
* Fix Docker build:
- get correct Image ID from the build.
- set docker tag correctly supporting tag and digest
- add concurrency limit to github action ci jobs
* TMP: remove easy way to get build digest as it is not really intended for local dev
* Update .circleci/config.yml
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
* TMP: recomment build
---------
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2024-05-24 10:09:09 +02:00
Kevin Meinhardt
d3b3a50ac5
Docker digest ( #22260 )
...
* Refactor unified setup script to manage .env and version.json files in readable python
* Support using digest to run docker image
* Update scripts/setup.py
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
* TMP: build image
* TMP: better logs
---------
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2024-05-21 13:02:19 +02:00
Kevin Meinhardt
c4f4ba6487
"Fix makefile env variables definition" ( #22246 )
...
* TMP: refactor buildx bake definition and test
* TMP: better initialization and organization of make file env vars (docker relevant +)
* TMP: cleaner code.
* TMP: remove build
2024-05-16 14:49:37 +02:00
Mathieu Pillard
37f65c46b8
Remove WIP performance tests - they were never used and are outdated ( #20471 )
2023-03-15 11:40:37 +01:00
Bob Silverberg
1cce5a3b5d
Configure addons-server to start sending data to GA4 ( #20346 )
2023-02-15 10:59:32 -05:00
Andrew Williamson
682938effc
rm /pages/appversions/ ( #20073 )
...
* rm /pages/appversions/
* update test; rm unused imports; rm amo/feeds.py
* more test variable changes
2022-12-12 10:04:19 +00:00
Andrew Williamson
80f526e840
run pyupgrade ( #17603 )
...
* let pyupgrade work as command line tool
* run_pyupgrade and black on src/ tests/ services/
* delete the comment as absolute_import is gone
2021-08-05 15:00:44 +01:00
renovate[bot]
4ec1a2d7a1
Lock file maintenance ( #17155 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: William Durand <will+git@drnd.me>
2021-05-26 11:28:06 +02:00
William Durand
e61d8b0de7
"Black" all the things! ( #16123 )
2020-12-09 19:24:56 +01:00
William Durand
85cb8010cb
Fix wrong date on stats overview page ( #15604 )
2020-10-01 16:19:06 +02:00
William Durand
c2e92e7482
Introduce Prettier ( #15131 )
2020-08-03 14:55:07 +02:00
William Durand
1d37fe4122
Fix dates in stats export links (csv/json) ( #15086 )
2020-07-30 14:00:07 +02:00
William Durand
9a129eb7a4
Update logging config ( #14310 )
2020-05-19 16:54:15 +02:00
William Durand
13a828e338
Use log.warning instead of log.warn ( #14102 )
2020-04-29 18:34:32 +02:00
dbxnr
0c845636a9
Remove code for ui tests
2020-01-13 23:15:17 +00:00
jrbenny35
bde4aaf1f9
Add a fixture override for integration tests.
2019-11-25 14:56:31 -06:00
jrbenny35
4bbb377b12
Fix formatting.
2019-11-25 11:48:44 -06:00
jrbenny35
3ff3cfc8e2
Remove baseurl command line flag from integration tests.
2019-11-25 11:27:04 -06:00
William Durand
31bc14b5bf
Bump docker-compose version to 2.4 ( #12689 )
2019-10-22 18:07:01 +02:00
jrbenny35
91313be0e3
Update addon creation for new heros.
2019-10-01 18:01:47 -05:00
Benjamin Forehand Jr
0fd505395f
Updated upload UI steps.
2019-08-22 12:30:56 -05:00
Benjamin Forehand Jr
64d342624f
Changed try/except logic.
2019-08-21 19:27:27 -05:00
Benjamin Forehand Jr
5efbf88655
Small logic change.
2019-08-21 17:18:20 -05:00
Benjamin Forehand Jr
7f2a9dc8a5
Updated logic and potential permissions fix. ( #12153 )
2019-08-20 13:30:48 -05:00
Benjamin Forehand Jr
8de22454c5
Update blank search test. ( #12089 )
2019-08-09 14:55:09 -05:00
Benjamin Forehand Jr
fa6aed7253
Add python script for fxa email gen. ( #11954 )
...
* Add python script for fxa email gen.
2019-07-30 09:38:50 -05:00
Benjamin Forehand Jr
5c7c263d8d
Fix linter error for uitests. ( #11923 )
2019-07-24 13:08:41 -05:00
Benjamin Forehand Jr
62a0781769
Fix special char search test. ( #11854 )
...
* Fix special char search test.
* Fixed test logic.
* More fixes.
* flake8 fixes
* Updates.
* Fix flake9.
2019-07-18 14:51:16 -05:00
Benjamin Forehand Jr
17d4886b14
Move some config to env variable for integration tests. ( #11836 )
2019-07-15 13:47:47 -05:00
Benjamin Forehand Jr
1532cb6059
Disable frontend related tests. ( #11831 )
2019-07-13 18:20:20 -05:00
Benjamin Forehand Jr
71e85599d2
Initial attempt at fixing integration-tests. ( #11811 )
...
* Initial attempt at fixing integration-tests.
* Updates.
* Update logic for devhub install test.
* Updates for codestyle.
* More flake8 fixes.
* Added comment.
2019-07-12 10:09:13 -05:00
Benjamin Forehand Jr
dcf5e891db
Fix for 'Server Error' with integration-tests on CI. ( #11169 )
...
* Fix for 'Server Error' with integration-tests on CI.
* Fix for codestyle.
2019-04-08 13:35:15 -04:00
Benjamin Forehand Jr
187b7c2a89
Remove pytest reruns from integration-tests. ( #11139 )
...
* Remove pytest reruns from integration-tests.
* Updated submission logic.
* Fixes for codestyle.
2019-04-04 14:09:00 -04:00
Benjamin Forehand Jr
241c59e2d5
Update docs for new procedures regarding integration testing. ( #11076 )
...
* Update docs for new procedures regarding integration testing.
* Add section for setup.
* Add setup command to makefile-os.
2019-04-01 20:45:40 -04:00
Benjamin Forehand Jr
901ad6a5f8
Update docker-compose file to use latest addons-frontend image. Added new homepage test. ( #11050 )
2019-04-01 10:12:28 -04:00
Benjamin Forehand Jr
9f8f44dfe6
Add devhub upload, approve, install ( #11021 )
...
* Add devhub upload, approve, install integration-test
2019-03-28 09:05:41 -04:00
Benjamin Forehand Jr
d1504e4ee3
Try using newer circleci image for integration-test job. ( #11007 )
...
* Try using newer circleci image for integration-test job.
2019-03-25 19:35:50 -04:00
Benjamin Forehand Jr
a5e921077c
[UI-Tests] Add preference that prints console logs to geckodriver log. ( #10958 )
2019-03-18 22:42:04 -04:00
Benjamin Forehand Jr
2d99d6f3da
Fix ui tests for new nginx config ( #10888 )
...
* Fixes for Ui-tests using new nginx config.
2019-03-11 19:20:06 -04:00
Christopher Grebs
7b34c1b7d1
Fix addons-frontend running as default frontend. ( #10692 )
...
The frontend runs quite nicely with the changes from addons-nginx container but the initial page load runs into some wacky connection errors.
https://www.irccloud.com/pastebin/gTMteTUf/
This change fixes this.
Fixes https://github.com/mozilla/addons-server/issues/10855
2019-03-05 13:23:56 +01:00