Commit graph

6468 commits

Author SHA1 Message Date
Joseph Schorr
a34229780d Change robots manager to use a TableService for filtering and display
This allows for much larger lists of robots with a lower loss of performance, as well as better code for filtering, sorting on the name and teams columns.

Fixes #2121
2016-11-18 12:38:08 -05:00
Joseph Schorr
1b8820f2e7 Change the append build log method to execute the two calls via one pipelined connection
Should reduce the amount of packets used by the build manager

Reference: https://github.com/andymccurdy/redis-py#pipelines
2016-11-18 11:47:16 -05:00
Charlton Austin
96173485f8 Merge pull request #2041 from charltonaustin/add_cancel_to_building_build
Adding in the behavior for cancelling a build while it is being built.
2016-11-18 11:02:37 -05:00
Brad Ison
42807453f6 Merge pull request #2142 from coreos-inc/disable-core-dumps
Don't dump core when killing buildmanager
2016-11-17 14:42:38 -08:00
Brad Ison
31c6628e74 Don't dump core when killing buildmanager 2016-11-17 14:31:11 -08:00
josephschorr
ff14601669 Merge pull request #2139 from coreos-inc/oauth-reauth
Fix error displayed for OAuth if an existing token already matches scopes
2016-11-17 16:42:56 -05:00
Antoine Legrand
345443619f Merge pull request #2141 from coreos-inc/cut_changelog_2.0.1
Update changelog 2.0.1
2016-11-17 22:33:33 +01:00
ant31
21d45cff1e Update changelog 2.0.1 2016-11-17 22:32:06 +01:00
Charlton Austin
6aade74c36 Adding in the development ppa for nginx so we can have greater than 1.10.0 and don't break docker when they upgrade to go1.7. 2016-11-17 16:30:01 -05:00
Joseph Schorr
0e602efbf9 Fix error displayed for OAuth if an existing token already matches scopes
Before this change, the OAuth system would automatically redirect to display the code if the scopes requested were a subset of those already granted by the user. However, the missing process auth resulted in `get_authenticated_user` returning None, which broke the OAuth flow.

