#!/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="" declare -a IMAGE_FILES function usage { cat >&2 < ] [-i, --image-file ] [--label