Upgrade NiFi to `1.24.0`.

main
Joshua Potter 2024-01-22 16:16:47 -07:00
parent d08e5a125f
commit 23a9cb43e8
2 changed files with 6 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# NiFi Dev Shell # NiFi Dev Shell
This is a small flake template for experimenting with [Apache NiFi](https://nifi.apache.org/) This is a small flake template for experimenting with [Apache NiFi](https://nifi.apache.org/)
(version 1.19.0). [direnv](https://direnv.net/) can be used to a launch a dev (version 1.24.0). [direnv](https://direnv.net/) can be used to a launch a dev
shell upon entering this directory (refer to `.envrc`). Otherwise run via: shell upon entering this directory (refer to `.envrc`). Otherwise run via:
```bash ```bash
$ nix develop $ nix develop
@ -13,7 +13,7 @@ can then be used to boot NiFi. Do so by running:
```bash ```bash
$ nix build $ nix build
$ docker load < result $ docker load < result
$ docker run -p 8443:8443 nifi:1.19.0 $ docker run -p 8443:8443 nifi:1.24.0
``` ```
Once running, open `https://localhost:8443/nifi` (notice use of the `https` Once running, open `https://localhost:8443/nifi` (notice use of the `https`
scheme). You can find your login credentials using: scheme). You can find your login credentials using:

View File

@ -15,14 +15,11 @@
{ {
packages = { packages = {
image = pkgs.dockerTools.pullImage { image = pkgs.dockerTools.pullImage {
finalImageName = "apache/nifi";
finalImageTag = "1.24.0";
imageName = "apache/nifi"; imageName = "apache/nifi";
imageDigest = "sha256:8819e20e3e02484fe765790b28b4a5e8c043f50c341a1778956073149774ebd1"; imageDigest = "sha256:dd6fcf708a63d7a43b1e0b1224d3cf754235a7f4e66945119fb2aa6be8d6ee2d";
finalImageName = "nifi"; sha256 = "sha256-l4beU3yEDGFDXCauIPN7nwhTrKf0rZRGcpKvH+a9lo0=";
finalImageTag = "1.19.0";
# docker save image -o <output>
# nix hash --base64 --type sha256 <output>
sha256 = "sha256-BmRUHDhRpRief5oxjlxYgnBn9oPmiXKs2ojyV3sm4M0=";
# docker manifest inspect apache/nifi:1.19.0
os = "linux"; os = "linux";
arch = "amd64"; arch = "amd64";
}; };
@ -31,7 +28,6 @@
}; };
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
# docker run -p 8443:8443 nifi:1.19.0
packages = [ pkgs.docker ]; packages = [ pkgs.docker ];
}; };
}); });