Joseph Schorr
f9f60b9faf
Fix some issues around state in the build managers
...
- Make sure to cleanup the job if the executor could not be started
- Change the setup leeway to further ensure there isn't any crossover between the queue item timing out and the cleanup of the jobs
- Make the lock used for marking jobs as internal error extremely long, but also based on the execution ID. This should ensure we don't get duplicates while allowing different executions to be handled properly.
- Make sure to invoke the callback update for the queue before we run off to etcd; should reduce certain timeouts
Hopefully Fixes #1836
2016-09-15 14:37:45 -04:00
josephschorr
949ceae4eb
Merge pull request #1822 from coreos-inc/run-build-admin
...
Allow repository admins to invoke build triggers manually
2016-09-14 14:43:53 -04:00
josephschorr
58641cbf4f
Merge pull request #1833 from coreos-inc/fix-tar-gz
...
Fix tar-gz reading of Dockerfiles
2016-09-13 20:24:11 -04:00
Brad Ison
76f689ee72
Merge pull request #1827 from coreos-inc/builder-dns
...
Use Google public DNS in builder VMs
2016-09-13 14:06:06 -04:00
Joseph Schorr
5e94f97a42
Fix tar-gz reading of Dockerfiles
...
- Fixes TAR to actually use data
- Fixes buffers for Gunzip to be a proper ArrayBufferView
Fixes #1832
2016-09-13 11:34:35 -04:00
josephschorr
640925e47c
Merge pull request #1829 from coreos-inc/timeline-fix
...
Fix timeline's delete-then-tag display bug
2016-09-12 15:51:14 -04:00
Joseph Schorr
13bcba4206
Fix timeline's delete-then-tag display bug
...
Currently, if a tag is deleted and then assigned later, it shows up as a move, rather than a delete+create. This is due to the threshold check being backwards.
Fixes #1824
2016-09-12 15:46:23 -04:00
Brad Ison
a331eecd0f
Use Google public DNS in builder VMs
2016-09-12 15:05:13 -04:00
josephschorr
c027e6cc27
Merge pull request #1825 from coreos-inc/qemu-labels
...
Add labels to the QEMU image with the CoreOS channel and version
2016-09-12 13:38:37 -04:00
Joseph Schorr
b5f9666a03
Add labels to the QEMU image with the CoreOS channel and version
2016-09-12 13:01:59 -04:00
Jake Moshenko
14795f0f62
Merge pull request #1820 from jakedt/barelyoptimize
...
Remove a join to slightly optimize the gc query.
2016-09-09 17:21:51 -04:00
Joseph Schorr
bda0311dbe
Allow build triggers to be invoked by any repo admin
...
Fixes #1079
2016-09-09 17:21:14 -04:00
Jimmy Zelinskie
ef22b4497a
Merge pull request #1821 from jzelinskie/changelog1.16.7
...
cut 1.17.0
2016-09-09 17:18:02 -04:00
Jimmy Zelinskie
b4697f2b74
cut release v1.17.0
2016-09-09 17:15:40 -04:00
Joseph Schorr
3f2447d831
Make the frontend agnostic to why a trigger can be run manually
2016-09-09 16:54:46 -04:00
Jake Moshenko
91963c17a0
Remove a join to slightly optimize the gc query.
2016-09-09 15:40:40 -04:00
Jimmy Zelinskie
ea8feab063
changelog: cut v1.16.6
2016-09-09 14:50:42 -04:00
josephschorr
b979f99964
Merge pull request #1818 from coreos-inc/handle-key-error
...
Handle KeyError nicer in _get_parent_image
2016-09-09 13:42:52 -04:00
Joseph Schorr
3d542b5e93
Handle KeyError nicer in _get_parent_image
...
Fixes #1810
2016-09-09 13:34:56 -04:00
Brad Ison
96d358f526
Merge pull request #1816 from coreos-inc/kube-job-pull
...
Always pull images in kubernetes build jobs
2016-09-08 15:43:28 -04:00
Brad Ison
2a1cf2bfd1
Always pull latest image in k8s builds
2016-09-08 15:00:12 -04:00
josephschorr
401143484e
Merge pull request #1815 from coreos-inc/ui-bugs
...
Ui bugs
2016-09-08 14:33:54 -04:00
Joseph Schorr
a7ff08458d
Fix small NPE
...
Fixes #1811
2016-09-08 14:32:49 -04:00
Joseph Schorr
42d4f4d851
Fix entity for robot creation
...
Fixes #1809
2016-09-08 14:21:18 -04:00
Jimmy Zelinskie
e13e62ab7b
Merge pull request #1814 from jzelinskie/dockerfile-bandaid
...
dockerfile: move comment onto newline
2016-09-08 14:18:18 -04:00
Jimmy Zelinskie
5188b9854d
dockerfile: move comment onto newline
...
comments on ADD commands break Docker!
2016-09-08 13:52:39 -04:00
Jimmy Zelinskie
887a14b366
Merge pull request #1812 from jzelinskie/logrotate-bandaid
...
init: add logrotate.conf
2016-09-08 13:44:01 -04:00
Jimmy Zelinskie
e54d729a84
init: add logrotate.conf
...
logrotate was broken due to phusion/baseimage-docker#338
This changes logrotate to use the root user which has the proper
permissions on /var/log.
2016-09-08 13:27:37 -04:00
Jimmy Zelinskie
4896677282
Merge pull request #1807 from jzelinskie/phusion-upstream
...
migrate back to phusion/baseimage upstream
2016-09-07 16:06:22 -04:00
Jimmy Zelinskie
80e75c5ca8
migrate back to phusion/baseimage upstream
2016-09-07 15:55:58 -04:00
Jake Moshenko
4d11e9b4f5
Merge pull request #1772 from jakedt/alternategc
...
Alternategc
2016-09-07 13:41:30 -04:00
Jake Moshenko
d56f570d3b
Improve the imagetree test.
2016-09-07 13:25:19 -04:00
Jake Moshenko
cf83c9a16a
Improve the garbage collection tests.
2016-09-07 13:25:19 -04:00
Jake Moshenko
584a5a7ddd
Reduce database bandwidth by tracking gc candidate images.
2016-09-07 13:25:19 -04:00
Jake Moshenko
0815f6b6c4
Fix indentation for DB queries.
2016-09-07 10:48:58 -04:00
Jake Moshenko
1d8b72235a
Add a helper method to Image to parse ancestor string.
2016-09-07 10:48:58 -04:00
josephschorr
cd8b45e25b
Merge pull request #1754 from coreos-inc/team-add-perms
...
Better UI and permissions handling for robots and teams
2016-09-06 17:21:19 -04:00
josephschorr
0a7949fc10
Merge pull request #1802 from coreos-inc/fix-storage
...
Fix barkened storage call
2016-09-02 14:31:04 -04:00
Joseph Schorr
41cffe33f0
Fix borkened storage call
2016-09-02 14:29:53 -04:00
josephschorr
be046c480c
Merge pull request #1801 from coreos-inc/mpu-retry
...
Add multipart upload retry to chunk uploads as well
2016-09-02 13:28:06 -04:00
Joseph Schorr
233f55829e
Add multipart upload retry to chunk uploads as well
2016-09-02 12:00:18 -04:00
josephschorr
7c3ef6781d
Merge pull request #1799 from coreos-inc/remove-unneeded-log
...
Change log level of an expected log message
2016-08-31 18:29:28 -04:00
Joseph Schorr
e67b95ae04
Change log level of an expected log message
2016-08-31 17:25:54 -04:00
Brad Ison
c10113d0ca
Merge pull request #1798 from coreos-inc/qemu-coreos-defaults
...
Set defaults in qemu-coreos entrypoint
2016-08-31 15:51:14 -04:00
Brad Ison
6365b6dbfb
Set defaults in qemu-coreos entrypoint
2016-08-31 15:49:21 -04:00
josephschorr
80def95c47
Merge pull request #1795 from coreos-inc/fix-repo-lookup
...
Fix repo lookup
2016-08-31 14:22:45 -04:00
josephschorr
a6350e7dba
Merge pull request #1796 from coreos-inc/ui-fix
...
Fix grammar in entity search
2016-08-31 14:21:35 -04:00
Joseph Schorr
de212d8594
Fix grammar in entity search
...
Fixes #1794
2016-08-31 14:19:28 -04:00
Joseph Schorr
1b7b3ea41d
Make sure to filter starred repos to those visible to the user
...
Fixes #1793
2016-08-31 14:08:31 -04:00
Joseph Schorr
b4939a3cd0
Fix filtering of repos only visible to org admins
2016-08-31 13:51:53 -04:00