f98b1a5b40
These packages require the following files in a local mirror: * chartmuseum-0.12.0.tar.gz * chartmuseum-v0.12.0-amd64 * helm-v3.2.1-linux-amd64.tar.gz Story: 2009101 Task: 43715 Signed-off-by: Tracey Bogue <tracey.bogue@windriver.com> Change-Id: I85c854f1fb62efa993a030fe06105bb2c0751165
19 lines
547 B
Bash
Executable File
19 lines
547 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
PKG_BUILD_NAME=$1
|
|
PKG_BUILD_ROOT=$(realpath `pwd`/${PKG_BUILD_NAME})
|
|
STX_BASE=$(realpath ${MY_REPO}/stx)
|
|
SRC=$(realpath ${STX_BASE}/integ/kubernetes/helm/centos/files)
|
|
|
|
mkdir ${PKG_BUILD_ROOT}
|
|
pushd ${PKG_BUILD_ROOT}
|
|
cp -pr ${SRC}/* ${PKG_BUILD_ROOT}/
|
|
|
|
# Local mirror workaround until CGCS_BASE mirror is supported.
|
|
STX_MIRROR=$(realpath "/import/mirrors/starlingx")
|
|
|
|
# Download and extract helm source package.
|
|
HELM_SOURCE=$(realpath ${STX_MIRROR}/downloads/helm-v3.2.1-linux-amd64.tar.gz)
|
|
cp ${HELM_SOURCE} ${PKG_BUILD_ROOT}
|