Commit graph

613 commits

Author SHA1 Message Date
Jörg Thalheim 004c989ddc
Merge pull request #12 from nix-community/ci
update flakes
2021-11-16 07:57:09 +00:00
Jörg Thalheim 42ea2ec12e update flakes 2021-11-16 08:48:08 +01:00
Jörg Thalheim b7230f5e4b ci: drop hard-coded flake installer 2021-11-16 08:48:04 +01:00
adisbladis 49120eef7c
Merge pull request #11 from nix-community/dependabot/github_actions/cachix/install-nix-action-15
Bump cachix/install-nix-action from 14 to 15
2021-11-16 01:54:22 +00:00
dependabot[bot] aa86d0c567
Bump cachix/install-nix-action from 14 to 15
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 14 to 15.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v14...v15)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 23:11:14 +00:00
Jörg Thalheim 0b85ecf31a
Merge pull request #8 from nix-community/ci-update
README + Ci + nixpkgs update
2021-10-09 15:20:27 +01:00
Jörg Thalheim b196a08ee3
Update README.md 2021-10-09 12:26:22 +01:00
Jörg Thalheim 28ff04751e add a real README 2021-10-09 13:22:02 +02:00
Jörg Thalheim a22fa0b97b bump nix-unstable 2021-10-09 12:50:39 +02:00
Jörg Thalheim f4026e6bf3 drop nixPath from matrix 2021-10-09 12:46:50 +02:00
Jörg Thalheim 20751faaff bump nixpkgs 2021-10-09 12:46:01 +02:00
adisbladis a697528143
Attempt to fix clasical Nix tests 2021-09-24 22:34:46 -05:00
adisbladis 0d3e7c2240
Add nixpkgs-fmt + associated checks 2021-09-24 22:18:46 -05:00
adisbladis 9030f0f8c5
Move devShell from flake.nix to separate shell.nix
Again, to facilitate non-flake development.
2021-09-24 22:12:56 -05:00
adisbladis 7550bb8cc1
Move hydra.nix to default.nix
So it's easier to use as a classic (non-flake) Nix expression.
2021-09-24 22:02:34 -05:00
Jörg Thalheim 2a382fe9f5
Merge pull request #6 from nix-community/dependabot/github_actions/cachix/install-nix-action-14
Bump cachix/install-nix-action from 13 to 14
2021-09-14 07:04:58 +01:00
dependabot[bot] 2d169571e4
Bump cachix/install-nix-action from 13 to 14
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 23:07:08 +00:00
adisbladis 0648bc0cb8
Select flake output by the flake fragment 2021-08-26 18:48:56 -05:00
adisbladis 434376f8e1
Remove outputs from JSON output
The output of the evaluator should only include either the full
derivation (not yet implemented) or fields not directly accessible
from the drv such as meta.

Right now the output is a fairly arbitrary selection of fields.
2021-08-26 18:48:56 -05:00
adisbladis 8ccdf6497c
Add build to flake checks 2021-08-25 14:06:20 -05:00
adisbladis 0e3df9f5d5
Update CI stable channel to 21.05 2021-08-25 14:01:17 -05:00
adisbladis ebe49463b8
Add editorconfig-checker 2021-08-25 13:58:43 -05:00
adisbladis aa0b6fd4a8
Add editorconfig file 2021-08-25 13:58:43 -05:00
adisbladis a6171c9a62
Switch to streaming output (using line delimited JSON) 2021-08-25 13:58:42 -05:00
adisbladis 0c93e00635
Fix pytest tests 2021-08-25 03:36:32 -05:00
adisbladis 9bfc3762eb
Update github actions workflow with new naming scheme 2021-08-25 03:29:10 -05:00
adisbladis 4c28ae88a6
Skip non-serialisable *Value in output
Most notably this includes derivations which should be fixed and
serialised to store paths.
2021-08-25 03:12:19 -05:00
adisbladis be59cd8bfb
Remove unused output 2021-08-25 03:12:03 -05:00
adisbladis f8dad73ac8
Move outputs definition closer to use 2021-08-25 03:11:16 -05:00
adisbladis 08499559fc
Bump nixpkgs / flake.lock 2021-08-24 19:30:55 -05:00
adisbladis 8f2e588dbd
Set correct license in Nix expression
Hydra upstream was always GPL3 licensed, so by extension this repo is also GPL3.
2021-08-24 18:23:49 -05:00
adisbladis a80fc92bc1
Remove deprecated use of stdenv.lib 2021-08-24 14:07:11 -05:00
adisbladis a4441fe1c8
Remove support for Hydra aggregate jobs
This might be a somewhat useful feature for Hydra, but not for a generic Nix evaluator.
2021-08-24 14:06:32 -05:00
adisbladis 174e735183
Rename project to nix-eval-jobs
We are getting rid of Hydra specific hacks and making this a more
generically useful component for any projects that need to run
large evaluations.
2021-08-24 14:06:27 -05:00
Jörg Thalheim 273b761919
Merge pull request #5 from adisbladis/meta-fields
Add full meta to output
2021-08-24 06:01:58 +01:00
adisbladis 1774f874ee
Remove superflous meta fields from output
Since meta is now included in it's entirety we no longer need to output them separately.
2021-08-23 18:38:46 -05:00
adisbladis 19823c899d
Add full meta to output
While the current output may be sufficient for Hydra it's not enough
for a more generically useful evaluator.
2021-08-23 18:33:19 -05:00
adisbladis b92dfbba57
Use python3.withPackages to pull in pytest
Using the other method leaks into PYTHONPATH.
2021-08-23 12:20:16 -05:00
Jörg Thalheim fc1ef1e4cb
Merge pull request #4 from Mic92/dependabot/github_actions/cachix/install-nix-action-v13
Bump cachix/install-nix-action from v12 to v13
2021-04-05 16:10:31 +01:00
dependabot[bot] 4af1e548e9
Bump cachix/install-nix-action from v12 to v13
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from v12 to v13.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v12...8d6d5e949675fbadb765c6b1a975047fa5f09b27)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-05 07:49:05 +00:00
Jörg Thalheim e55885c021
Merge pull request #3 from Mic92/ci 2021-03-21 18:37:31 +00:00
Jörg Thalheim 76c3e68ccd
run tests in CI 2021-03-21 19:31:57 +01:00
Jörg Thalheim 71cbe4eab4
output missing/substitutable derivations in eval output 2021-03-21 19:05:11 +01:00
Jörg Thalheim 617d4ee151
add --impure flag for flakes 2021-03-21 18:39:32 +01:00
Jörg Thalheim f00607a7c6
exit hydra-eval-jobs after printing help 2021-03-21 18:38:56 +01:00
Jörg Thalheim b48e9667dc
make gcRootsDir local
just to avoid unecessary globals
2021-03-21 18:37:18 +01:00
Jörg Thalheim 2d58d8a513
gitignore python 2021-03-21 18:35:16 +01:00
Jörg Thalheim f77d11ba2d
Merge pull request #2 from Mic92/ci 2021-03-15 05:32:56 +00:00
Jörg Thalheim 620300b1fb
add flake to ci 2021-03-15 06:25:17 +01:00
Jörg Thalheim 7745ffbab0
add ci configuration 2021-03-15 06:22:11 +01:00