Commit graph

8195 commits

Author SHA1 Message Date
josephschorr
ccef3bffe9
Merge pull request #2978 from coreos-inc/joseph.schorr/QS-117/gunicorn-worker-count
Make gunicorn worker count scale automatically and be configurable
2018-02-02 13:46:17 -05:00
josephschorr
0486fe6314
Merge pull request #2909 from coreos-inc/joseph.schorr/QS-56/bad-service-key
Better handling of instance key failure in Quay
2018-02-02 13:44:47 -05:00
josephschorr
e2693ac390
Merge pull request #2994 from coreos-inc/fix-syslog
Fix syslog for updated phusion base image
2018-02-02 13:44:37 -05:00
Joseph Schorr
da9b05fa4a Remove syslog check lines from all services 2018-02-02 13:38:25 -05:00
Joseph Schorr
bbdf9e074c Add metrics for tracking when instance key renewal succeeds and fails, as well as when instance key *lookup* fails 2018-02-02 11:14:42 -05:00
Joseph Schorr
a927ce3e0f Have boot.py verify that the existing instance's service key is valid and regenerate if it is not
This prevents the scenario where a container is restarted after an outage and therefore runs with a bad key
2018-02-02 11:14:00 -05:00
Joseph Schorr
c1cc52f58b Add a health check for the instance key
If the key expires or disappears, the node will now go unhealthy, taking it out of service and preventing downtime
2018-02-02 11:14:00 -05:00
Joseph Schorr
0f49d787eb Fix syslog for updated phusion base image
Syslog is now started outside of the normal init process
2018-02-02 10:52:18 -05:00
Joseph Schorr
4cd3d110db Make gunicorn worker count scale automatically and be configurable
Fixes https://jira.coreos.com/browse/QS-117
2018-02-02 10:34:19 -05:00
josephschorr
6514bf229f
Merge pull request #2973 from coreos-inc/joseph.schorr/QS-116/cloudfront-storage
Add support for configuring cloudfront storage
2018-02-02 10:14:28 -05:00
josephschorr
e051c3a125
Merge pull request #2992 from coreos-inc/joseph.schorr/QUAY-813/no-config-yaml
Remove config.yaml from built container and add a script to detect in case its added back in the future
2018-02-01 11:44:09 -05:00
Joseph Schorr
493b278de8 Remove the deploy directory from the code base, as it is not necessary AND it contains an (old) copy of our development config, which should never have been checked into this repository in the first place 2018-02-01 11:24:34 -05:00
josephschorr
1b065c27e0
Merge pull request #2991 from coreos-inc/joseph.schorr/QUAY-807/disable-build-ui
Hide build-related UI elements when builds are disabled
2018-01-31 19:00:10 -05:00
Joseph Schorr
43d74d808c Add a script which explicitly detects for the presence of config.yaml in the built container, and fails if it is there
This will prevent any leakage of config.yaml's into the built image
2018-01-31 18:56:50 -05:00
Joseph Schorr
1b707660de Hide build-related UI elements when builds are disabled
Fixes https://jira.coreos.com/browse/QUAY-807
2018-01-31 18:09:38 -05:00
josephschorr
bc8e8f60e7
Merge pull request #2988 from coreos-inc/joseph.schorr/QUAY-774/update-base-image
Update phusion base image to newest version
2018-01-31 11:40:04 -05:00
Joseph Schorr
b0f656731c Add support for configuring CloudFront storage engine
Fixes https://jira.coreos.com/browse/QS-116
2018-01-31 11:22:14 -05:00
josephschorr
9cd7093130
Merge pull request #2990 from coreos-inc/joseph.schorr/QUAY-806/oidc-icon
Change positioning and sizing of external login buttons to be nicer looking, using flex box
2018-01-31 11:15:28 -05:00
josephschorr
fd1237cff9
Merge pull request #2974 from coreos-inc/joseph.schorr/QS-118/manifest-write-query
Audit the number of SQL queries we make in writing manifests, and significantly reduce in the common case
2018-01-31 11:08:33 -05:00
Joseph Schorr
868a3df2d8 Change positioning and sizing of external login buttons to be nicer looking, using flex box
Fixes https://jira.coreos.com/browse/QUAY-806
2018-01-31 11:05:42 -05:00
Joseph Schorr
bd75909647 Update phusion base image to newest version
Fixes https://jira.coreos.com/browse/QUAY-774
2018-01-30 13:45:18 -05:00
josephschorr
5e82538fd5
Merge pull request #2986 from coreos-inc/temp-name-fix
Temp revert dot fix because it applies to repo names as well on pull
2018-01-26 14:44:57 -05:00
Joseph Schorr
462500a389 Temp revert dot fix because it applies to repo names as well on pull 2018-01-26 14:43:37 -05:00
josephschorr
acf41ca1c8
Merge pull request #2985 from coreos-inc/fix-pooled-args-non-pooled
Remove unsupported DB connection arguments for non-pooled DB handler
2018-01-26 13:37:40 -05:00
Joseph Schorr
182c4594e7 Remove unsupported DB connection arguments for non-pooled DB handler 2018-01-26 13:37:08 -05:00
josephschorr
4e4faeb9ed
Merge pull request #2984 from coreos-inc/fix-api-error
Fix NPE when app specific tokens are not enabled
2018-01-26 13:19:37 -05:00
Joseph Schorr
8714ad6fe3 Fix NPE when app specific tokens are not enabled 2018-01-26 13:18:32 -05:00
Jake Moshenko
6d2e18fa78
Merge pull request #2982 from coreos-inc/jakedt-mac-bootstrap
Update the mac dev env instructions
2018-01-25 15:24:24 -05:00
Jake Moshenko
b08d56dc1e
Update the mac dev env instructions
Don't need pip-rehash anymore, and should probably recommend docker for mac.
2018-01-25 15:18:43 -05:00
Joseph Schorr
9e16a989f5 Audit the number of SQL queries we make in writing manifests, and significantly reduce in the common case
Instead of 41 queries now for the simple manifest, we are down to 14.

