#!/bin/bash # # Copyright (c) 2018 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 # # Required env vars if [ -z "${MY_WORKSPACE}" -o -z "${MY_REPO}" ]; then echo "Environment not setup for builds" >&2 exit 1 fi SUPPORTED_OS_ARGS=('centos') OS=centos LABEL="" APP_NAME="stx-openstack" APP_VERSION="" declare -a IMAGE_RECORDS declare -a PATCH_DEPENDENCIES declare -a APP_HELM_FILES declare -a APP_RPMS function usage { cat >&2 < ] [-a, --app ] [-r, --rpm ] [-i, --image-record ] [--label