Commit graph

6686 commits

Author SHA1 Message Date
Jimmy Zelinskie
fae9538467 notifications: another switch to repo attrdict
Fixes #1919.
2016-10-01 16:44:19 -04:00
Brad Ison
d8aa22103e Add a dash to generated k8s job names 2016-10-01 14:02:28 -04:00
Jimmy Zelinskie
6359cb31da Merge pull request #1915 from coreos-inc/fixbuilder
buildman: spawn_notification w/ attrdict
2016-09-30 18:56:16 -04:00
Jimmy Zelinskie
9b67fff78f buildman: spawn_notification w/ attrdict 2016-09-30 18:54:09 -04:00
Joseph Schorr
a8bc4bf697 Send the correct phase when setting the phase from job_complete 2016-09-30 21:26:45 +02:00
Evan Cordell
07e23a34ed Fix metrics 2016-09-30 13:45:45 -04:00
Evan Cordell
68c5384473 Fixes prometheus start metric 2016-09-30 13:09:03 -04:00
josephschorr
2d9ce6dbe3 Merge pull request #1906 from coreos-inc/gitlab-bug
Gitlab trigger payload bug fixes
2016-09-30 17:52:49 +02:00
josephschorr
fa4588c7d9 Merge pull request #1908 from coreos-inc/fix-build-phase
Add missing call to set_phase when a build doesn't start
2016-09-30 17:52:39 +02:00
josephschorr
0c2b4ed9c1 Merge pull request #1897 from coreos-inc/hash-executor-whitelist
Add hash-based staged rollout to build executors
2016-09-30 17:52:19 +02:00
Joseph Schorr
f50bb8a1ce Add missing call to set_phase when a build doesn't start
This change fixes the build manager ephemeral executor to tell the overall build server to call set_phase when a build never starts. Before this change, we'd properly adjust the queue item, but not the repo build row or the logs, which is why users just saw "Preparing Build Node", with no indicating the node failed to start.

Fixes #1904
2016-09-30 14:54:49 +02:00
Joseph Schorr
26e8e241da Fix handling of Gitlab payloads with multiple commits
Gitlab sends multiple commits in the order reversed from Github. As this only broke recently, I suspect that they may have changed the ordering. This change makes the code order-agnostic to hopefully remove the problem going forward.

