Commit graph

5739 commits

Author SHA1 Message Date
Joseph Schorr
c29f9ccc7f Fix TTL on heartbeat in etcd
Until now, once the heartbeat has expired, we would issue a TTL that is negative, which causes etcd to either raise an exception or simply ignore the expiration (depending on the version of etcd). This change ensures that once the key is expired, it is removed immediately via a set of a TTL of 0. Also adds tests for this case and the normal expiration case.
2016-08-03 11:15:03 -04:00
Joseph Schorr
974ab6c42c Add missing arg to validate call and add logging 2016-08-03 11:13:27 -04:00
josephschorr
83849f4320 Merge pull request #1660 from coreos-inc/storage-status
Add storage validation to the status endpoint
2016-08-03 11:09:48 -04:00
Joseph Schorr
770ac0016e Change validate method to work for all storages 2016-08-02 15:01:37 -04:00
josephschorr
b662fad09e Merge pull request #1670 from coreos-inc/blob-upload-logs
Add additional logs for invalid blob upload
2016-08-02 14:55:44 -04:00
josephschorr
7ca0ba882c Merge pull request #1673 from coreos-inc/build-logs-requires-cors
Add missing requires_cors to build log archive URL
2016-08-02 14:50:19 -04:00
Joseph Schorr
dc22b50b56 Add missing requires_cors to build log archive URL
Fixes #1671
2016-08-02 14:18:58 -04:00
Joseph Schorr
b1b0da7afd Fix off-by-one error in repo tags pagination
Fixes #1665
2016-08-02 14:17:33 -04:00
Joseph Schorr
a1a6647ea7 Add additional logs for invalid blob upload
Fixes #1668
2016-08-02 12:15:30 -04:00
Jake Moshenko
c3a401d960 Merge pull request #1669 from jakedt/gcrandomtest
Accidentally forgot a line in the gc worker.
2016-08-02 10:45:51 -04:00
Jake Moshenko
a113f548db Accidentally forgot a line in the gc worker. 2016-08-02 10:44:53 -04:00
Jake Moshenko
61bc358516 Merge pull request #1662 from jakedt/gcrandomtest
Add a test to make sure the random policy function runs.
2016-08-01 18:49:24 -04:00
Jake Moshenko
8ac88facab Add a test to make sure the random policy function runs. 2016-08-01 18:42:55 -04:00
Jake Moshenko
05e2773fa7 Get rid of remaining slow query for garbage collection. 2016-08-01 18:22:38 -04:00
josephschorr
b0bffe56ca Merge pull request #1638 from coreos-inc/swift-retry-seek
Add retry support to Swift
2016-08-01 14:04:54 -04:00
Joseph Schorr
c30b8dd1ad Add storage validation to the status endpoint
Fixes #1659
2016-08-01 13:02:26 -04:00
josephschorr
abce6a8dbc Merge pull request #1657 from coreos-inc/redis-reconnect
Change user events tutorial Redis error to be an inline box
2016-07-27 16:11:58 -07:00
josephschorr
98bfdc7244 Merge pull request #1656 from coreos-inc/stupid-ff
Fix enter key in password dialogs in Firefox
2016-07-27 16:11:51 -07:00
Joseph Schorr
cb9a99fc7b Change user events tutorial Redis error to be an inline box
Fixes #1653
2016-07-27 13:41:26 -07:00
Joseph Schorr
c60f441d87 Fix enter key in password dialogs in Firefox
Fixes #1655
2016-07-27 13:12:37 -07:00
josephschorr
d240ad9a2c Merge pull request #1652 from coreos-inc/custom-link
Add support for custom commit links in the build UI
2016-07-26 16:37:21 -07:00
Joseph Schorr
dcebd61dde Add support for custom commit links in the build UI
Fixes #1251
2016-07-26 16:06:41 -07:00
josephschorr
46a28617e8 Merge pull request #1651 from coreos-inc/fix-branches
Fix handling of multi-part branches in the build triggers
2016-07-26 16:00:21 -07:00
josephschorr
0162d3da30 Merge pull request #1645 from coreos-inc/gc-query-optimize
Optimize GC query for looking up deletable storages
2016-07-26 16:00:17 -07:00
Joseph Schorr
626042b10a Fix exception in Gitlab trigger when project is not present
Fixes #1629
2016-07-26 15:18:43 -07:00
Joseph Schorr
9e4f8cac03 Optimize GC query for looking up deletable storages 2016-07-26 13:47:15 -07:00
Joseph Schorr
06d52f2c83 Fix handling of multi-part branches in the build triggers
Fixes #1360
2016-07-26 13:41:13 -07:00
josephschorr
9d48bcd0f1 Merge pull request #1650 from coreos-inc/no-custom-get
We cannot use `customGET` for resources, as it builds an invalid URL
2016-07-26 11:51:23 -07:00
josephschorr
bb2edc5ac4 Merge pull request #1648 from coreos-inc/invalid-tag
Prevent invalid tags on builds
2016-07-26 11:47:32 -07:00
Joseph Schorr
7ac37a3813 We cannot use customGET for resources, as it builds an invalid URL 2016-07-26 11:46:58 -07:00
josephschorr
47b3c60b80 Merge pull request #1649 from coreos-inc/fix-resource-loading
Fix AsResource method loading
2016-07-26 11:33:10 -07:00
Joseph Schorr
6432f28df7 Fix AsResource method loading 2016-07-26 11:21:02 -07:00
josephschorr
98106be690 Merge pull request #1646 from coreos-inc/fresh-login-fix
Fixes for fresh login check in API
2016-07-26 11:14:23 -07:00
Joseph Schorr
a41ccf0356 Add retry support to Swift
Fixes #1636
2016-07-26 09:56:00 -07:00
Joseph Schorr
0fe3e6510a Prevent invalid tags on builds
Fixes #1632
2016-07-25 17:50:35 -07:00
Joseph Schorr
1655e79a74 Fixes for fresh login check in API
- Fixes enter key causing two requests
- Makes sure fresh login is handled for resources as well

