* 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>
* 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>
* Add checks to verify built docker image
TMP: rename dependencies.txt
* Remove unused and uninstalled package
* More efficient multi stage docker buildTMP: reorganize docker more efficiently
* Organize dockerfile
- split base and olympia stages
- use heredocs for multiline RUN steps
- move file copy to source layer
- merge run steps where possible
* TMP: fix invalid bash syntax in dockerfile
* TMP: add comments to dockerfile
* Generate version.json as part of docker build:
- remove git dependency from version.json generation
- use only version.json file for sentry release with soft/hard fail
* TMP: remove invalid comment
* TMP: Prefix branch tags
* TMP: re-comment the ci build in circle
* Fix extract locales in CI
- reset current git config values after pushing
- only use git commands in push script
- fix typo in CI config
* Commit with flags instead of seting global configs.
* Reusable Docker run action (Bunch of other stuff here to make it work)
* extract locales
* remove extraneous log
---------
Co-authored-by: Mozilla Add-ons Robot <addons-dev-automation+github@mozilla.com>
* Remove guarded_addons directory and associated code, migrate existing
Files are now all kept in the same directory, and download_file() view
controls access.
This removes the code that was moving the files to the guarded_addons
directory, fallback code to deal with files not yet moved, and the
crons that ensures files were moved if needed.
* Remove old setting and obsolete test
* Add migration command
* Fix test/codestyle
* Unused imports
* Remove guarded-addons directory from git
* Tweaks and tests
* Compute ETA with full elapsed time
* Simplify command: remove Entry namedtuple, passing file/dir names instead
* Remove puente: add necessary babel configuration instead
* Update comment
* We don't actually need lstrip, and it breaks a bunch of our templates
* Comment why we are doing this
* Remove obsolete test (the setting is gone, this is done in babel.cfg now)
* Add tests. We don't actually need the silent bit
* Set ORGANIZATION, limit paths to src/olympia
* Use DB sessions; store refresh tokens in session; use for frontend auth too
* add clearsessions to cron
* return ERROR_SIGNATURE_EXPIRED for every scenerio that can be expiring sessions
* fix tests after default_fxa_login_url removed
* Return ERROR_AUTHENTICATION_EXPIRED for SessionIDAuthentication problems
* Replace legacy assets cachebusting by staticfiles's ManifestStaticFilesStorage from django
* Run tests without ManifestStaticFilesStorage
* Fix tests
* Reformatting
* It's fine, since collectstatic also copies the original
* Register static directly
* Reformat comment
* drop AppSupport model
* in language-tools api, application param only mandatory for appversion, and ignored otherwise
* Delete 0029_delete_appsupport.py
* Notify developers again about pending rejection as they get close to the deadline
Only one notification is sent per "batch" of pending rejections, until a new
delayed rejection is scheduled.
* Make user_factory() less likely to hit username/email collisions
* Add crontab (and remove old one about info requests)
* Update logger name
* Implement delayed review rejections in reviewer tools
This removes the ability to have an info request with a deadline, and
instead makes it possible to delay review rejections when using the
reject multiple versions action.
* Notify developers if their submission is pending review after a few hours
* Make default None to make migration backwards-compatible and add test on notified_about_auto_approval_delay
* Move migration