Commit graph

7213 commits

Author SHA1 Message Date
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
Joseph Schorr
949dcb9d35 Add regex validating field 2016-09-15 13:25:57 -04:00
Joseph Schorr
c4eaed186e Hide help columns on small device sizes 2016-09-15 12:04:39 -04:00
Jake Moshenko
903ae6d964 Properly handle refunds in their appropriate month. Handle discounts. 2016-09-15 10:23:35 -04:00
Joseph Schorr
9140b0e41d Add placeholder for regex field in create event control 2016-09-14 17:07:14 -04:00
Joseph Schorr
03d4445a02 Add notification filtering for builds based on ref regex
Fixes #1835
2016-09-14 16:48:17 -04:00
Joseph Schorr
0dce935c40 Move repo notification create to its own page
Also fixes a bug around Slack setup

Fixes #1834
2016-09-14 16:06:52 -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
Joseph Schorr
2fb43196c6 Add well-known endpoint for Quay
Fixes #1790
2016-09-12 17:33:08 -04:00
Joseph Schorr
30af8aef1a Add a worker for reporting global stats to Prometheus
Fixes #1789
2016-09-12 16:19:19 -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
Joseph Schorr
818ea38dac Add repo-specific reporting of repository builds 2016-09-09 15:36:54 -04:00
Joseph Schorr
c8a1b8abab Add prom stats for repository push, pull and verb actions 2016-09-09 15:13:58 -04:00
Jimmy Zelinskie
ea8feab063 changelog: cut v1.16.6 2016-09-09 14:50:42 -04:00
Joseph Schorr
5d6876eb81 Remove old metrics dashboard
It only applies to a single instance, making it fairly useless
2016-09-09 14:46:33 -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