From c06b8e37ff7a116611531176e14b050a5c399773 Mon Sep 17 00:00:00 2001 From: Sabyasachi Nayak Date: Tue, 6 May 2025 06:21:50 -0400 Subject: [PATCH] Update stx-platformclients image to stx.11.0-v1.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated PLATFORM_DOCKER_IMAGE to use stx.11.0-v1.0.0. - Ensured CLI_CONFIRMATIONS environment variable is passed to the container to support conditional user confirmation in CLI commands. Commands used during testing: - system host-lock - fm event-unsuppress - fm event-unsuppress-all Test Plan: The following test cases were executed after the remote client was successfully set up: 1. Verified that when the CLI_CONFIRMATIONS environment variable is unset,executing `system host-lock` proceeds without prompting for user confirmation. 2. Exported CLI_CONFIRMATIONS=enabled and confirmed that running `system host-lock` prompts for user confirmation. 3. Repeated the test by toggling the environment variable (export/unset) multiple times and verified consistent behavior — matching case 1 when unset, and case 2 when set. Story: 2011240 Task: 52104 Change-Id: Id803e9362981f279335cfb2dc2fee4e2b09c49d4 Signed-off-by: Sabyasachi Nayak --- remote_cli/client_wrapper.sh | 5 ++++- remote_cli/docker_image_version.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/remote_cli/client_wrapper.sh b/remote_cli/client_wrapper.sh index 6700f9b..fd8b4ee 100755 --- a/remote_cli/client_wrapper.sh +++ b/remote_cli/client_wrapper.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# Copyright (c) 2019 Wind River Systems, Inc. +# Copyright (c) 2019,2025 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # @@ -40,6 +40,9 @@ OS_AUTH_URL OS_USERNAME OS_INTERFACE OS_PROJECT_DOMAIN_NAME OS_AUTH_TYPE OS_CACERT EOF +# Append CLI-specific environment variables +EXPORTS+=" CLI_CONFIRMATIONS" + # We initialize the environment variable list with the OS_ENDPOINT_TYPE set # "publicURL" because dcmanager defaults to "internalURL" if not overridden # by a parameter to the command itself or by the environment variable. diff --git a/remote_cli/docker_image_version.sh b/remote_cli/docker_image_version.sh index 9bc0fab..727c7b6 100644 --- a/remote_cli/docker_image_version.sh +++ b/remote_cli/docker_image_version.sh @@ -1,2 +1,2 @@ -export PLATFORM_DOCKER_IMAGE="docker.io/starlingx/stx-platformclients:stx.10.0-v1.5.18" +export PLATFORM_DOCKER_IMAGE="docker.io/starlingx/stx-platformclients:stx.11.0-v1.0.0" export APPLICATION_DOCKER_IMAGE="docker.io/starlingx/stx-openstackclients:stx.10.0-v1.0.0"