Commit graph

6686 commits

Author SHA1 Message Date
Jimmy Zelinskie
3aa9d33492 buildcomponent: remove unnecessary closure 2016-11-22 16:48:42 -05:00
Jimmy Zelinskie
c2b52c6efc wrap build_complete coroutine in callback
Coroutines cannot be called as callbacks for Futures like the one
returned by our RPC call. We work around this by creating a normal
function that schedules the coroutine.
2016-11-22 16:48:42 -05:00
josephschorr
9cc78f314d Merge pull request #2152 from coreos-inc/pull-log
Add tracking of pulled tag/digest to logs
2016-11-22 13:57:10 -05:00
josephschorr
d88b662365 Merge pull request #2153 from coreos-inc/fix-gauges
Fix Set calls to gauges
2016-11-21 20:30:48 -05:00
josephschorr
9090aed19e Merge pull request #2155 from coreos-inc/remove-prod-bar
Change header back to white and remove CoreOS product bar
2016-11-21 16:09:08 -05:00
Joseph Schorr
24f16fc0d2 Change header back to white and remove CoreOS product bar
As the product bar has been removed from the other CoreOS sites, change back to match
2016-11-21 15:50:11 -05:00
Joseph Schorr
964b1013d9 Make receipt filenames include date information
Fixes #1997
2016-11-21 15:35:56 -05:00
Joseph Schorr
e29cb34336 Fix Set calls to gauges
Fixes #2150

The proper function is `Set` (not `set`), which was causing these gauges to not report to Prometheus
2016-11-21 15:27:17 -05:00
Jimmy Zelinskie
498d7fc15e Merge pull request #2143 from jakedt/makebuildmanasyncagain
Make buildman async again
2016-11-21 15:08:06 -05:00
josephschorr
d675e5eaa2 Merge pull request #2145 from coreos-inc/robot-performance
Change robots manager to use a TableService for filtering and display
2016-11-21 14:55:12 -05:00
Joseph Schorr
080802ed2d Add tracking of pulled tag/digest to logs
Fixes #2148
2016-11-21 12:29:59 -05:00
Charlton Austin
ee99929f56 Merge pull request #2127 from charltonaustin/ui_cancel_anytime
Adding in UI for cancel anytime.
2016-11-21 11:19:39 -05:00
Charlton Austin
2fe74e4057 Adding in UI for cancel anytime. 2016-11-21 10:58:32 -05:00
Jake Moshenko
f0ef4347e5 Make the redis client use AsyncWrapper and coroutines
Change all log messages to be synchronous
2016-11-18 15:59:14 -05:00
Jake Moshenko
5935e93eb8 Linter fixes. 2016-11-18 15:56:08 -05:00
Charlton Austin
f6fe9023a4 Merge pull request #2140 from charltonaustin/upgrade_nginx
Adding in development ppa for nginx
2016-11-18 14:51:02 -05:00
josephschorr
ac626bbd31 Merge pull request #2146 from coreos-inc/remove-email
Remove deprecated email flag from generated `docker login` commands
2016-11-18 12:50:55 -05:00
Joseph Schorr
d6723927f7 Remove deprecated email flag from generated docker login commands
Fixes #2135
2016-11-18 12:41:00 -05:00
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