Commit graph

6915 commits

Author SHA1 Message Date
Joseph Schorr
b2afe68632 Pull out redis validation into validator class 2017-02-24 12:23:15 -05:00
Joseph Schorr
f933b3e295 Pull out database validation into validator class 2017-02-24 12:23:14 -05:00
Joseph Schorr
484977f728 Refactor security scanner validation from single sleep to polling 2017-02-24 12:23:14 -05:00
josephschorr
070180e253 Merge pull request #2371 from coreos-inc/entity-search-fix
Fix transparent icons in entity autocomplete
2017-02-24 11:27:51 -05:00
Evan Cordell
41033ae05d fix typo 2017-02-23 19:03:26 -05:00
josephschorr
a5fd52f34b Merge pull request #2385 from coreos-inc/remove-image-count
Remove images count (which is horribly slow in InnoDB) and add a max gauge
2017-02-23 18:58:00 -05:00
Evan Cordell
ecd441269b Pass host to apostille (required for k8s ingress) 2017-02-23 18:29:02 -05:00
Evan Cordell
f42200a303 allow empty conf/stack in nginx config generation
needed for QE users that may not have one yet
2017-02-23 18:29:02 -05:00
Joseph Schorr
407341fe96 Remove images count (which is horribly slow in InnoDB) and add a max gauge 2017-02-23 17:37:28 -05:00
josephschorr
0003022549 Merge pull request #2384 from coreos-inc/fix-buildman
Fix removal of component from session factory
2017-02-23 17:16:52 -05:00
Joseph Schorr
29943b32a6 Fix removal of component from session factory
Session factory isn't a list but its own class
2017-02-23 17:15:47 -05:00
Charlton Austin
59d6cf8a86 Merge pull request #2376 from charltonaustin/quay_jwts_indicate_which_root_a_user_should_see_137968801
Adding in what metadata_root_name to JWT
2017-02-23 17:10:21 -05:00
josephschorr
b00f286ecf Merge pull request #2383 from coreos-inc/remove-npm
Delete all the various forms of NPM cache
2017-02-23 15:46:01 -05:00
Jimmy Zelinskie
db503eaabe Merge pull request #2381 from jzelinskie/failovertimeout
util.secscan.api: failover connection failures
2017-02-23 15:42:04 -05:00
Erica
254978c65b Merge pull request #2380 from coreos-inc/FIX-local-db-init
fix(initdb): local db init
2017-02-23 15:35:36 -05:00
Joseph Schorr
ddbd0db137 Delete all the various forms of NPM cache
They clutter up the image and cause Twistlock to false positive
2017-02-23 15:34:58 -05:00
EvB
b11ca3043c chore(initdb): allow overriding logging level with env var 2017-02-23 15:01:37 -05:00
Jimmy Zelinskie
c8034deab4 util.secscan.api: failover connection failures 2017-02-23 15:01:32 -05:00
EvB
243b0dc4fc fix(initdb.py): skip db initialization with env var
Only run the db-initialization (e.g. creating schemas) if the
`SKIP_DB_SCHEMAS` isn't set to true when run as main. This value
is checked in other circumstances and should be here as well so
that this script can be used to populate arbitrary test databases
as needed in development.
2017-02-23 15:00:08 -05:00
Evan Cordell
eac9927414 Add FEATURE_SIGNING flag and refactor nginx_conf_create.sh 2017-02-23 14:38:16 -05:00
Evan Cordell
16ec19d356 Add dnsmasq so nginx will allow an upstream service to not block startup 2017-02-23 14:38:16 -05:00
Evan Cordell
9affe193db Add support for tuf metadata endpoints 2017-02-23 14:38:16 -05:00
josephschorr
6436444274 Merge pull request #2379 from coreos-inc/fix-build-form
Fix Dockerfile Build Form
2017-02-22 20:42:15 -05:00
Charlton Austin
e87404c327 Adding in what metadata_root_name to JWT 2017-02-22 16:59:19 -05:00
Joseph Schorr
baf4b7bed4 Change Dockerfile build form to not require a robot unless sure we need it
Fixes #2377

