Skip to content

Commit

Permalink
Merge pull request #114 from hercules-ci/v0.3.1
Browse files Browse the repository at this point in the history
hercules-ci-agent-0.3.1
  • Loading branch information
domenkozar authored Aug 7, 2019
2 parents eb8e4cc + b27a817 commit fdd8eeb
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 36 deletions.
2 changes: 1 addition & 1 deletion for-upstream/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ in
type = types.string;
};
package = let
version = "0.3.0";
version = "0.3.1";
in mkOption {
description = "Package containing the bin/hercules-ci-agent program";
type = types.package;
Expand Down
26 changes: 24 additions & 2 deletions hercules-ci-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.0] - 2019-07-05
## [0.3.1] - 2019-08-07

### Changed

- Emit a log when evaluator starts to push to cachix

- Increase attribute limit to 50k

- Pin nixpkgs commit and speed up compilation via https://hercules-ci.cachix.org


### Fixed

- Possible exception during evaluation was not propagated,
resulting into lack of retries

- #8: Refresh agent session on cluster join token change

- Fix segfault on involved IFD project (remove a finalizer)

- Cachix: fix a crash with a lot of attributes (when determining closure graph)

## [0.3.0] - 2019-07-05

### Changed

Expand Down Expand Up @@ -65,7 +86,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release