Fixes #1900
2016-09-30 12:14:32 +02:00
Joseph Schorr
c43173576a Fix Gitlab trigger payload bug when commits is empty
Gitlab will occasionally send trigger payloads with an empty commit list (and a null checkout_ha) for branches that have been deleted. Properly handle that case.
2016-09-30 12:03:08 +02:00
josephschorr
b4dd5ea4dd Merge pull request #1867 from coreos-inc/keystone-timeout
Add configurable timeout and debug flags to Keystone users
2016-09-29 23:01:02 +02:00
Joseph Schorr
51a519f653 Add hash-based staged rollout to build executors
Fixes #1882
2016-09-29 22:48:42 +02:00
josephschorr
e313d59138 Merge pull request #1894 from coreos-inc/dockerfile-upload-bugs
Fix bugs around reading in datafiles and Dockerfiles
2016-09-29 22:47:06 +02:00
josephschorr
684ace3b5a Merge pull request #1761 from coreos-inc/nginx-direct-download
Add feature flag to force all direct download URLs to be proxied
2016-09-29 22:46:57 +02:00
josephschorr
c4ad513834 Merge pull request #1898 from coreos-inc/build-logs-scope-apply
Add missing $scope.$apply in the build logs view
2016-09-29 22:44:42 +02:00
Evan Cordell
832ee89923 Add duration metric collector decorator (#1885)
Track time-to-start for builders
Track time-to-build for builders
Track ec2 builder fallbacks
Track build time
2016-09-29 15:44:06 -04:00
Jimmy Zelinskie
85d611e2fb Merge pull request #1903 from coreos-inc/authauth
rename auth.auth to auth.process
2016-09-29 15:29:42 -04:00
Jimmy Zelinskie
31b77cf232 rename auth.auth to auth.process
This fixes some ambiguity around imports.
2016-09-29 15:24:57 -04:00
Brad Ison
4460344764 Merge pull request #1901 from coreos-inc/mem-limit-dns-policy
k8s: Set memory limits and dnsPolicy
2016-09-29 14:52:48 -04:00
josephschorr
095572da91 Merge pull request #1899 from coreos-inc/angular-view-array-throbber
Show a throbber when the Angular view array still has hidden entries
2016-09-29 19:57:23 +02:00
Jimmy Zelinskie
dccb553834 Merge pull request #1892 from jzelinskie/fiximports
*: fix legacy imports
2016-09-29 13:31:06 -04:00
Brad Ison
593c3eb9c7 Set dnsPolicy to Default on k8s build jobs
This prevents the builder pods from having resolv.conf pointed at the
kube-dns service, which they won't have access to.
2016-09-29 11:22:11 -04:00
Brad Ison
631ad0422d Default to 4GB memory for k8s builders 2016-09-29 11:20:49 -04:00
Joseph Schorr
7380cf0ce0 Show a throbber when the Angular view array still has hidden entries
This provides slightly better UI feedback to the user that more logs are incoming

Fixes #1881
2016-09-29 16:34:26 +02:00
Joseph Schorr
3476829139 Add missing $scope.$apply in the build logs view
Without this, the logs appear to never load, until such time as any other digest cycle comes along

Fixes #1886
2016-09-29 16:23:11 +02:00
Joseph Schorr
ba0ecf03dd Fix bugs around reading in datafiles and Dockerfiles
We now properly try to read archives in all three formats. If none are valid, the dataFileService.readDataArrayAsPossibleArchive fails (as it should), and then the Dockerfile service will try to read the file directly as a Dockerfile.

Fixes #1889
Fixes #1891
2016-09-29 11:36:57 +02:00
josephschorr
9def2cf055 Merge pull request #1868 from coreos-inc/registry-health-check
Add a configuration flag for external TLS termination
2016-09-29 11:16:06 +02:00
Joseph Schorr
6ae3faf7fc Add explicit config parameter to the JWT auth methods 2016-09-29 11:15:20 +02:00
Joseph Schorr
460137779f Switch proxy resolver to use the local resolv.conf values 2016-09-29 11:13:41 +02:00
Joseph Schorr
dd2e086a20 Add feature flag to force all direct download URLs to be proxied
Fixes #1667
2016-09-29 11:13:41 +02:00
josephschorr
8ed4f1c3e4 Merge pull request #1828 from coreos-inc/label-builds
Add labeling of built manifests with their build IDs
2016-09-29 11:12:51 +02:00
Joseph Schorr
02b8afe127 Add labeling of built manifests with their build IDs
Also sends the digests to the notification

Fixes #593
2016-09-29 10:58:45 +02:00
Jimmy Zelinskie
fc7301be0d *: fix legacy imports
This change reorganizes imports and renames the legacy flask extensions.
2016-09-28 20:17:14 -04:00
Lucas Serven
20ecda965c Merge pull request #1890 from squat/fix_gitlab_spacing
frontend: fix gitlab icon spacing
2016-09-28 14:31:31 -07:00
Lucas Serven
10a44a9224 frontend: fix gitlab icon spacing
fixes: #1888
2016-09-28 14:06:10 -07:00
Jimmy Zelinskie
0d805905dc Merge pull request #1884 from jzelinskie/fixlicense
license: validate via key instance rather than PEM
2016-09-28 15:52:50 -04:00
Jimmy Zelinskie
ae16d24fd1 license: validate via key instance rather than PEM 2016-09-28 15:44:28 -04:00
josephschorr
2b00c644b5 Merge pull request #1880 from coreos-inc/fix-tests
Fix broken test after the recent 404 change
2016-09-27 17:43:25 +02:00
Joseph Schorr
fac9d9fc5d Fix broken test after the recent 404 change 2016-09-27 17:14:56 +02:00
josephschorr
e1771abe58 Merge pull request #739 from coreos-inc/license
Add license checking to Quay
2016-09-27 16:52:08 +02:00
josephschorr
b0efc2ef36 Merge pull request #1876 from coreos-inc/timeouts
Set the proxy_read_timeout for the builder web socket to be much higher
2016-09-27 16:34:58 +02:00
Jimmy Zelinskie
7563d045ba Merge pull request #1878 from coreos-inc/reqsfix
reqs: add namedlist
2016-09-27 10:20:15 -04:00
Jimmy Zelinskie
44d8cca813 reqs: add namedlist 2016-09-27 10:19:10 -04:00
Joseph Schorr
d34650976a Set the proxy_read_timeout for the builder web socket to be much higher
We rarely send data from the build manager to the builder, so this should make sure nginx doesn't accidentally kill the connection

Fixes #1782
2016-09-27 12:37:26 +02:00
josephschorr
4943ae3d32 Merge pull request #1857 from coreos-inc/better-404
Better 404 (and 403) pages
2016-09-27 11:12:54 +02:00
Joseph Schorr
476576bb70 Add license checking to Quay
Based off of mjibson's changes

Fixes #499
2016-09-27 10:31:34 +02:00
Jimmy Zelinskie
77c294bbb3 Merge pull request #1866 from jzelinskie/manifestlist-rebase
Decouple registry APIs from database schema
2016-09-26 21:33:18 -04:00