Commit graph

8021 commits

Author SHA1 Message Date
Joseph Schorr
be62ede87c Pass DB connection pooling arg 2017-07-27 14:22:44 -04:00
josephschorr
16f67ff8f8 Merge pull request #2834 from coreos-inc/connection-pooling
Enable connection pooling in the registry
2017-07-27 14:01:41 -04:00
Joseph Schorr
f79542fefb Enable connection pooling in the registry 2017-07-27 14:00:23 -04:00
Antoine Legrand
67e7e8274b Merge pull request #2833 from coreos-inc/fix_s3_storage_test
Print only first line of s3 error message
2017-07-27 18:18:58 +02:00
Antoine Legrand
e656f460eb Merge pull request #2832 from coreos-inc/build_image_without_cache
Build-ci image without using docker cache
2017-07-27 18:08:06 +02:00
Antoine Legrand
2d60ad71b6 Print only first line of s3 error message 2017-07-27 18:05:06 +02:00
Antoine Legrand
a5031f3362 Build-ci image without using docker cache 2017-07-27 17:42:23 +02:00
Charlton Austin
78f77017e8 Merge pull request #2829 from charltonaustin/fix_bug_with_v2_2
fix(error with repository): removed a field that is not being used
2017-07-27 10:40:43 -04:00
Charlton Austin
11b1dca994 fix(error with repository): removed a field that is not being used
this causes an exception when getting releases

Issue: https://coreosdev.atlassian.net/browse/QUAY-753

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-27 10:20:55 -04:00
Antoine Legrand
af9a6caa49 Merge pull request #2713 from coreos-inc/alegrand/QUAY-569/show-code-coverage
add coverage report
2017-07-27 12:41:19 +02:00
Antoine Legrand
9fd455de28 show migration head 2017-07-27 12:39:15 +02:00
Antoine Legrand
851686dd0b add coverage report 2017-07-27 12:12:56 +02:00
Jake Moshenko
90ed0c28be Merge pull request #2828 from jakedt/attribs
Use a more pro-active approach to identify an uninitialized db proxy.
2017-07-26 18:25:10 -04:00
Jake Moshenko
e9a5fdbad1 Use a more pro-active approach to identify an uninitialized db proxy. 2017-07-26 18:23:05 -04:00
josephschorr
d2dc3c40bf Merge pull request #2827 from coreos-inc/remove-validate-storage
Remove unnecessary bucket validation call in storage
2017-07-26 18:17:16 -04:00
Joseph Schorr
cdee387d3f Remove unnecessary bucket validation call in storage 2017-07-26 18:14:53 -04:00
josephschorr
cc79a2a3db Merge pull request #2825 from coreos-inc/remove-db-config
Remove the configure call in UseThenDisconnect
2017-07-26 14:16:35 -04:00
Joseph Schorr
50c144a7c4 Remove the configure call in UseThenDisconnect
This hopefully avoids us creating secondary connections
2017-07-26 14:14:52 -04:00
Jimmy Zelinskie
155cb65f7d endpoints.appr: move to new v22 format 2017-07-26 11:02:44 -07:00
Jake Moshenko
c8cdd39d04 Merge pull request #2823 from jakedt/buildhilarity
Release database connections after updating build statuses.
2017-07-26 12:45:47 -04:00
Jake Moshenko
0011ddda16 Release database connections after updating build statuses. 2017-07-26 12:29:51 -04:00
josephschorr
543bf21e6b Merge pull request #2824 from coreos-inc/close-build-connection
Close the database connection after operations in buildman
2017-07-26 12:19:04 -04:00
Joseph Schorr
9febb539a7 Close the database connection after operations in buildman
Also adds a *temporary* hack to prevent this from breaking tests
2017-07-26 12:10:48 -04:00
Alec Merdler
27e3dd4f7c Merge pull request #2822 from alecmerdler/fix-statusbar
Fix Quay.io Status Bar Visibility
2017-07-26 11:40:38 -04:00
josephschorr
a7de27fe14 Merge pull request #2821 from coreos-inc/fix-expiration
Reporting the expiration got lost in a rebase
2017-07-26 11:39:34 -04:00
Joseph Schorr
f0b932559d Reporting the expiration got lost in a rebase
This ensure the tag expiration shows up in the UI
2017-07-26 11:29:21 -04:00
Alec Merdler
25f514a03d fixed status bar not showing 2017-07-26 11:24:12 -04:00
Charlton Austin
7d5e4dd6d3 refactor(endpoints/api/robot*): adding in database interface
this creates a layer of abstraction so we can move to v2-2 easier

