From 58feb9280b87bca61fd49ac43cd9440199b177e4 Mon Sep 17 00:00:00 2001 From: Stephen Salinas Date: Wed, 4 May 2022 11:58:31 -0400 Subject: [PATCH] 1.5.0 Release Docs --- Docs/releases/1.5.0.md | 100 +++++++++++++++++++++++++++++++++++++++ README.md | 10 +++- book.json | 2 +- generate_release_docs.py | 4 +- 4 files changed, 112 insertions(+), 4 deletions(-) create mode 100644 Docs/releases/1.5.0.md diff --git a/Docs/releases/1.5.0.md b/Docs/releases/1.5.0.md new file mode 100644 index 0000000000..2d924df983 --- /dev/null +++ b/Docs/releases/1.5.0.md @@ -0,0 +1,100 @@ +## Changes in `1.5.0` + +Check out the [1.5.0 milestone](https://github.com/HubSpot/Singularity/milestone/46?closed=1) to see new features / bugfixes in detail. + +### Improvements + +- [2290](https://github.com/HubSpot/Singularity/pull/2290) - Add a class of scheduler-related metrics to expose more easily +- [2289](https://github.com/HubSpot/Singularity/pull/2289) - Handle combined `cpu,cpuacct` cgroup mountpoints +- [2282](https://github.com/HubSpot/Singularity/pull/2282) - Add large scale down flag to client +- [2275](https://github.com/HubSpot/Singularity/pull/2275) - Prevent accidental large scale downs +- [2272](https://github.com/HubSpot/Singularity/pull/2272) - Add decom reasons to task cleaning messages +- [2270](https://github.com/HubSpot/Singularity/pull/2270) - Run persisters in parallel +- [2264](https://github.com/HubSpot/Singularity/pull/2264) - Add @Schema annotation to SingularityScheduledTasksInfo for JSON parsing +- [2260](https://github.com/HubSpot/Singularity/pull/2260) - Add endpoint and client call to retrieve scheduled tasks info +- [2259](https://github.com/HubSpot/Singularity/pull/2259) - Task Persister skips too long task Ids +- [2256](https://github.com/HubSpot/Singularity/pull/2256) - Add UI support for freezing/unfreezing racks +- [2252](https://github.com/HubSpot/Singularity/pull/2252) - Disasters UI Improvements +- [2253](https://github.com/HubSpot/Singularity/pull/2253) - Cleanup old decommissioned agents +- [2246](https://github.com/HubSpot/Singularity/pull/2246) - Add request-level maximum scale option +- [2245](https://github.com/HubSpot/Singularity/pull/2245) - Request Priority API +- [2241](https://github.com/HubSpot/Singularity/pull/2241) - Add fire alarm +- [2239](https://github.com/HubSpot/Singularity/pull/2239) - Improve Offer Loop Usage of Request Locks +- [2226](https://github.com/HubSpot/Singularity/pull/2226) - Configurably skip the file open check in S3Uploader. +- [2227](https://github.com/HubSpot/Singularity/pull/2227) - Show request edit for some groups, add priority button +- [2228](https://github.com/HubSpot/Singularity/pull/2228) - Support global overrides of request placement strategy/rack sensitivity +- [2225](https://github.com/HubSpot/Singularity/pull/2225) - Curator framework improvements +- [2224](https://github.com/HubSpot/Singularity/pull/2224) - Smarter timeouts in offer loop +- [2220](https://github.com/HubSpot/Singularity/pull/2220) - Add request deploy history endpoint to SingularityClient +- [2205](https://github.com/HubSpot/Singularity/pull/2205) - Refactor the LoadBalancerClient +- [2202](https://github.com/HubSpot/Singularity/pull/2202) - Add media type to config resource +- [2199](https://github.com/HubSpot/Singularity/pull/2199) - Add endpoint to get Singularity config values +- [2198](https://github.com/HubSpot/Singularity/pull/2198) - S3Uploader aws client usage efficiency +- [2196](https://github.com/HubSpot/Singularity/pull/2196) - Also check if a task is a killed task in rack placements +- [2192](https://github.com/HubSpot/Singularity/pull/2192) - Support more stable canary deploys in Singularity +- [2195](https://github.com/HubSpot/Singularity/pull/2195) - Optionally compress files prior to uploading them in SingularityS3Uploader. +- [2191](https://github.com/HubSpot/Singularity/pull/2191) - Granular forced logrotate crons +- [2188](https://github.com/HubSpot/Singularity/pull/2188) - Thread and stream clean up +- [2190](https://github.com/HubSpot/Singularity/pull/2190) - Lifecycle tweaks for Singularity +- [2186](https://github.com/HubSpot/Singularity/pull/2186) - Create thread pool that blocks when full +- [2187](https://github.com/HubSpot/Singularity/pull/2187) - Add status queue size accessor for status update handler +- [2185](https://github.com/HubSpot/Singularity/pull/2185) - Block reconciliation if queue nearly full +- [2182](https://github.com/HubSpot/Singularity/pull/2182) - change bucket name in example +- [2183](https://github.com/HubSpot/Singularity/pull/2183) - Bump version of mysql-connector-java +- [2184](https://github.com/HubSpot/Singularity/pull/2184) - Make docker stop timeout overideable +- [2180](https://github.com/HubSpot/Singularity/pull/2180) - Support fine-grained logrotateAdditionalFiles intervals, with a separate logrotate conf file for each configured interval +- [2176](https://github.com/HubSpot/Singularity/pull/2176) - Opt in mode for Singularity emails +- [2177](https://github.com/HubSpot/Singularity/pull/2177) - Clean up lifecycle ordering on shutdown +- [2173](https://github.com/HubSpot/Singularity/pull/2173) - Remap names in disabled actions list +- [2172](https://github.com/HubSpot/Singularity/pull/2172) - Added logging decorator for CuratorFramework to Audit ZK Endpoints +- [2167](https://github.com/HubSpot/Singularity/pull/2167) - Counters for last persister successes +- [2168](https://github.com/HubSpot/Singularity/pull/2168) - Add ability to re-add recovered tasks to the load balancer +- [2169](https://github.com/HubSpot/Singularity/pull/2169) - Initialize last persister AtomicLongs to current time +- [2166](https://github.com/HubSpot/Singularity/pull/2166) - Turn down some noisy logging + +### Bug Fixes + +- [2285](https://github.com/HubSpot/Singularity/pull/2285) - Task history handling when missing data +- [2287](https://github.com/HubSpot/Singularity/pull/2287) - Omit on demand jobs from scale limit during deploy validation +- [2283](https://github.com/HubSpot/Singularity/pull/2283) - Unused method fix +- [2284](https://github.com/HubSpot/Singularity/pull/2284) - Handle tasks which no longer have data in zk +- [2280](https://github.com/HubSpot/Singularity/pull/2280) - Update broken links +- [2281](https://github.com/HubSpot/Singularity/pull/2281) - Various bug fixes and stability improvements +- [2278](https://github.com/HubSpot/Singularity/pull/2278) - Fix up some s3 listing bugs +- [2276](https://github.com/HubSpot/Singularity/pull/2276) - Fix client params +- [2274](https://github.com/HubSpot/Singularity/pull/2274) - Address missing task data +- [2265](https://github.com/HubSpot/Singularity/pull/2265) - Fix SingularityScheduledTasksInfo retrieval in client +- [2266](https://github.com/HubSpot/Singularity/pull/2266) - Mutate request instances based on existing request +- [2269](https://github.com/HubSpot/Singularity/pull/2269) - Retry failed tasks with new deploys +- [2262](https://github.com/HubSpot/Singularity/pull/2262) - Fix npe for tasks with null hostnames from decommissioned host resources +- [2263](https://github.com/HubSpot/Singularity/pull/2263) - Count all lost tasks as inactive +- [2257](https://github.com/HubSpot/Singularity/pull/2257) - Fix npm dependencies +- [2247](https://github.com/HubSpot/Singularity/pull/2247) - Restore old constructor in singularity request parent +- [2251](https://github.com/HubSpot/Singularity/pull/2251) - Guice bindings for custom authorizer implementations +- [2244](https://github.com/HubSpot/Singularity/pull/2244) - Avoid Request Locks With Task Lag +- [2243](https://github.com/HubSpot/Singularity/pull/2243) - Clean up more zk parent nodes for stale requests +- [2240](https://github.com/HubSpot/Singularity/pull/2240) - Cleanup hosts marked as missing on startup +- [2237](https://github.com/HubSpot/Singularity/pull/2237) - Limit # of crash loop nodes for requests without requiring new deploys +- [2238](https://github.com/HubSpot/Singularity/pull/2238) - Fix NoSuchFileExceptions in S3Uploader +- [2236](https://github.com/HubSpot/Singularity/pull/2236) - Fix junit jupiter setup +- [2234](https://github.com/HubSpot/Singularity/pull/2234) - Log task resource usage at trace level +- [2235](https://github.com/HubSpot/Singularity/pull/2235) - Avoid null next value in zk curator load distributor +- [2230](https://github.com/HubSpot/Singularity/pull/2230) - Fix possible port collisions across tasks again +- [2233](https://github.com/HubSpot/Singularity/pull/2233) - Better handling of errors in scheduler poller +- [2215](https://github.com/HubSpot/Singularity/pull/2215) - Fix possible port collisions across tasks +- [2213](https://github.com/HubSpot/Singularity/pull/2213) - Caffeine cache for request api +- [2214](https://github.com/HubSpot/Singularity/pull/2214) - Replace caffeine cache with reference to full map +- [2212](https://github.com/HubSpot/Singularity/pull/2212) - Prevent map merge issues in artifact verification +- [2210](https://github.com/HubSpot/Singularity/pull/2210) - Check against artifacts without signatures +- [2208](https://github.com/HubSpot/Singularity/pull/2208) - Add taskId to loadbalancer upstream +- [2207](https://github.com/HubSpot/Singularity/pull/2207) - Add extension to agent decom +- [2203](https://github.com/HubSpot/Singularity/pull/2203) - Only run force logrotates for cron-faked logrotate confs which actually exist on the filesystem +- [2204](https://github.com/HubSpot/Singularity/pull/2204) - Extra logging in deploy checker +- [2200](https://github.com/HubSpot/Singularity/pull/2200) - One additional null check in uploader client return +- [2197](https://github.com/HubSpot/Singularity/pull/2197) - Correctly render cron entries for size-based logrotation. +- [2175](https://github.com/HubSpot/Singularity/pull/2175) - Throw exception to resubscribe to mesos +- [2170](https://github.com/HubSpot/Singularity/pull/2170) - Default to user id when no email available in notifications + +### Documentation + +- [2218](https://github.com/HubSpot/Singularity/pull/2218) - Update adopters.md diff --git a/README.md b/README.md index 325b81fb74..bdc6e29780 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,14 @@ +***IMPORTANT DEPRECATION NOTICE*** + +This project is no longer actively maintained + +As of April 2022, the HubSpot team has stopped new contributions to the open source version of Singularity. The slack channel will remain open for the time being for additional questions or support but no further releases will be published. + +------------------ + ![Singularity](Docs/images/singularity.png) -**Latest Release Version:** [1.4.0](https://github.com/HubSpot/Singularity/releases/tag/Singularity-1.3.0) +**Latest Release Version:** [1.5.0](https://github.com/HubSpot/Singularity/releases/tag/Singularity-1.5.0) **Mesos Version:** [1.9.0](http://mesos.apache.org/documentation/latest/upgrades/) diff --git a/book.json b/book.json index de5bbf1315..ffeb5d92de 100644 --- a/book.json +++ b/book.json @@ -10,7 +10,7 @@ "contribute": "https://github.com/HubSpot/Singularity" }, "variables": { - "releases": ["1.4.0", "1.3.0", "1.2.0", "1.1.0", "1.0.0", "0.23.0", "0.22.0", "0.21.0", "0.20.1", "0.20.0", "0.19.2", "0.19.1", "0.19.0", "0.18.2", "0.18.1", "0.18.0", "0.17.1", "0.17.0", "0.16.2", "0.16.1", "0.16.0", "0.15.1", "0.15.0", "0.14.1", "0.14.0", "0.13.0", "0.12.0", "0.11.0", "0.10.1", "0.10.0", "0.9.0", "0.8.0", "0.7.1", "0.7.0", "0.6.2", "0.6.1", "0.6.0", "0.5.0", "0.4.11", "0.4.10", "0.4.9", "0.4.8", "0.4.7", "0.4.6", "0.4.5"] + "releases": ["1.5.0", "1.4.0", "1.3.0", "1.2.0", "1.1.0", "1.0.0", "0.23.0", "0.22.0", "0.21.0", "0.20.1", "0.20.0", "0.19.2", "0.19.1", "0.19.0", "0.18.2", "0.18.1", "0.18.0", "0.17.1", "0.17.0", "0.16.2", "0.16.1", "0.16.0", "0.15.1", "0.15.0", "0.14.1", "0.14.0", "0.13.0", "0.12.0", "0.11.0", "0.10.1", "0.10.0", "0.9.0", "0.8.0", "0.7.1", "0.7.0", "0.6.2", "0.6.1", "0.6.0", "0.5.0", "0.4.11", "0.4.10", "0.4.9", "0.4.8", "0.4.7", "0.4.6", "0.4.5"] }, "plugins": ["github", "-sharing", "-livereload", "-highlight", "copy-code-button"], "pluginsConfig": { diff --git a/generate_release_docs.py b/generate_release_docs.py index 4c3c386455..cce0b28be3 100644 --- a/generate_release_docs.py +++ b/generate_release_docs.py @@ -20,8 +20,8 @@ def base_text(release): """.format(release) def main(args): - pulls = [p for p in requests.get('https://api.github.com/repos/HubSpot/Singularity/pulls?state=closed&per_page=200&sort=updated&direction=desc').json() if 'milestone' in p and p['milestone'] and args.release.encode('utf-8') == p['milestone']['title']] - print 'Found {0} pull requests'.format(len(pulls)) + pulls = [p for p in requests.get('https://api.github.com/repos/HubSpot/Singularity/pulls?state=closed&per_page=2000&sort=updated&direction=desc').json() if 'milestone' in p and p['milestone'] and args.release == p['milestone']['title']] + print('Found {0} pull requests'.format(len(pulls))) message = base_text(args.release) for p in pulls: message = message + '- [{0}]({1}) - {2}'.format(p['number'], p['html_url'], p['title']) + '\n'