-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elk: 6.2.4 -> 6.3.2 #44038
elk: 6.2.4 -> 6.3.2 #44038
Conversation
* The ELK stack is upgraded to 6.3.2. * `elasticsearch6`, `logstash6` and `kibana6` now come with X-Pack which is a suite of additional features. These are however licensed under the unfree "Elastic License". * Fortunately they also provide OSS versions which are now packaged under: `elasticsearch6-oss`, `logstash6-oss` and `kibana6-oss`. Note that the naming of the attributes is consistent with upstream. * The test `nix-build nixos/tests/elk.nix -A ELK-6` will test the OSS version by default. You can also run the test on the unfree ELK using: `NIXPKGS_ALLOW_UNFREE=1 nix-build nixos/tests/elk.nix -A ELK-6 --arg enableUnfree true`
@GrahamcOfBorg test elk.ELK-6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed elasticsearch/kibana disappeared from hydra in 18.09, I don't think we want that unless there's a good very reason to do so.
@@ -1,17 +1,45 @@ | |||
{ stdenv, makeWrapper, fetchurl, elk6Version, nodejs, coreutils, which }: | |||
{ elk6Version | |||
, enableUnfree ? true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would we want pkgs.kibana
to be unfree by default? We don't enable allowUnfree by default so this package wouldn't be available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I chose to follow the upstream naming convention. The default ELK packages have become unfree. OSS versions are now packaged
under: elasticsearch6-oss
, logstash6-oss
and kibana6-oss
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also see: 3f889f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I missed that part, and the changelog entry explains what's going on. I was only lookig at hydra jobs.
@@ -1,14 +1,26 @@ | |||
{ stdenv, fetchurl, elk6Version, makeWrapper, jre_headless, utillinux }: | |||
{ elk6Version | |||
, enableUnfree ? true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
This is WIP. Please don't merge yet!Motivation for this change
https://www.elastic.co/guide/en/elasticsearch/reference/6.3/release-notes-6.3.0.html
Also the private X-Pack is now opened up and moved into the ELK repositories. See: https://www.elastic.co/products/x-pack/open
Things done
The ELK stack is upgraded to 6.3.0.
elasticsearch6
,logstash6
andkibana6
now come with X-Pack which isa suite of additional features. These are however licensed under the unfree
"Elastic License".
Fortunately they also provide OSS versions which are now packaged
under:
elasticsearch6-oss
,logstash6-oss
andkibana6-oss
.Note that the naming of the attributes is consistent with upstream.
The test
nix-build nixos/tests/elk.nix -A ELK-6
will test the OSSversion by default. You can also run the test on the unfree ELK using:
NIXPKGS_ALLOW_UNFREE=1 nix-build nixos/tests/elk.nix -A ELK-6 --arg enableUnfree true
That still fails however. Working on it...sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)