Update stx-platformclients image to stx.11.0-v1.0.0

- 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 <sabyasachi.nayak@windriver.com>
This commit is contained in:
Sabyasachi Nayak
2025-05-06 06:21:50 -04:00
parent 20411767dc
commit c06b8e37ff
2 changed files with 5 additions and 2 deletions

View File

@@ -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.

View File

@@ -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"