2ae1c68c7c
Adds necessary requirements, osci.yaml, charmcraft.yaml etc for migrationg to charmhub. Additionally, adds xena and yoga tests and updates the charm overlay for appropriate netapp values. local_overlay_enabled is set to True as it now defaults to False. Note that the actual functional tests are still disabled due to [1] 1 - https://bugs.launchpad.net/charm-manila-netapp/+bug/1922214 Change-Id: Ic9354434792ec1faa42406f4f3cf461a96cfc020
14 lines
321 B
Bash
Executable File
14 lines
321 B
Bash
Executable File
#!/bin/bash
|
|
charm=$(grep "charm_build_name" osci.yaml | awk '{print $2}')
|
|
echo "renaming ${charm}_*.charm to ${charm}.charm"
|
|
echo -n "pwd: "
|
|
pwd
|
|
ls -al
|
|
echo "Removing bad downloaded charm maybe?"
|
|
if [[ -e "${charm}.charm" ]];
|
|
then
|
|
rm "${charm}.charm"
|
|
fi
|
|
echo "Renaming charm here."
|
|
mv ${charm}_*.charm ${charm}.charm
|