Add exception for helm-mapkubeapis tarball
Helm plugin mapkubeapis needs to be installed to help application user deal with deprecated kubernetes resources apis. The plugin tarball must be added to the exceptions of dl_tarball as the script by default untars with `--strip-components 1`, thus removing the plugin binary before recompressing Story: 2009138 Task: 46022 Signed-off-by: Lucas Cavalcante <lucasmedeiros.cavalcante@windriver.com> Change-Id: I4aac5b865bd1c4db519717135fbaa81ea2bda6cb
This commit is contained in:
parent
57042a1e16
commit
3305c4504f
@ -306,6 +306,13 @@ for line in $(cat $tarball_file); do
|
|||||||
popd > /dev/null # pushd $output_tarball
|
popd > /dev/null # pushd $output_tarball
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
elif [[ "$tarball_name" = "helm-mapkubeapis_0.3.0.tar.gz" ]]; then
|
||||||
|
download_file --quiet "$tarball_url" "$tarball_name"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
error_count=$((error_count + 1))
|
||||||
|
popd > /dev/null # pushd $output_tarball
|
||||||
|
continue
|
||||||
|
fi
|
||||||
elif [[ "$tarball_name" = 'OPAE_1.3.7-5_el7.zip' ]]; then
|
elif [[ "$tarball_name" = 'OPAE_1.3.7-5_el7.zip' ]]; then
|
||||||
srpm_path="${directory_name}/source_code/"
|
srpm_path="${directory_name}/source_code/"
|
||||||
download_file --quiet "$tarball_url" "$tarball_name"
|
download_file --quiet "$tarball_url" "$tarball_name"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user