
Summary of changes: - Add charmcraft.yaml to build the charm using charmcraft-2.2 - Add osci.yaml to run CI jobs on zosci - Align tox.ini and src/tox.ini with the rest of the charms - Add testing bundles jammy-zed, jammy-antelope and lunar-antelope. The other bundles are dropped - Clean up requirements.txt removing unneeded dependencies - Update metadata.yaml to declare jammy and lunar only - Use generic zuul job templates - Add src/wheelhouse.txt - Install python3-apt instead of python-apt - Drop pip.sh - Drop unneeded pining from test-requirements.txt Change-Id: I28df31910c869f813682c3b436e5481dc607772e
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
|