Fixes #1625
2016-07-25 15:29:55 -07:00
josephschorr
640012103c Merge pull request #1639 from coreos-inc/swift-logging
Add better logging to blob uploads
2016-07-22 17:34:30 -04:00
josephschorr
062e0334b2 Merge pull request #1644 from coreos-inc/ldap-fix
Fix LDAP DN building for empty RDN list
2016-07-22 14:45:04 -04:00
Joseph Schorr
5de1e98d3c Fix LDAP DN building for empty RDN list 2016-07-22 14:40:53 -04:00
josephschorr
a8618b63bf Merge pull request #1642 from coreos-inc/setup-timeout
Fix decreased setup timeout on ephemeral build manager
2016-07-22 13:38:49 -04:00
Joseph Schorr
428a7cb435 Fix decreased setup timeout on ephemeral build manager 2016-07-22 13:35:38 -04:00
josephschorr
53e22b4afb Merge pull request #1641 from coreos-inc/fix-buildman-more
Another fix for the record keeping in buildman
2016-07-22 12:01:50 -04:00
Joseph Schorr
392242d20b Another fix for the record keeping in buildman
Adds some more mocked tests as well
2016-07-22 12:01:30 -04:00
josephschorr
040977a35f Merge pull request #1640 from coreos-inc/fix-buildman
Fix cross-manager handling of realm components
2016-07-21 15:53:21 -04:00
Joseph Schorr
68baa51d55 Fix cross-manager handling of realm components 2016-07-21 15:47:25 -04:00
josephschorr
cf630838f0 Merge pull request #1624 from coreos-inc/builder-cleanup-tests
Bug fixes, refactoring and "new" tests for the build manager
2016-07-21 13:50:41 -04:00
Joseph Schorr
cbf7c2bf44 Add better logging to blob uploads
Fixes #1635
2016-07-20 17:53:43 -04:00
Joseph Schorr
4420b1bac9 Add temporary back-compat shims for the build manager 2016-07-20 13:41:01 -04:00
Joseph Schorr
4d6f96cd6c Add missing pass keyword 2016-07-19 22:24:27 -04:00
josephschorr
2ba1f5435a Merge pull request #1633 from coreos-inc/duplicate-replication
Don't raise an error on duplicate placements
2016-07-19 21:55:12 -04:00