#!/bin/bash # # Copyright (c) 2024 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # # This utility retrieves StarlingX helm-charts # from the build output and re-packages them # in a single openstack-helm.tgz tarball # BUILD_HELM_CHARTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source $BUILD_HELM_CHARTS_DIR/utils.sh || exit 1 SUPPORTED_OS_ARGS=('debian') OS= LABEL="" APP_NAME="stx-openstack" APP_VERSION_BASE="helm-charts-release-info.inc" APP_VERSION_FILE="" APP_VERSION="" declare -a IMAGE_RECORDS declare -a PATCH_DEPENDENCIES declare -a APP_PACKAGES declare -a CHART_PACKAGE_FILES declare -a IGNORE_CHARTS # PYTHON_2_OR_3: initialized below VERBOSE=false CPIO_FLAGS= TAR_FLAGS= function usage { cat >&2 <] [-a, --app ] [-A, --app-version-file /path/to/$APP_VERSION_BASE] [-B, --app-version ] [--package ] [-i, --image-record ] [--label