From a5a7715f90346ab046b42363ad8f75307589ec3f Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Sat, 15 Mar 2025 22:46:21 +0100 Subject: [PATCH] [bitnami/valkey-cluster] Release valkey-cluster-8.0.2-debian-12-r6 (#78939) Signed-off-by: Bitnami Bot Co-authored-by: Bitnami Bot --- .../valkey-cluster/8.0/debian-12/Dockerfile | 7 ++- .../opt/bitnami/.bitnami_components.json | 2 +- .../prebuildfs/opt/bitnami/scripts/liblog.sh | 48 +++++++++++++++---- 3 files changed, 44 insertions(+), 13 deletions(-) diff --git a/bitnami/valkey-cluster/8.0/debian-12/Dockerfile b/bitnami/valkey-cluster/8.0/debian-12/Dockerfile index bdc3d3545dba..7c047843758e 100644 --- a/bitnami/valkey-cluster/8.0/debian-12/Dockerfile +++ b/bitnami/valkey-cluster/8.0/debian-12/Dockerfile @@ -8,11 +8,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-02-20T15:16:14Z" \ + org.opencontainers.image.created="2025-03-15T18:42:10Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/valkey-cluster/README.md" \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="8.0.2-debian-12-r5" \ + org.opencontainers.image.ref.name="8.0.2-debian-12-r6" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/valkey-cluster" \ org.opencontainers.image.title="valkey-cluster" \ org.opencontainers.image.vendor="Broadcom, Inc." \ @@ -29,7 +28,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl libgomp1 libssl3 procps RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "wait-for-port-1.0.8-13-linux-${OS_ARCH}-debian-12" \ + "wait-for-port-1.0.8-14-linux-${OS_ARCH}-debian-12" \ "valkey-8.0.2-1-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ diff --git a/bitnami/valkey-cluster/8.0/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/valkey-cluster/8.0/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index 96f36fdc1508..832d36ae28d0 100644 --- a/bitnami/valkey-cluster/8.0/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/valkey-cluster/8.0/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -9,6 +9,6 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "1.0.8-13" + "version": "1.0.8-14" } } \ No newline at end of file diff --git a/bitnami/valkey-cluster/8.0/debian-12/prebuildfs/opt/bitnami/scripts/liblog.sh b/bitnami/valkey-cluster/8.0/debian-12/prebuildfs/opt/bitnami/scripts/liblog.sh index 450f05bd823f..1e18ef9866fa 100644 --- a/bitnami/valkey-cluster/8.0/debian-12/prebuildfs/opt/bitnami/scripts/liblog.sh +++ b/bitnami/valkey-cluster/8.0/debian-12/prebuildfs/opt/bitnami/scripts/liblog.sh @@ -39,7 +39,14 @@ stderr_print() { # None ######################### log() { - stderr_print "${CYAN}${MODULE:-} ${MAGENTA}$(date "+%T.%2N ")${RESET}${*}" + local color_bool="${BITNAMI_COLOR:-true}" + # comparison is performed without regard to the case of alphabetic characters + shopt -s nocasematch + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]]; then + stderr_print "${CYAN}${MODULE:-} ${MAGENTA}$(date "+%T.%2N ")${RESET}${*}" + else + stderr_print "${MODULE:-} $(date "+%T.%2N ")${*}" + fi } ######################## # Log an 'info' message @@ -49,7 +56,14 @@ log() { # None ######################### info() { - log "${GREEN}INFO ${RESET} ==> ${*}" + local msg_color="" + local color_bool="${BITNAMI_COLOR:-true}" + # comparison is performed without regard to the case of alphabetic characters + shopt -s nocasematch + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]];then + msg_color="$GREEN" + fi + log "${msg_color}INFO ${RESET} ==> ${*}" } ######################## # Log message @@ -59,7 +73,14 @@ info() { # None ######################### warn() { - log "${YELLOW}WARN ${RESET} ==> ${*}" + local msg_color="" + local color_bool="${BITNAMI_COLOR:-true}" + # comparison is performed without regard to the case of alphabetic characters + shopt -s nocasematch + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]];then + msg_color="$YELLOW" + fi + log "${msg_color}WARN ${RESET} ==> ${*}" } ######################## # Log an 'error' message @@ -69,7 +90,14 @@ warn() { # None ######################### error() { - log "${RED}ERROR${RESET} ==> ${*}" + local msg_color="" + local color_bool="${BITNAMI_COLOR:-true}" + # comparison is performed without regard to the case of alphabetic characters + shopt -s nocasematch + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]];then + msg_color="$RED" + fi + log "${msg_color}ERROR${RESET} ==> ${*}" } ######################## # Log a 'debug' message @@ -81,12 +109,16 @@ error() { # None ######################### debug() { - # 'is_boolean_yes' is defined in libvalidations.sh, but depends on this file so we cannot source it - local bool="${BITNAMI_DEBUG:-false}" + local msg_color="" + local color_bool="${BITNAMI_COLOR:-true}" # comparison is performed without regard to the case of alphabetic characters shopt -s nocasematch - if [[ "$bool" = 1 || "$bool" =~ ^(yes|true)$ ]]; then - log "${MAGENTA}DEBUG${RESET} ==> ${*}" + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]] ;then + msg_color="$MAGENTA" + fi + local debug_bool="${BITNAMI_DEBUG:-false}" + if [[ "$debug_bool" = 1 || "$debug_bool" =~ ^(yes|true)$ ]]; then + log "${msg_color}DEBUG${RESET} ==> ${*}" fi }