From ef46042ae04b3de8fb6dbedad5c907571856bd47 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Tue, 23 Jun 2026 14:57:06 +0300 Subject: [PATCH 1/4] Stopped dumping generated JSON to console Ticket: ENT-12619 Signed-off-by: Ihor Aleksandrychiev (cherry picked from commit 3b17f168cf2b41186528643fc5f1c822fecb64ed) --- generator/_regenerate_json.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/generator/_regenerate_json.sh b/generator/_regenerate_json.sh index bc4ba4201..1e875a927 100755 --- a/generator/_regenerate_json.sh +++ b/generator/_regenerate_json.sh @@ -72,11 +72,6 @@ do "$cf_promises" --eval-functions --policy-output-format=json ${policy} | sed '/ error\:.*/d' > ${out} # Do we need --eval-functions? echo "Writing '${out}'" - printf '%0.1s' "-"{1..60} - echo - cat "${out}" - printf '%0.1s' "-"{1..60} - echo done # We extract the --help output from each component for inclusion in the component specific documentation page under reference/components/ From 0802b0b805198b6ca83ef96cbc1735e066ece826 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Tue, 23 Jun 2026 15:02:16 +0300 Subject: [PATCH 2/4] Download hugo in the non-verbose mode Signed-off-by: Ihor Aleksandrychiev (cherry picked from commit 5baae57b9b1277b5b05ad65dee60cfce14eca4cc) --- generator/build/install_hugo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/build/install_hugo.sh b/generator/build/install_hugo.sh index ebe5a4ced..6c83e0628 100644 --- a/generator/build/install_hugo.sh +++ b/generator/build/install_hugo.sh @@ -1,6 +1,6 @@ #!/bin/bash -wget https://github.com/gohugoio/hugo/releases/download/v0.148.1/hugo_0.148.1_Linux-64bit.tar.gz -O hugo.tar.gz +wget -nv https://github.com/gohugoio/hugo/releases/download/v0.148.1/hugo_0.148.1_Linux-64bit.tar.gz -O hugo.tar.gz echo "69f787720e7bad18f13dce9d7c494f4a908bfdffbfdea483e6df529268aeec37 hugo.tar.gz" | sha256sum -c if [ $? -eq 1 ]; then exit 2 From 72b55275151a6e41c7b6254fcd0ab302bd65d2c3 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Tue, 23 Jun 2026 15:25:24 +0300 Subject: [PATCH 3/4] Bumped Node.js version to 21 Signed-off-by: Ihor Aleksandrychiev (cherry picked from commit 6780e8fb70e20ee1d6ee567de1d2a503b4914c1b) --- generator/build/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/build/install.sh b/generator/build/install.sh index f80037d22..561831b7a 100644 --- a/generator/build/install.sh +++ b/generator/build/install.sh @@ -27,7 +27,7 @@ sudo apt-get install -y gawk g++ gcc autoconf automake bison libc6-dev libffi-de sudo apt-get install -y default-jdk -curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh +curl -sL https://deb.nodesource.com/setup_21.x -o nodesource_setup.sh sudo bash nodesource_setup.sh sudo apt-get install -y nodejs node --version From 5b31b5a8fcff00325cc2ab45f515aafd0a8092cd Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Tue, 23 Jun 2026 15:27:47 +0300 Subject: [PATCH 4/4] Silenced apt output in CI Signed-off-by: Ihor Aleksandrychiev (cherry picked from commit 8141a58a76f929cdca3ad25de8591ca7dcd6d1ad) --- generator/build/install.sh | 14 +++++++------- generator/build/main.sh | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/generator/build/install.sh b/generator/build/install.sh index 561831b7a..846ff19f5 100644 --- a/generator/build/install.sh +++ b/generator/build/install.sh @@ -4,31 +4,31 @@ set -ex # All of these commands are executed by the jenkins user. -sudo apt-get install -y curl gnupg2 wget git +sudo apt-get install -y -qq curl gnupg2 wget git # some of packages below depend on tzdata. Installing it without DEBIAN_FRONTEND=noninteractive causes it to ask where in the world are you, interrupting the build process -DEBIAN_FRONTEND=noninteractive sudo --preserve-env=DEBIAN_FRONTEND apt-get install -y tzdata +DEBIAN_FRONTEND=noninteractive sudo --preserve-env=DEBIAN_FRONTEND apt-get install -y -qq tzdata # Docslave specifics # These packages are needed as a dependency of the nokogiri ruby gem (which in turn is a dependency of the sanitize ruby gem). -sudo apt-get install -y libxslt-dev libxml2-dev +sudo apt-get install -y -qq libxslt-dev libxml2-dev # Python is needed for our pre and post processing scripts. -sudo apt-get install -y python3 +sudo apt-get install -y -qq python3 # These packages are needed to satisfy rvm requirements. # hint: to figure out rvm requirements, comment this line and watch output of `rvm install ... ruby`. # To make script stop at that command, change --autolibs argument to read-fail. # Also you likely will want to exclude 'libssl1.0-dev' since it's and openssl 1.0 library, which is not shipped on modern distros. -sudo apt-get install -y gawk g++ gcc autoconf automake bison libc6-dev libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libtool libyaml-dev make pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev +sudo apt-get install -y -qq gawk g++ gcc autoconf automake bison libc6-dev libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev libtool libyaml-dev make pkg-config sqlite3 zlib1g-dev libgmp-dev libreadline-dev -sudo apt-get install -y default-jdk +sudo apt-get install -y -qq default-jdk curl -sL https://deb.nodesource.com/setup_21.x -o nodesource_setup.sh sudo bash nodesource_setup.sh -sudo apt-get install -y nodejs +sudo apt-get install -y -qq nodejs node --version npm --version diff --git a/generator/build/main.sh b/generator/build/main.sh index 6873687ea..028870218 100644 --- a/generator/build/main.sh +++ b/generator/build/main.sh @@ -78,8 +78,8 @@ test ! -z "$PACKAGE_BUILD" echo "Install hub package" if [ "$PACKAGE_JOB" = "cf-remote" ]; then echo "Install using cf-remote" - sudo apt update -y - sudo apt install -y python3-venv pipx + sudo apt update -y -qq + sudo apt install -y -qq python3-venv pipx pipx install cf-remote export PATH="$HOME/.local/bin:$PATH" # shellcheck source=/dev/null