Issue: https://coreosdev.atlassian.net/browse/QUAY-630

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-26 10:21:09 -04:00
josephschorr
c271b1f386 Merge pull request #2793 from coreos-inc/notifications-refactor
Refactor the notifications system into its own package and add much better testing
2017-07-25 17:32:14 -04:00
Joseph Schorr
48c79003c6 yap 2017-07-25 17:18:06 -04:00
Joseph Schorr
e7d6e60d97 Update for merge and make additional interface improvements 2017-07-25 17:00:08 -04:00
Joseph Schorr
543cba352b Add end-to-end notification worker tests for all notification methods 2017-07-25 17:00:07 -04:00
Joseph Schorr
348b544f23 Notification method tests 2017-07-25 17:00:07 -04:00
Joseph Schorr
5e5e191f87 Merge tests into a single suite 2017-07-25 17:00:07 -04:00
Joseph Schorr
b1d5990ab3 Make sure event_names returns *all* events 2017-07-25 17:00:07 -04:00
Joseph Schorr
875a303762 Add missing build event template 2017-07-25 17:00:07 -04:00
Joseph Schorr
be49dda756 Change test to use pytest 2017-07-25 17:00:07 -04:00
Joseph Schorr
e7fec9dd20 Change get_sample_data API to not require the custom notification tuple 2017-07-25 17:00:07 -04:00
Joseph Schorr
e7dbc4ee91 Move notification helper code into the root module 2017-07-25 17:00:07 -04:00
Joseph Schorr
5739e2ef4d Move notifications test into notifications package 2017-07-25 17:00:06 -04:00
Joseph Schorr
ce56031846 Move notifications into its own package 2017-07-25 17:00:06 -04:00
Charlton Austin
be206a8b88 Merge pull request #2814 from charltonaustin/create_data_interface_for_subsystem_api/repository_633
refactor(endpoints/api/repository*): added in pre_oci_model abstraction
2017-07-25 13:59:52 -04:00
Evan Cordell
ac4ab92f03 Merge pull request #2802 from ecordell/QUAY-644/endpoints-api-init-v22
add pre-oci models for endpoints/api/__init__.py
2017-07-25 13:57:21 -04:00
josephschorr
635d8888ff Merge pull request #2819 from coreos-inc/joseph.schorr/QUAY-621/suconfig-api-data-model
Change suconfig to use a data model interface
2017-07-24 18:40:49 -04:00
Joseph Schorr
72a9652d0f Change suconfig to use a data model interface 2017-07-24 16:30:44 -04:00
josephschorr
074b4e4981 Merge pull request #2810 from coreos-inc/joseph.schorr/QUAY-747/common-data-interface
Convert endpoints/common into using a data interface
2017-07-24 15:59:13 -04:00
Charlton Austin
8f1200b00d style(data, endpoints, test): ran yapf against changed files
### Description of Changes

Issue: https://coreosdev.atlassian.net/browse/QUAY-633

## Reviewer Checklist

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-24 11:05:15 -04:00
Charlton Austin
9e1106f164 refactor(endpoints/api/repository*): added in pre_oci_model abstraction
this is a part of getting ready for oci stuff

[TESTING->using new PR stack]

Issue: https://coreosdev.atlassian.net/browse/QUAY-633

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-24 11:03:03 -04:00
Joseph Schorr
95850b6148 Switch image API to use a data interface 2017-07-21 14:38:31 -04:00
Joseph Schorr
9b22afd8fd wip 2017-07-21 13:09:21 -04:00