-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write Releases history to GCS (#910)
* Remove endpoints/code that will be dead when Releases history moves to GCS (as well as some existing dead code). * Execute history transactions in history table instead of returning queries. * Allow History class to be overridden. * Add new requirements, and pin urllib3 to a version that is compatible with the latest version of requests. * Store Releases history in GCS. * Add migration to remove releases history table. * Update tests. * Update UI to pull releases history from GCS. * Get rid of releases_history references from database management script. * Use separate buckets for nightly and non-nightly releases * Make release revert work again. * Improve FakeGCSHistory implementation to improve tests * Fix pretty printing of Release blobs/diffs. * Fix error when trying to load history for a release without any. * Make uwsgi file work with any combination of dev/prod buckets and creds/no creds. * Doc updates. * Reformat with black * Update nightly history bucket name. * Fix CSP policy to allow generic avatars from auth0. * Fix CSP policy to allow loading release history. * Improve release api tests that pull data from fake gcs history. * Remove migration script because we won't be removing it immediately.
- Loading branch information
Showing
37 changed files
with
1,393 additions
and
1,580 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.