Fixes #2131
2016-11-17 16:21:26 -05:00
josephschorr
40a9e16eed Merge pull request #2138 from coreos-inc/labels
Fix 500 on get label endpoint and add a test
2016-11-17 16:05:12 -05:00
Joseph Schorr
0b549125d9 Fix 500 on get label endpoint and add a test
Fixes #2133
2016-11-17 14:55:14 -05:00
josephschorr
97c934a5a2 Merge pull request #2137 from coreos-inc/empty-default-branch
Make sure we never have a None default branch
2016-11-17 14:50:45 -05:00
Joseph Schorr
9600d3c2fc Make sure we never have a None default branch
Fixes #2134
2016-11-17 14:22:01 -05:00
Brad Ison
848a3d4cc3 Merge pull request #2136 from coreos-inc/apt-update
Bust apt cache 17NOV2016
2016-11-17 10:44:48 -08:00
Brad Ison
f9c6602ef6 Bust apt cache 17NOV2016 2016-11-17 10:43:53 -08:00
Brad Ison
e3dc60f6eb Merge pull request #2132 from coreos-inc/gcore
Dump core when killing buildmanager from monit
2016-11-17 10:41:09 -08:00
Brad Ison
ebf80bdd13 Dump core when killing buildmanager from monit 2016-11-17 10:20:03 -08:00
josephschorr
c4b73318c0 Merge pull request #2126 from coreos-inc/github-empty
Fix github trigger when submitting a webhook without a head_commit
2016-11-17 12:01:59 -05:00
josephschorr
08d33ad08c Merge pull request #2129 from coreos-inc/fix-gh-npe
Fix KeyError in Github trigger setup
2016-11-17 11:59:49 -05:00
Charlton Austin
fd7c566d31 Adding in cancel for a build that is building. 2016-11-16 17:40:24 -05:00
Joseph Schorr
8c78d967f8 Fix KeyError in Github trigger setup
Fixes #2128
2016-11-16 15:54:08 -05:00
Brad Ison
c4a1c3cfa7 Merge pull request #2123 from coreos-inc/builder-hostnames
Set builder hostnames to build UUID
2016-11-16 12:43:06 -08:00
Joseph Schorr
69e2cfad70 Fix github trigger when submitting a webhook without a head_commit
Fixes #2125
2016-11-16 14:14:17 -05:00
josephschorr
1346b7fb63 Merge pull request #2105 from coreos-inc/frack-swift
Fix swift exception reporting on deletion and add async chunk cleanup
2016-11-15 17:59:48 -05:00
Brad Ison
2c59bd9ee5 Set builder hostnames to build UUID 2016-11-15 12:35:48 -08:00
Joseph Schorr
5f99448adc Add a chunk cleanup queue for async GC of empty chunks
Instead of having the Swift storage engine try to delete the empty chunk(s) synchronously, we simply queue them and have a worker come along after 30s to delete the empty chunks. This has a few key benefits: it is async (doesn't slow down the push code), helps deal with Swift's eventual consistency (less retries necessary) and is generic for other storage engines if/when they need this as well
2016-11-15 15:07:41 -05:00
Charlton Austin
ce51406e81 Merge pull request #2117 from charltonaustin/fix_builder_logging
Updating the log-2-logentries to a new repo.
2016-11-15 13:07:47 -05:00
Charlton Austin
211b3f160c Updating the log-2-logentries to a new repo. 2016-11-15 13:06:00 -05:00
josephschorr
e57eece6c1 Merge pull request #2100 from coreos-inc/report-marketo
Report the user's name and company to Marketo
2016-11-14 23:37:37 -05:00
Joseph Schorr
1a61ef4e04 Report the user's name and company to Marketo
Also fixes the API to report the other changes (username and email) as well
2016-11-14 17:34:50 -05:00
josephschorr
860942ece1 Merge pull request #2099 from coreos-inc/debug-to-info
Change incomplete logs to warning so they show up in log entries
2016-11-14 14:07:53 -05:00
Joseph Schorr
30df40bc04 Change incomplete logs to warning so they show up in log entries 2016-11-14 13:35:49 -05:00
josephschorr
cd3907b281 Merge pull request #2110 from coreos-inc/org-delete-bug
Fix bugs due to conflicting operation names in the API
2016-11-14 11:59:23 -05:00
Charlton Austin
cfac195d43 Merge pull request #2116 from charltonaustin/fixing_remote_calls
Fixing the name of the remote call.
2016-11-14 10:51:06 -05:00
Charlton Austin
f6e2bfc00d Fixing the name of the remote call. 2016-11-14 10:05:35 -05:00
Joseph Schorr
59cb6bd216 Make sure to not log exceptions if Swift deletes fail 2016-11-11 14:17:32 -05:00
josephschorr
74e54bdbbb Merge pull request #1872 from coreos-inc/qe-torrent
Add QE setup tool support for BitTorrent downloads
2016-11-11 13:56:22 -05:00
Jake Moshenko
10255d4052 Merge pull request #2109 from jakedt/collapsemigrations
Collapse all migrations prior to 2.0.0 into one.
2016-11-10 17:35:07 -05:00
Jake Moshenko
b5834a8a66 Collapse all migrations prior to 2.0.0 into one. 2016-11-10 17:31:00 -05:00
josephschorr
833a4a8a06 Merge pull request #2112 from coreos-inc/plans-page-updates
Adjustments to QE plans page for lead-gen feedback
2016-11-10 17:30:06 -05:00
josephschorr
38ee1d0d2a Merge pull request #2111 from coreos-inc/ldap-trace
Change LDAP errors into debug statements to reduce log clutter
2016-11-10 17:11:19 -05:00
Joseph Schorr
1405b6b95c Adjustments to QE plans page for lead-gen feedback
- Adds a start trial button "above the fold" on the right hand side
- Adds back the dialog explaining the redirect to tectonic accounts
2016-11-10 17:10:08 -05:00
Joseph Schorr
536809a992 Change LDAP errors into debug statements to reduce log clutter
Fixes #2083
2016-11-10 16:39:26 -05:00
josephschorr
a4fce1b102 Merge pull request #2107 from coreos-inc/switch-tests
Add tests for the Swift storage layer using a fake swift engine
2016-11-10 16:04:13 -05:00
Joseph Schorr
3d221bcdd7 Add tests for the Swift storage layer using a fake swift engine 2016-11-10 15:43:03 -05:00
Joseph Schorr
aa2704acc7 Add a test for operation name collisions and fix the one additional collision found 2016-11-10 15:38:27 -05:00
Joseph Schorr
932fa56227 Fix name collision between the two organization delete calls
Fixes #2104

The collision was causing the frontend to try to call the *superuser* method (in local, where superuser is enabled), but on prod (where it isn't), it was calling the normal method, which takes a different parameter name
2016-11-10 15:28:20 -05:00
josephschorr
767baa5c8d Merge pull request #2108 from coreos-inc/start-build-robot
Fix cannot-use-robot for private base image bug in build dialog
2016-11-10 15:10:09 -05:00
Joseph Schorr
3193f32a95 Fix cannot-use-robot for private base image bug in build dialog
There are a number of small state fixes in this PR, which result in the build dialog being properly reset state-wise each time it is displayed, thus fixing the state inconsistency.

Fixes #2106
2016-11-10 14:47:25 -05:00