From 37fdc7821a43a45ddffe9623ad4fe738469e4c7e Mon Sep 17 00:00:00 2001 From: vladd-bit Date: Fri, 12 Dec 2025 14:03:08 +0000 Subject: [PATCH 1/2] Updated Nifi+Nifi-registry to 2.7.0. --- deploy/nifi.env | 2 +- deploy/services-dev.yml | 2 +- deploy/services.yml | 2 +- nifi/Dockerfile | 2 +- services/nginx/config/nginx.conf | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deploy/nifi.env b/deploy/nifi.env index 35826b8da..14c47c818 100644 --- a/deploy/nifi.env +++ b/deploy/nifi.env @@ -3,7 +3,7 @@ NIFI_ENV_FILE="./nifi.env" NIFI_SECURITY_DIR="../security/certificates/nifi/" NIFI_DATA_PATH="../data/" -NIFI_VERSION="2.6.0" +NIFI_VERSION="2.7.0" NIFI_TOOLKIT_VERSION=$NIFI_VERSION NIFI_SHM_SIZE="1g" diff --git a/deploy/services-dev.yml b/deploy/services-dev.yml index 24d944bd3..cc4fa8963 100644 --- a/deploy/services-dev.yml +++ b/deploy/services-dev.yml @@ -115,7 +115,7 @@ services: - cognet nifi-registry-flow: - image: apache/nifi-registry:${NIFI_REGISTRY_VERSION:-2.6.0} + image: apache/nifi-registry:${NIFI_REGISTRY_VERSION:-2.7.0} hostname: nifi-registry container_name: cogstack-nifi-registry-flow restart: always diff --git a/deploy/services.yml b/deploy/services.yml index 362308a57..509020230 100644 --- a/deploy/services.yml +++ b/deploy/services.yml @@ -498,7 +498,7 @@ services: nifi-registry-flow: <<: *nifi-common - image: apache/nifi-registry:${NIFI_REGISTRY_VERSION:-2.6.0} + image: apache/nifi-registry:${NIFI_REGISTRY_VERSION:-2.7.0} hostname: nifi-registry container_name: cogstack-nifi-registry-flow shm_size: ${NIFI_REGISTRY_SHM_SIZE:-"1g"} diff --git a/nifi/Dockerfile b/nifi/Dockerfile index 35aa3f2d7..ebd15868f 100644 --- a/nifi/Dockerfile +++ b/nifi/Dockerfile @@ -1,4 +1,4 @@ -ARG NIFI_VERSION=2.6.0 +ARG NIFI_VERSION=2.7.0 FROM apache/nifi:${NIFI_VERSION} diff --git a/services/nginx/config/nginx.conf b/services/nginx/config/nginx.conf index 486d70328..cb20836a2 100644 --- a/services/nginx/config/nginx.conf +++ b/services/nginx/config/nginx.conf @@ -238,14 +238,14 @@ http { # proxy_pass https://nifi$1; # } - location ^~ /nifi-standard-content-viewer-2.6.0/ { + location ^~ /nifi-standard-content-viewer-2.7.0/ { proxy_set_header Host nifi; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-ProxyHost $host; proxy_set_header X-ProxyPort 8443; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-ProxyScheme $scheme; - proxy_pass https://nifi/nifi-standard-content-viewer-2.6.0/; + proxy_pass https://nifi/nifi-standard-content-viewer-2.7.0/; } } } From 35f80a39ef339ba093896b882df8bfd22d195915 Mon Sep 17 00:00:00 2001 From: vladd-bit Date: Fri, 12 Dec 2025 14:18:59 +0000 Subject: [PATCH 2/2] Scripts: added azure-cli to install stack --- scripts/installation_utils/install_docker_and_utils.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/installation_utils/install_docker_and_utils.sh b/scripts/installation_utils/install_docker_and_utils.sh index 97e0491b1..e3a7483f0 100644 --- a/scripts/installation_utils/install_docker_and_utils.sh +++ b/scripts/installation_utils/install_docker_and_utils.sh @@ -24,6 +24,9 @@ then curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg sudo chmod a+r /etc/apt/keyrings/docker.gpg + echo "Installing Azure CLI..." + curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash + echo \ "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ @@ -67,6 +70,10 @@ then # install necessary prerequisites sudo yum install -y jq yum-utils wget curl git device-mapper-persistent-data lvm2 python3 python3-pip libffi-devel openssl-devel zip unzip tar nano gcc gcc-c++ make python3-devel libevent-devel + + echo "Installing Azure CLI..." + sudo rpm --import https://packages.microsoft.com/keys/microsoft-2025.asc + sudo dnf install azure-cli sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum-config-manager --enable docker-ce-stable