The biggest changes:
  - Only synthesize the V1 image rows if we haven't already found them in the database
  - Thread the repository object through to the other model method calls, and use it instead of loading again and again
2018-01-25 11:10:43 -05:00
IvanCherepov
c228734978
Generates HTML documentation explaining all of configuration fields (#2952)
* create HTML documentation explaining all of schema's configuration fields
2018-01-24 14:09:29 -05:00
josephschorr
e2c1547df6
Merge pull request #2980 from coreos-inc/joseph.schorr/QS-125/dot-names
Disallow dots in repository names to fix reflected text "attack"
2018-01-23 14:51:23 -05:00
josephschorr
713fdd988e
Merge pull request #2981 from coreos-inc/delete-expired-app-token
Allow expired app specific tokens to be deleted
2018-01-23 12:15:15 -05:00
Joseph Schorr
208dc38d25 Allow expired app specific tokens to be deleted 2018-01-23 11:40:51 -05:00
Joseph Schorr
ede3a81c68 Disallow dots in repository names to fix reflected text "attack"
Fixes https://jira.coreos.com/browse/QS-125
2018-01-18 13:19:37 -05:00
josephschorr
b29e8202e5
Merge pull request #2977 from coreos-inc/joseph.schorr/QS-121/gunicorn-health
Add instance health checks for all gunicorn workers
2018-01-16 11:31:22 -05:00
Joseph Schorr
e91b83e1be Add instance health checks for all gunicorn workers
Fixes https://jira.coreos.com/browse/QS-121
2018-01-16 11:29:40 -05:00
josephschorr
f6e71fc7f5
Merge pull request #2979 from coreos-inc/joseph.schorr/QS-120/appr-fix
Fix 500 exception when sending a non-string release name to appr
2018-01-13 21:29:27 -05:00
Joseph Schorr
a32edb646d Fix 500 exception when sending a non-string release name to appr
Fixes https://jira.coreos.com/browse/QS-120
2018-01-12 17:14:05 -05:00
josephschorr
18f1ccf80b
Merge pull request #2976 from coreos-inc/joseph.schorr/QS-119/expiration-status-view-typo
Fix typo in expiration status view
2018-01-11 17:35:30 -05:00
josephschorr
bff96d31db
Merge pull request #2975 from coreos-inc/db-logging
Extend our logs about whether we are using connection pooling for a DB
2018-01-11 17:31:40 -05:00
Joseph Schorr
f726e8c972 Fix typo in expiration status view
Fixes https://jira.coreos.com/browse/QS-119
2018-01-11 17:29:48 -05:00
Joseph Schorr
3bc5840496 Extend our logs about whether we are using connection pooling for a DB 2018-01-11 16:43:46 -05:00
josephschorr
4f47808e99
Merge pull request #2971 from coreos-inc/joseph.schorr/QS-109/nginx-auto-scale
Change worker processes to be auto set based on CPU count
2018-01-10 14:48:09 -05:00
Joseph Schorr
f4f51934ef Linter fixes for cloudfront storage 2018-01-10 13:16:41 -05:00
josephschorr
8360bdb893
Merge pull request #2972 from coreos-inc/joseph.schorr/QS-115/hide-commit-info-incomplete
Hide trigger information that isn't present
2018-01-10 11:23:54 -05:00
Joseph Schorr
20b9a40585 Hide trigger information that isn't present
Fixes https://jira.coreos.com/browse/QS-115
2018-01-10 11:20:35 -05:00
Joseph Schorr
9f996a8745 Change worker processes to be auto set based on CPU count
Fixes https://jira.coreos.com/browse/QS-109
2018-01-10 11:10:57 -05:00
josephschorr
82db86ad3f
Merge pull request #2970 from coreos-inc/joseph.schorr/QS-114/ldap-password
Change LDAP password field to be a password field
2018-01-09 16:33:11 -05:00
Joseph Schorr
dfb436a3ce Change LDAP password field to be a password field
Fixes https://jira.coreos.com/browse/QS-114
2018-01-09 16:31:52 -05:00