[0.3]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.2...hercules-ci-agent-0.3
[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
[0.1.1]: https://github.com/hercules-ci/hercules-ci-agent/compare/hercules-ci-agent-0.1.0.0...hercules-ci-agent-0.1.1
[Unreleased]: https://github.com/hercules-ci/hercules-ci-agent/compare/stable...master
Expand Down
2 changes: 1 addition & 1 deletion hercules-ci-agent/hercules-ci-agent.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 1.12

name: hercules-ci-agent
version: 0.3.0
version: 0.3.1
homepage: https://docs.hercules-ci.com
bug-reports: https://github.com/hercules-ci/hercules-ci-agent/issues
author: Hercules Labs
Expand Down
35 changes: 18 additions & 17 deletions hercules-ci-agent/pkg.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ mkDerivation, aeson, async, attoparsec, base, bdw-gc, binary
, binary-conduit, bytestring, cachix, cachix-api, conduit
, conduit-extra, containers, directory, exceptions, filepath
, hercules-ci-api, hostname, hspec, http-client, http-client-tls
, http-conduit, inline-c, inline-c-cpp, katip, lens, lens-aeson
, lifted-async, lifted-base, monad-control, mtl, network
, nix-derivation, nix-expr, nix-main, nix-store
{ mkDerivation, aeson, async, attoparsec, base, base64-bytestring
, bdw-gc, binary, binary-conduit, bytestring, cachix, cachix-api
, conduit, conduit-extra, containers, directory, exceptions
, filepath, hercules-ci-api, hostname, hspec, http-client
, http-client-tls, http-conduit, inline-c, inline-c-cpp, katip
, lens, lens-aeson, lifted-async, lifted-base, monad-control, mtl
, network, nix-derivation, nix-expr, nix-main, nix-store
, optparse-applicative, process, protolude, safe-exceptions
, servant, servant-auth-client, servant-client, servant-client-core
, stdenv, stm, system-filepath, temporary, text, time, tomland
Expand All @@ -13,7 +13,7 @@
}:
mkDerivation {
pname = "hercules-ci-agent";
version = "0.3.0";
version = "0.3.1";
src = ./hercules-ci-agent;
isLibrary = true;
isExecutable = true;
Expand All @@ -24,15 +24,16 @@ mkDerivation {
transformers-base
];
executableHaskellDepends = [
aeson async attoparsec base binary binary-conduit bytestring cachix
cachix-api conduit conduit-extra containers directory exceptions
filepath hercules-ci-api hostname http-client http-client-tls
http-conduit inline-c inline-c-cpp katip lens lens-aeson
lifted-async lifted-base monad-control mtl network nix-derivation
optparse-applicative process protolude safe-exceptions servant
servant-auth-client servant-client servant-client-core stm
system-filepath temporary text time tomland transformers
transformers-base unix unliftio-core unordered-containers uuid
aeson async attoparsec base base64-bytestring binary binary-conduit
bytestring cachix cachix-api conduit conduit-extra containers
directory exceptions filepath hercules-ci-api hostname http-client
http-client-tls http-conduit inline-c inline-c-cpp katip lens
lens-aeson lifted-async lifted-base monad-control mtl network
nix-derivation optparse-applicative process protolude
safe-exceptions servant servant-auth-client servant-client
servant-client-core stm system-filepath temporary text time tomland
transformers transformers-base unix unliftio-core
unordered-containers uuid
];
executablePkgconfigDepends = [
bdw-gc nix-expr nix-main nix-store
Expand Down
19 changes: 13 additions & 6 deletions nix/cachix-api.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{ mkDerivation, aeson, base, base16-bytestring, bytestring, conduit
, cookie, cryptonite, deepseq, exceptions, hspec, hspec-discover
, http-api-data, http-media, lens, memory, protolude, resourcet
, servant, servant-auth, servant-auth-server, servant-auth-swagger
, servant-client, servant-swagger, servant-swagger-ui-core, stdenv
, string-conv, swagger2, text, transformers
, cookie, cryptonite, deepseq, exceptions, fetchgit, hspec
, hspec-discover, http-api-data, http-media, lens, memory
, protolude, resourcet, servant, servant-auth, servant-auth-server
, servant-auth-swagger, servant-client, servant-swagger
, servant-swagger-ui-core, stdenv, string-conv, swagger2, text
, transformers
}:
mkDerivation {
pname = "cachix-api";
version = "0.2.1";
src = (import ./sources.nix).cachix + "/cachix-api";
src = fetchgit {
url = "https://github.com/cachix/cachix";
sha256 = "169cn7airf8kw2275ix0aradpips7cip1ki4qyv0rvarjgszri6k";
rev = "d4158f70be7f8b9cf01dd885c4adf1c101880f2f";
fetchSubmodules = true;
};
postUnpack = "sourceRoot+=/cachix-api; echo source root reset to $sourceRoot";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
Expand Down
25 changes: 16 additions & 9 deletions nix/cachix.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{ mkDerivation, async, base, base16-bytestring, base64-bytestring
, bytestring, cachix-api, conduit, conduit-extra, containers
, cookie, cryptonite, dhall, directory, ed25519, filepath, fsnotify
, here, hspec, hspec-discover, http-client, http-client-tls
, http-conduit, http-types, inline-c, inline-c-cpp, lzma-conduit
, megaparsec, memory, mmorph, netrc, nix-main, nix-store
, optparse-applicative, process, protolude, resourcet, retry
, safe-exceptions, servant, servant-auth, servant-auth-client
, servant-client, servant-client-core, servant-conduit, stdenv
, temporary, text, unix, uri-bytestring, versions
, cookie, cryptonite, dhall, directory, ed25519, fetchgit, filepath
, fsnotify, here, hspec, hspec-discover, http-client
, http-client-tls, http-conduit, http-types, inline-c, inline-c-cpp
, lzma-conduit, megaparsec, memory, mmorph, netrc, nix-main
, nix-store, optparse-applicative, process, protolude, resourcet
, retry, safe-exceptions, servant, servant-auth
, servant-auth-client, servant-client, servant-client-core
, servant-conduit, stdenv, temporary, text, unix, uri-bytestring
, versions
}:
mkDerivation {
pname = "cachix";
version = "0.2.1";
src = (import ./sources.nix).cachix + "/cachix";
src = fetchgit {
url = "https://github.com/cachix/cachix";
sha256 = "169cn7airf8kw2275ix0aradpips7cip1ki4qyv0rvarjgszri6k";
rev = "d4158f70be7f8b9cf01dd885c4adf1c101880f2f";
fetchSubmodules = true;
};
postUnpack = "sourceRoot+=/cachix; echo source root reset to $sourceRoot";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
Expand Down

0 comments on commit fdd8eeb

Please sign in to comment.