Commit graph

3976 commits

Author SHA1 Message Date
Joseph Schorr
05c9a5f7b8 Fix the skip branch logic 2015-09-22 14:44:49 -04:00
Joseph Schorr
97a478e05b Add a test for missing optional fields in prepare trigger 2015-09-22 14:27:29 -04:00
josephschorr
8e4a3af590 Merge pull request #524 from coreos-inc/dictwrapperfix
Fix dict wrapper access to not raise an exception
2015-09-22 14:19:31 -04:00
Joseph Schorr
40f3b7137d Fix dict wrapper access to not raise an exception 2015-09-22 14:18:37 -04:00
josephschorr
4a79311d26 Merge pull request #523 from coreos-inc/bttrigger2
Add schema validation to all external trigger types
2015-09-22 13:36:46 -04:00
Joseph Schorr
272326ae18 Add schema validation to all external trigger types 2015-09-21 17:46:50 -04:00
josephschorr
e008f48f36 Merge pull request #522 from coreos-inc/privcheck
Fix repo count checker when the user service has not yet loaded
2015-09-21 16:53:12 -04:00
Joseph Schorr
bf578420f0 Fix import of Github migration 2015-09-21 16:52:56 -04:00
Joseph Schorr
1f90aa5b59 Fix repo count checker when the user service has not yet loaded
Fixes #521
2015-09-21 16:42:16 -04:00
josephschorr
a47bfa201e Merge pull request #478 from coreos-inc/btparsing
Start refactoring of the trigger system:
2015-09-21 16:37:54 -04:00
Joseph Schorr
49b575afb6 Start refactoring of the trigger system:
- Move each trigger handler into its own file
- Add dictionary helper classes for easier reading and writing of dict-based data
- Extract the web hook payload -> internal representation building for each trigger system
- Add tests for this transformation
- Remove support for Github archived-based building
2015-09-21 16:36:48 -04:00
josephschorr
e97f14e512 Merge pull request #520 from coreos-inc/movefix
Add a threshold for considering moves of tags
2015-09-21 16:28:30 -04:00
Joseph Schorr
fee72225cf Add a threshold for considering moves of tags
Fixes #516
2015-09-21 16:14:37 -04:00
josephschorr
d606a42e39 Merge pull request #507 from coreos-inc/buildmsg
Better UX for build logs when switching focus back to tab
2015-09-21 13:42:19 -04:00
Matt Jibson
41ac84a026 Merge pull request #519 from mjibson/no-put-in-trans
Move the metric put outside the transaction
2015-09-21 13:39:04 -04:00
Matt Jibson
4da66c1219 Move the metric put outside the transaction 2015-09-21 13:37:49 -04:00
Jimmy Zelinskie
2ff77df946 Merge pull request #518 from jzelinskie/fixmysqlssl
move UseThenDisconnect into queueworker
2015-09-21 13:35:35 -04:00
Jimmy Zelinskie
7c82e0b5b3 move UseThenDisconnect into queueworker
This makes the tests pass while maintaining the same behavior.
2015-09-21 13:34:12 -04:00
Jimmy Zelinskie
0de17627d5 Merge pull request #517 from jzelinskie/fixmysqlssl
close connections after getting queue metrics
2015-09-21 12:28:23 -04:00
Jimmy Zelinskie
98d6262a7f close connections after getting queue metrics 2015-09-21 12:21:39 -04:00
Joseph Schorr
c11124d821 Merge branch 'master' of github.com:coreos-inc/quay 2015-09-19 14:34:52 -04:00
Joseph Schorr
1c6933a28d Fix Github build trigger migration 2015-09-19 14:34:46 -04:00
Matt Jibson
aa8ee4db64 Merge pull request #515 from mjibson/monitor-build-node-queue
Monitor queue adds and EC2 node starts
2015-09-18 16:28:46 -04:00
Matt Jibson
bba1557437 Monitor queue adds and EC2 node starts
fixes #157
see #304
2015-09-18 16:21:16 -04:00
Jake Moshenko
a887125c3f Fixes for backfill_aggregate_size script. 2015-09-17 15:47:18 -04:00
Jake Moshenko
8baacd2741 Migrate old data to new locations, read only new. 2015-09-17 15:47:13 -04:00
Joseph Schorr
4829ec51ca Better UX for build logs when switching focus back to tab
Currently, build logs are not loaded when the tab is in the background. However, when switching back to the tab, there is no indication that logs have not loaded, and it can take up to the poll duration (5s) before we even start loading the logs. This change adds a message displayed for the user before the logs start to load to indicate they are being refreshed and also *immediately* starts the loading of the logs when the tab is made visible.

