Joseph Schorr
71f63791ce
Re-encrypt fields encrypted using the older key in 3.1.X
...
Fixes https://jira.coreos.com/browse/QUAY-2225
2019-12-13 13:55:18 -05:00
Joseph Schorr
c6c6c2be56
Disconnect Alembic connection to ensure it re-connects after backfill
2019-12-13 13:54:44 -05:00
Joseph Schorr
bb47490701
Remove AccessToken delete now that it has been run on production
2019-12-13 13:49:56 -05:00
Jimmy Zelinskie
3ee4c33e89
Merge pull request #22 from jzelinskie/prometheus-redo
...
PROJQUAY-13 - Rework SLIs and migrate to Prometheus PushGateway
2019-12-05 15:09:04 -05:00
Jimmy Zelinskie
7687e16fc1
conf: replace prometheus aggregator w/ pushgateway
...
This change replaces the homegrown Prometheus aggregation process that
runs inside the container with the upstream Prometheus PushGateway.
2019-12-05 12:05:43 -05:00
Jimmy Zelinskie
5b3db536ef
util/metrics: remove metricqueue abstraction
...
This change replaces the metricqueue library with a native Prometheus
client implementation with the intention to aggregated results with the
Prometheus PushGateway.
This change also adds instrumentation for greenlet context switches.
2019-12-05 12:05:43 -05:00
Joseph Schorr
cff4771b75
Break the encrypted token backfill into its own phase
...
This will ensure that if we have an issue, we don't also have to contend with a schema change
2019-12-04 11:43:11 -05:00
Joseph Schorr
6affc2f1f4
Fix out of bounds on GC worker when there are no namespaces defined
...
Fixes https://issues.jboss.org/projects/PROJQUAY/issues/PROJQUAY-37
2019-12-02 18:00:37 -05:00
Tom McKay
e6ae94db8b
'make black' results
2019-12-02 12:23:08 -05:00
Joseph Schorr
203d62eb2f
Merge pull request #44 from josephschorr/noop-fix
...
Change is_testing to a method under DataTester
2019-11-26 11:37:21 -07:00
Joseph Schorr
0841ba8259
Change is_testing to a method under DataTester
...
The no-op-er appears to return different results for abstractproperty's under different versions of Python, and this was therefore breaking the checks. We change to a method to ensure we always get a boolean response.
2019-11-26 11:38:57 -05:00
Joseph Schorr
d3c770fd0d
Fix clearing of names on access tokens
...
This fixes the logic on the token_name lookup and only applies it to non-temporary tokens
2019-11-25 14:51:59 -05:00
Tom McKay
36d0aa4fbb
PROJQUAY-12 - remove mirror/rules API
2019-11-20 09:30:52 -05:00
Joseph Schorr
a54fb1b23a
Fix the encrypted token migration issue encountered on HEAD
...
This change ensures there is better messaging around the encrypted token migration, including a new phase to use for new installations, and fixes an issue encountered when running database migrations for new installations
2019-11-14 14:50:47 -05:00
Jimmy Zelinskie
9c0dd3b722
initial import for Open Source 🎉
2019-11-12 11:09:47 -05:00