Commit graph

8028 commits

Author SHA1 Message Date
Evan Cordell
1bc9534ecf Merge pull request #2759 from ecordell/cherrypick-2.4.0
Cherrypick 2.4.0
2017-07-10 11:33:55 -04:00
EvB
6e2fad2b9c refactor(queueworker): remove unused function and import
Remove `_close_db_handle` method from `QueueWorker` class. Nowhere
calls this method, so it is safe to remove. This function was the
only place using the `db` imported from `data.model`, so we can
remove that import as well.

Testing: need to look into it
2017-07-10 10:49:39 -04:00
Evan Cordell
939ddfd1d7 Merge v2.4.0-release into cherrypick-2.4.0 2017-07-10 10:25:18 -04:00
Charlton Austin
897a091692 style(data+endpoints): ran yapf
### Description of Changes

ran yapf for the branch

[TESTING->locally using docker compose]

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

## 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-10 09:46:02 -04:00
Charlton Austin
fc4b3642d3 refactor(endpoints/api/tag): refactor code for v22
this decouples the database models from the api

[TESTING->locally with docker compose]

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

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-07-10 09:40:33 -04:00
Joseph Schorr
661c0e6432 Add superuser configuration for action log rotation 2017-07-10 13:22:29 +03:00
Joseph Schorr
176c26e3f7 Add config validation for action log archiving 2017-07-10 13:09:33 +03:00
Joseph Schorr
fa21e42ffb Add default location for action log archiving
Prevents the logs from being written to the preferred storage, which means they will jump around
2017-07-10 12:37:44 +03:00
Erica
a3afd37c41 Merge pull request #2755 from coreos-inc/ericavonb/QUAY-635/v22-util-tufmetadata
refactor(util/tufmetadata/test): move app test to gc suite
2017-07-07 15:30:30 -04:00
EvB
ccca0c9655 refactor(util/tufmetadata/test): move app test to gc suite 2017-07-07 15:14:14 -04:00
Jimmy Zelinskie
2a20807e8a Merge pull request #2691 from coreos-inc/alegrand/QUAY-577/init_script_uses_absolute_paths
Use $QUAYPATH and $QUAYDIR in conf and init files
2017-07-07 13:00:40 -04:00
Antoine Legrand
48c1cf7c61 Use splited Dockerfile 2017-07-07 11:46:47 +02:00
Evan Cordell
8af741fb49 Merge pull request #2750 from ecordell/ecordell/QUAY-695/fix-message-create
Mark fields as required on globalmessages API so that they are
2017-07-05 18:38:33 -04:00
Evan Cordell
d4ef594c13 Mark fields as required on globalmessages API so that they are
properly checked when the request comes in
2017-07-05 18:16:55 -04:00
Evan Cordell
b6476ea9f4 Merge pull request #2752 from ecordell/ecordell/QUAY-696/fix-markdown-editors
Switch to new markdown editor everywhere
2017-07-05 18:01:12 -04:00
Evan Cordell
3e3e25bb5a Switch to new markdown editor everywhere 2017-07-05 17:35:26 -04:00
Antoine Legrand
cdb3722c17 Use $QUAYPATH and $QUAYDIR in conf and init files 2017-07-05 16:23:54 +02:00
Antoine Legrand
334a08d90b Merge pull request #2714 from coreos-inc/alegrand/QUAY-670/push_ci-images_prodrepo
Push CI images to quay/quay
2017-06-30 17:51:49 +02:00
josephschorr
5f5b1ae6ad Merge pull request #2735 from coreos-inc/dockerignore
Add conf/stack and static/build to .dockerignore
2017-06-29 23:20:42 +03:00
josephschorr
89ab94ffbb Merge pull request #2720 from coreos-inc/gc-opt
GC optimizations
2017-06-29 20:55:14 +03:00
josephschorr
a96555511b Merge pull request #2743 from coreos-inc/joseph.schorr/QUAY-663/gcworker-interface
Change GC worker to use new data interface style
2017-06-29 20:54:04 +03:00
Jimmy Zelinskie
ee30191d88 Merge pull request #2747 from jzelinskie/v1-interfaces
endpoints.v1: new fs layout for data interface
2017-06-29 13:49:14 -04:00
Jimmy Zelinskie
92e978fa0f endpoints.v2: yapf format 2017-06-29 13:24:00 -04:00
Jimmy Zelinskie
ecd5996386 endpoints.v2: new fs layout for data interface
Fixes QUAY-656
2017-06-29 13:19:53 -04:00
Charlton Austin
570c72db17 Merge pull request #2733 from charltonaustin/create_data_interface_for_subsystem_api/tag_632
refactor(data/model/tag_interface): adding in new support for tags api
2017-06-29 11:48:26 -04:00
Charlton Austin
fdb63632b0 Merge branch 'master' into create_data_interface_for_subsystem_api/tag_632 2017-06-29 10:33:15 -04:00
Antoine Legrand
121ef26f31 Push CI images to quay/quay 2017-06-29 14:51:36 +02:00
Antoine Legrand
13002abfd6 Merge pull request #2745 from coreos-inc/fix-missed-file
Fix file I forgot to update
2017-06-29 11:55:34 +02:00
Joseph Schorr
fcaf309ce6 Fix file I forgot to update 2017-06-29 10:50:59 +03:00
josephschorr
0e702c72f2 Merge pull request #2739 from coreos-inc/joseph.schorr/QUAY-664/verbs-interface-refactor
Refactor Verbs model definitions to match new style
2017-06-29 10:07:36 +03:00
Joseph Schorr
d07cc91dc6 yapf 2017-06-29 09:57:39 +03:00
josephschorr
04114cf105 Merge pull request #2742 from coreos-inc/joseph.schorr/QUAY-665/securityworker-interface
Data interface for securityworker
2017-06-29 09:56:48 +03:00
Joseph Schorr
27ed3bedcc yapf 2017-06-29 09:43:04 +03:00
Joseph Schorr
138881dab8 yapf format 2017-06-29 09:40:39 +03:00
Joseph Schorr
76c9339453 Rename GC worker package to gc 2017-06-29 09:37:32 +03:00
josephschorr
f05b6d8c52 Merge pull request #2744 from ecordell/hotfix/kubernetes-secret
Revert to old secret handling, fix license loading
2017-06-29 09:29:10 +03:00
Evan Cordell
d64b8b1fcf Revert to old secret handling, fix license loading 2017-06-28 23:15:14 -04:00
Charlton Austin
400b346953 test(endpoints/api): add in test for tag
this adds tests for the pro oci model

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

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
2017-06-28 15:14:03 -04:00
Jimmy Zelinskie
80c9b611a4 Merge pull request #2730 from jzelinskie/v2-interface
endpoints.v2: new fs layout for data interface
2017-06-28 13:51:43 -04:00
Jimmy Zelinskie
5a651544bc Merge pull request #2716 from jzelinskie/secscan-catch-all
util.secscan.api: add catch all for API failures
2017-06-28 13:42:33 -04:00
Jimmy Zelinskie
1d2640e012 util.secscan.fake: add test for unexpected status 2017-06-28 13:40:04 -04:00
Joseph Schorr
420a5e5a3a Change GC worker to use data interface 2017-06-28 15:13:11 +03:00
Joseph Schorr
38f1752a2d Move gcworker into its own package 2017-06-28 15:04:10 +03:00
Joseph Schorr
1ddb09ac11 Change security worker to use data interface 2017-06-28 14:50:52 +03:00
Evan Cordell
66737ce4ae Merge pull request #2741 from ecordell/hotfix/kubernetes-secret
Update the expected response layout for kubernetes config
2017-06-28 07:30:38 -04:00
Evan Cordell
ef459a2d18 Update the expected response layout for kubernetes config 2017-06-28 07:28:57 -04:00
Joseph Schorr
ec81148d73 Add super basic security worker test 2017-06-28 14:03:57 +03:00
Joseph Schorr
8b4958dbcc Move verbs model into new file structure 2017-06-28 13:05:02 +03:00
Joseph Schorr
8ac20edfb2 Move verbs security tests into pytest style 2017-06-28 12:48:02 +03:00
Joseph Schorr
2f018046ec Move conduct_call into a common test lib for all endpoints 2017-06-28 11:38:36 +03:00