Fixes #501
2015-09-17 14:24:34 -04:00
josephschorr
0316f6e471 Merge pull request #505 from coreos-inc/fixmhead
Fix migration head
2015-09-16 18:35:31 -04:00
Joseph Schorr
b807accfb5 Fix migration head 2015-09-16 18:34:42 -04:00
josephschorr
217779273f Merge pull request #503 from coreos-inc/ghmigrate
Migrate all GitHub build triggers to use deploy keys
2015-09-16 18:32:32 -04:00
Silas Sewell
4b03abbe9f Merge pull request #504 from coreos-inc/fix-build
Make GIT_HEAD work on quay
2015-09-16 18:26:48 -04:00
Silas Sewell
3f4361bb17 Make GIT_HEAD work on quay 2015-09-16 18:25:01 -04:00
Joseph Schorr
eff9ff7a66 Migrate all GitHub build triggers to use deploy keys 2015-09-16 17:55:51 -04:00
josephschorr
c801965626 Merge pull request #492 from coreos-inc/nofreelunch
UI and API fixes for disallowing private repo count abuse
2015-09-16 17:53:11 -04:00
Silas Sewell
0a48f1cfb0 Merge pull request #495 from coreos-inc/quay-versions
Add quay releases
2015-09-16 17:29:58 -04:00
Silas Sewell
386c017d99 Add quay releases 2015-09-16 17:18:46 -04:00
josephschorr
b91660f87b Merge pull request #497 from coreos-inc/delrepofix
Fix interleaved repo delete with RAC via a transaction
2015-09-16 16:53:15 -04:00
Joseph Schorr
30379a2dd8 Fix interleaved repo delete with RAC via a transaction
The RepositoryActionCount table can have entries added while a repository deletion is in progress. We now perform the repository deletion under a transaction and explicitly test for RAC entries in the deletion unit test (which doesn't test interleaving, but it was missing this check).

Fixes #494
2015-09-16 15:34:32 -04:00
Joseph Schorr
2739cf47ba Prevent change visibility of a repo in the UI when disallowed by billing plan
Fixes #486

- Extracts out the check plan logic and UI from the new repo page into its own directive (repo-count-checker)
- Adds the new directive to the repo settings panel
- Some additional UI improvements for the repo settings panel
2015-09-16 14:00:06 -04:00
Silas Sewell
d6f4e0c7b2 Merge pull request #489 from coreos-inc/sample-mixpanel-events
Sample pull_repo events
2015-09-15 19:08:02 -04:00
Silas Sewell
a8183ed87b Sample pull_repo events 2015-09-15 18:41:48 -04:00
Jake Moshenko
68deff0e24 Merge pull request #490 from coreos-inc/migratebackp2
Missed one place to duplicate metadata.
2015-09-15 16:49:39 -04:00
Jake Moshenko
502f5e4c8a Missed one place to duplicate metadata. 2015-09-15 15:57:55 -04:00
Joseph Schorr
fbfe7fdb54 Make change repo visibility and create repo raise a 402 when applicable
We now check the user or org's subscription plan and raise a 402 if the user attempts to create/make a repo private over their limit
2015-09-15 14:33:35 -04:00
Jake Moshenko
666907f03e Merge pull request #488 from coreos-inc/migrateback
Migrate data back to Image in preparation for v2
2015-09-15 14:32:02 -04:00
Jake Moshenko
b56de3355c Migrate data back to Image in preparation for v2 2015-09-15 11:53:31 -04:00
josephschorr
abb1486a96 Merge pull request #484 from coreos-inc/swifturl
Add support for direct download in Swift storage engine
2015-09-14 18:08:50 -04:00
Joseph Schorr
6f2271d0ae Add support for direct download in Swift storage engine
Fixes #483
2015-09-14 18:00:03 -04:00
josephschorr
dac5d54a5e Merge pull request #482 from coreos-inc/builderrview
Fix auto-open of build error command
2015-09-14 16:18:10 -04:00
Matt Jibson
d36c7dcb4b Merge pull request #425 from mjibson/monitor-queue-size
Monitor various sizes for queues
2015-09-14 16:13:31 -04:00