From f4a14c6c326ef83f382020a9cb4dc31bd30fb328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 30 Aug 2019 10:43:24 +0200 Subject: [PATCH 1/3] hercules-ci-api-0.4.0.0 --- RELEASE.md | 4 ++-- hercules-ci-agent/hercules-ci-agent.cabal | 2 +- hercules-ci-api/CHANGELOG.md | 18 ++++++++++++++++++ hercules-ci-api/hercules-ci-api.cabal | 2 +- hercules-ci-api/pkg.nix | 2 +- 5 files changed, 23 insertions(+), 5 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index e989a989..16a7bf83 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -4,10 +4,9 @@ Example releasing hercules-ci-agent and optionally hercules-ci-api: - update hercules-ci-api/CHANGELOG.md - git log PREVIOUS..HEAD -- ./hercules-ci-api - bump api version - - CHANGELOG.md + - hercules-ci-api/CHANGELOG.md - hercules-ci-api/hercules-ci-api.cabal - hercules-ci-agent/hercules-ci-agent.cabal -- add a markdown link in CHANGELOG.md markdown link for the added version tag (header and link map at the bottom) - scripts/generate-nix - git add --patch - git commit -m "hercules-ci-api-Y.Y.Y.Y" @@ -17,6 +16,7 @@ Example releasing hercules-ci-agent and optionally hercules-ci-api: - hercules-ci-agent/CHANGELOG.md - hercules-ci-agent/hercules-ci-agent.cabal - for-upstream/common.nix package option +- add a markdown link in CHANGELOG.md markdown link for the added version tag (header and link map at the bottom) - scripts/generate-nix - git add --patch - git commit -m "hercules-ci-agent-X.X.X" diff --git a/hercules-ci-agent/hercules-ci-agent.cabal b/hercules-ci-agent/hercules-ci-agent.cabal index 3c8eda57..73a7dc77 100644 --- a/hercules-ci-agent/hercules-ci-agent.cabal +++ b/hercules-ci-agent/hercules-ci-agent.cabal @@ -125,7 +125,7 @@ executable hercules-ci-agent , exceptions , filepath , hercules-ci-agent - , hercules-ci-api == 0.3.* + , hercules-ci-api == 0.4.* , hostname , http-client , http-client-tls diff --git a/hercules-ci-api/CHANGELOG.md b/hercules-ci-api/CHANGELOG.md index 2eb757da..2c7d6529 100644 --- a/hercules-ci-api/CHANGELOG.md +++ b/hercules-ci-api/CHANGELOG.md @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.0.0] - 2019-08-30 + +### Fixed + +- Swagger schema was wrong for a Result +- Swagger schema is now written using UTF-8 encoding + +### Changed + +- /jobs endpoint changed to be hierarchical + +### Added + +- Submit number of concurrent tasks to the backend for better scheduling of evaluations (to avoid IFD deadlocks) + +- New endpoint to return evaluation build dependencies for IFD + + ## [0.3.0.0] - 2019-07-05 ### Added diff --git a/hercules-ci-api/hercules-ci-api.cabal b/hercules-ci-api/hercules-ci-api.cabal index 30b91552..647dbc5e 100644 --- a/hercules-ci-api/hercules-ci-api.cabal +++ b/hercules-ci-api/hercules-ci-api.cabal @@ -1,7 +1,7 @@ cabal-version: 1.12 name: hercules-ci-api -version: 0.3.0.0 +version: 0.4.0.0 homepage: https://github.com/hercules-ci/hercules-ci-agent#readme bug-reports: https://github.com/hercules-ci/hercules-ci-agent/issues author: Hercules Labs diff --git a/hercules-ci-api/pkg.nix b/hercules-ci-api/pkg.nix index 44cdc15d..998c23b3 100644 --- a/hercules-ci-api/pkg.nix +++ b/hercules-ci-api/pkg.nix @@ -29,7 +29,7 @@ }: mkDerivation { pname = "hercules-ci-api"; - version = "0.3.0.0"; + version = "0.4.0.0"; src = ./hercules-ci-api; isLibrary = true; isExecutable = true; From 7ca74a58a696c7658f96bc0730aa4ae8635901d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 30 Aug 2019 11:03:10 +0200 Subject: [PATCH 2/3] hercules-ci-agent-0.4.0 --- for-upstream/common.nix | 2 +- hercules-ci-agent/CHANGELOG.md | 26 ++++++++++++++++++++++- hercules-ci-agent/hercules-ci-agent.cabal | 2 +- hercules-ci-agent/pkg.nix | 2 +- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/for-upstream/common.nix b/for-upstream/common.nix index 1451f663..d9d0c37b 100644 --- a/for-upstream/common.nix +++ b/for-upstream/common.nix @@ -29,7 +29,7 @@ in type = types.string; }; package = let - version = "0.3.2"; + version = "0.4.0"; in mkOption { description = "Package containing the bin/hercules-ci-agent program"; diff --git a/hercules-ci-agent/CHANGELOG.md b/hercules-ci-agent/CHANGELOG.md index debb88e7..9c1255f8 100644 --- a/hercules-ci-agent/CHANGELOG.md +++ b/hercules-ci-agent/CHANGELOG.md @@ -7,12 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.0] - 2019-08-30 + +### Added + +- Support for import-from-derivation. See https://blog.hercules-ci.com/2019/08/30/native-support-for-import-for-derivation/ for details. + +### Changed + +- Modern BoehmGC initial settings for Nix memory limits + +- Report build failures and technical errors (misconfigurations, etc) separately + +- Remove HerculesScribe + +- Worker now uses structured logging (including worker pid, etc) + +### Fixed + +- Disable parallel GHC GC to improve runtime performance + +- Bump Cachix to fix a few bugs (errors with too many derivations, performance fixes, etc.) + ## [0.3.2] - 2019-08-11 ### Fixed - Deploying the agent from different system (darwin to linux) resulted into - using the wrong executable + using the wrong executable ## [0.3.1] - 2019-08-07 @@ -94,6 +116,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release +[0.4.0]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.3.2...hercules-ci-agent-0.4.0 +[0.3.2]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.3.1...hercules-ci-agent-0.3.2 [0.3.1]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.3.0...hercules-ci-agent-0.3.1 [0.3.0]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.2...hercules-ci-agent-0.3.0 [0.2]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.1.1...hercules-ci-agent-0.2 diff --git a/hercules-ci-agent/hercules-ci-agent.cabal b/hercules-ci-agent/hercules-ci-agent.cabal index 73a7dc77..d7ed7359 100644 --- a/hercules-ci-agent/hercules-ci-agent.cabal +++ b/hercules-ci-agent/hercules-ci-agent.cabal @@ -1,7 +1,7 @@ cabal-version: 2.4 name: hercules-ci-agent -version: 0.3.2 +version: 0.4.0 homepage: https://docs.hercules-ci.com bug-reports: https://github.com/hercules-ci/hercules-ci-agent/issues author: Hercules Labs diff --git a/hercules-ci-agent/pkg.nix b/hercules-ci-agent/pkg.nix index 39459516..51be2abb 100644 --- a/hercules-ci-agent/pkg.nix +++ b/hercules-ci-agent/pkg.nix @@ -61,7 +61,7 @@ }: mkDerivation { pname = "hercules-ci-agent"; - version = "0.3.2"; + version = "0.4.0"; src = ./hercules-ci-agent; isLibrary = true; isExecutable = true; From 67fa8e53aa339c2fec49c74bd990f0a5edfec1c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 30 Aug 2019 12:01:48 +0200 Subject: [PATCH 3/3] Apply suggestions from code review Co-Authored-By: Robert Hensing --- hercules-ci-agent/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hercules-ci-agent/CHANGELOG.md b/hercules-ci-agent/CHANGELOG.md index 9c1255f8..f6c613cf 100644 --- a/hercules-ci-agent/CHANGELOG.md +++ b/hercules-ci-agent/CHANGELOG.md @@ -15,7 +15,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Modern BoehmGC initial settings for Nix memory limits - Report build failures and technical errors (misconfigurations, etc) separately @@ -29,6 +28,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump Cachix to fix a few bugs (errors with too many derivations, performance fixes, etc.) + - Modern BoehmGC initial settings for Nix memory limits + ## [0.3.2] - 2019-08-11 ### Fixed