Felipe Reyes 60147ad6f6 Migrate charm to charmhub
Summary of changes:
- Use generic job templates in .zuul.yaml and osci.yaml
- Add charmcraft.yaml to make the charm buildable
- Update testing bundles to align with the rest of the charms
- Update metadata.yaml to declare jammy and lunar
- Align tox.ini and src/tox.ini
- Add src/wheelhouse.txt
- Drop pip.sh
- Drop unneded pinning of packages

Change-Id: Iaf4006c8aaa88e95c8af11230183b3c01febc2cf
2023-05-24 20:17:50 +00:00

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