Commit graph

5784 commits

Author SHA1 Message Date
Joseph Schorr
2c1880b944 Bug fixes, refactoring and "new" tests for the build manager
- Fixes various bugs introduced in the most recent build system commit
- Refactors state management in the build manager to be cleaner and more contained
- Adds back in the mock-based tests, fixed to not use threads and adjusted for the refactoring
- Adds some more simplified unit tests around non-etch related flows
2016-07-18 13:46:48 -04:00
josephschorr
9f6b47ad1f Merge pull request #1622 from coreos-inc/rid-fix
Various small fixes around SQL and testing
2016-07-15 13:42:02 -04:00
Joseph Schorr
b0b7b63be9 Fix queue tests for MySQL
MySQL's date time's appear to have a 1 second threshold, so we need to make sure the queue items added for the tests are available as soon as they are added. Before this change, the available_after was set to `datetime.utcnow()`, and, if the `get` was called within 1 second, then its check would fail.
2016-07-15 13:27:50 -04:00
Joseph Schorr
4e1259b58a Fix the Repository ID in pagination problem once and for all
But.... ONCE AND FOR ALL!

Note: Tested on SQLite, Postgres and MySQL
2016-07-14 17:09:52 -04:00
Joseph Schorr
1ed1bc9ed3 Disable prometheus in tests 2016-07-14 15:48:21 -04:00
Jimmy Zelinskie
7c727dfc9d Merge pull request #1621 from coreos-inc/queuefix
Fix race condition in Queue
2016-07-14 15:35:34 -04:00
Jimmy Zelinskie
64d0c5b675 data.queue: fix race condition
It's possible that multiple consumers will acquire a queue item if they
race on an expired item. To mitigate this, we check that the
processing_expires time hasn't been changed since we last read.
2016-07-14 15:34:22 -04:00
Jimmy Zelinskie
609f4fccd8 data.queue: simplify put method 2016-07-14 15:34:22 -04:00
josephschorr
e02891ef0c Merge pull request #1620 from coreos-inc/build-cleanup-logs
Build manager cleanup and more logging
2016-07-14 14:35:04 -04:00
Joseph Schorr
74b87fa813 Build manager cleanup and more logging 2016-07-14 14:33:14 -04:00
josephschorr
65bbdda545 Merge pull request #1619 from coreos-inc/disable-aci-tests
Disable ACI tests when build under Docker
2016-07-13 14:24:52 -04:00
Joseph Schorr
3d558f6090 Disable ACI tests when build under Docker
We need to figure out why they fail on our build fleet
2016-07-13 14:23:30 -04:00
Rob Szumski
000af18a1f Merge pull request #1618 from robszumski/homepage-breakpoints3
static: tweak logos smallest breakpoint
2016-07-13 10:53:20 -07:00
Rob Szumski
85724575f2 static: tweak large logos on smallest breakpoint 2016-07-13 10:42:08 -07:00
Rob Szumski
ef77d7ca2a static: tweak logos smallest breakpoint 2016-07-13 10:37:38 -07:00
josephschorr
5c85a7e322 Merge pull request #1617 from coreos-inc/fix-landingpage-mmore
Hide brackets on XS
2016-07-13 13:30:07 -04:00
Joseph Schorr
356fad4905 Hide brackets on XS 2016-07-13 13:29:15 -04:00
josephschorr
5ffacec4c2 Merge pull request #1615 from robszumski/homepage-breakpoints2
static: tweak breakpoints and logo sizing
2016-07-12 18:10:05 -04:00
Rob Szumski
f6f70cf4fc static: tweak breakpoints and logo sizing 2016-07-12 14:59:46 -07:00
Rob Szumski
40f07871ea Merge pull request #1614 from robszumski/homepage-breakpoints
static: update breakpoints and swap logo
2016-07-12 14:27:49 -07:00
Rob Szumski
faa9b9a836 static: update breakpoints and replace McKinsey with Autodesk 2016-07-12 14:07:40 -07:00
josephschorr
a69266c282 Merge pull request #1605 from coreos-inc/kubernetes-builder
Kubernetes builder
2016-07-12 14:49:10 -04:00
josephschorr
3143da6392 Merge pull request #1608 from coreos-inc/storage-rep
Fix storage replication for CAS and add tests
2016-07-12 13:56:36 -04:00
Joseph Schorr
5cd793331e Fix storage replication for CAS and add tests 2016-07-12 13:46:06 -04:00
josephschorr
74023ff696 Merge pull request #1611 from coreos-inc/team-delete
Fix delete team error message for admin teams
2016-07-11 15:51:58 -04:00
josephschorr
98e1d833e7 Merge pull request #1606 from coreos-inc/landing-page
New landing page header and logos
2016-07-11 15:51:50 -04:00
Joseph Schorr
c1e4bf79b7 Fix delete team error message for admin teams 2016-07-11 15:47:05 -04:00
josephschorr
da0357a460 Merge pull request #1609 from coreos-inc/package-vuln-test-notify
Fix `get_priority_for_index` method for non-int values
2016-07-11 15:10:20 -04:00
Joseph Schorr
541764d87b Fix get_priority_for_index method for non-int values
Fixes #1607
2016-07-11 15:04:50 -04:00
Joseph Schorr
f81987e38a New landing page header and logos
Fixes #1313
2016-07-11 14:37:43 -04:00
Joseph Schorr
d8b72e8503 Switch to using a defined branch and not always pulling the VM image 2016-07-08 17:53:25 -04:00
Joseph Schorr
3d4af78f01 Fix label to never allow a space (which breaks Kubernetes) 2016-07-08 17:09:06 -04:00
Joseph Schorr
811413fe9c Add multiple executor and whitelist support to build manager 2016-07-08 15:50:51 -04:00
Joseph Schorr
6bdbe25cdc Cleanup unused imports 2016-07-08 15:50:51 -04:00
Joseph Schorr
7471d0e35f Small code cleanup before whitelist addition 2016-07-08 15:50:51 -04:00
Colin Hom
1e3351f3f4 local-docker.sh now accepts env vars 2016-07-08 15:50:51 -04:00
Colin Hom
bc13333f20 Kubernetes build worker 2016-07-08 15:50:51 -04:00
Jake Moshenko
3044f8ecbd Merge pull request #1603 from jakedt/invoices
Billing stuff
2016-07-08 14:11:17 -04:00
Jake Moshenko
af37f44c84 Collect billing address on credit card operations. 2016-07-08 13:00:01 -04:00
Jake Moshenko
4bb24e8ff9 Invoice tool for generating accounting compliant reports. 2016-07-08 13:00:01 -04:00
Joseph Schorr
241ebaa084 Fix typo 2016-07-07 15:06:29 -04:00
josephschorr
a21bf1d494 Merge pull request #1601 from coreos-inc/multiple-rdns
Allow for multiple user RDNs in LDAP
2016-07-07 14:56:28 -04:00
Joseph Schorr
adaeeba5d0 Allow for multiple user RDNs in LDAP
Fixes #1600
2016-07-07 14:46:38 -04:00
josephschorr
40473f9fbd Merge pull request #1599 from coreos-inc/small-fixes
Small fixes
2016-07-06 16:18:46 -04:00
Joseph Schorr
d1699e75b7 Add missing constructor argument 2016-07-06 16:17:02 -04:00
Joseph Schorr
e252ee07cb Fix popularity metrics on list repos API 2016-07-06 16:15:54 -04:00
josephschorr
6bde6406c9 Merge pull request #1598 from coreos-inc/instance-key-id-health
Add instance key ID to the health check endpoint
2016-07-05 15:45:47 -04:00
josephschorr
c90878ff04 Merge pull request #1596 from coreos-inc/prometheus-client
Prometheus support
2016-07-05 15:45:40 -04:00
Joseph Schorr
a1009af61c Move aggregator into its own repo and add it to the image 2016-07-05 15:39:51 -04:00
Joseph Schorr
7fddc61b8f Add instance key ID to the health check endpoint
Fixes #1429
2016-07-05 14:14:22 -04:00