Before this change, we'd err on the side of caution, which is bad UX
2017-02-22 16:27:32 -05:00
Joseph Schorr
7f1980bff1 Fix DockerfileService to properly parse repo names and tags
Before this change, the tag name would be included in the image, which breaks the API
2017-02-22 16:26:47 -05:00
josephschorr
a726a12096 Merge pull request #2378 from coreos-inc/docker-versioning-fix
Docker versioning fix
2017-02-22 16:10:33 -05:00
Joseph Schorr
67c0bf6263 Fix docker versioning library to support new versioning scheme
Fixes: https://sentry.io/coreos/backend-production/issues/222349174/
Reference: https://github.com/docker/docker/pull/31075
2017-02-22 16:08:17 -05:00
Joseph Schorr
94be8731f3 Change Docker Version tests to pytest 2017-02-22 15:45:06 -05:00
josephschorr
90f841175e Merge pull request #2375 from coreos-inc/2.1.0-fixchangelog
Update 2.1.0 changelog with reference to new doc
2017-02-22 14:18:28 -05:00
josephschorr
f7a7d30ec2 Merge pull request #2366 from coreos-inc/alert-spam-fixes
Small fixes for alert spam
2017-02-22 14:18:18 -05:00
Joseph Schorr
3faa082cf7 Update 2.1.0 changelog with reference to new doc 2017-02-22 14:13:26 -05:00
Joseph Schorr
478b1642b2 Eat AttributeError in peewee close database call
Fixes https://sentry.io/coreos/backend-production/issues/104257892/
2017-02-22 13:21:12 -05:00
Joseph Schorr
7cc7e54945 Remove unicode before sending it to path parser
Fixes https://sentry.io/coreos/backend-production/issues/175929456/
2017-02-22 13:21:12 -05:00
Joseph Schorr
3f1d394e14 Catch IOErrors when starting builds
Fixes https://sentry.io/coreos/backend-production/issues/207144068/
2017-02-22 13:20:04 -05:00
Joseph Schorr
d29d2da1ca Handle IntegrityError in tag update code
Fixes https://sentry.io/coreos/backend-production/issues/173470565/events/4938537230/
2017-02-22 13:20:04 -05:00
Joseph Schorr
9db20ff961 Catch SSL errors due to timeouts in Github calls
Fixes https://sentry.io/coreos/backend-production/issues/219378902/
2017-02-22 13:20:04 -05:00
Joseph Schorr
ef9cb3757d Check for missing repository on GC call
Fixes https://sentry.io/coreos/backend-production/issues/192273882/
2017-02-22 13:18:23 -05:00
Joseph Schorr
89b7c13da5 Catch team member invite missing exception
Fixes https://sentry.io/coreos/backend-production/issues/195926082/
2017-02-22 13:18:22 -05:00
Joseph Schorr
fd4a31d3c3 Make pop on realm work even if the realm isn't present
This is cleanup code and, occasionally, we get a cleanup without the realm having been added, leading to a KeyError
2017-02-22 13:18:22 -05:00
Jimmy Zelinskie
b145ed7ad8 Merge pull request #2374 from jzelinskie/df-upgrade
dockerfile: -y for apt-get upgrade
2017-02-22 13:03:28 -05:00
Jimmy Zelinskie
4538d11c95 dockerfile: -y for apt-get upgrade 2017-02-22 13:01:00 -05:00
Jimmy Zelinskie
1a6d05531d Merge pull request #2373 from jzelinskie/df-upgrade
dockerfile: upgrade base OS packages
2017-02-22 11:49:20 -05:00
Jimmy Zelinskie
cc56ce79a8 dockerfile: upgrade base OS packages 2017-02-22 11:48:11 -05:00
Jake Moshenko
a32d329b17 Merge pull request #2372 from jakedt/clairunscanned
Move the images count stat back to the prom stat worker
2017-02-22 11:45:51 -05:00
Jake Moshenko
27f5f14f90 Linter fixes 2017-02-22 11:45:38 -05:00
Jake Moshenko
add6b654ae Move the total image count stat back to the prom stat worker 2017-02-22 11:45:38 -05:00
Joseph Schorr
6133b01d4d Fix transparent icons in entity autocomplete
This is not a *complete* solution, as it still won't show the nice CSS-based avatars, but that can be done in a followup
2017-02-21 21:16:15 -05:00
Jimmy Zelinskie
deb2b1b003 Merge pull request #2370 from jakedt/clairunscanned
Read the number of unscanned clair images from the block allocator
2017-02-21 19:18:05 -05:00
Jake Moshenko
b03e03c389 Read the number of unscanned clair images from the block allocator 2017-02-21 19:13:51 -05:00