aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2023-02-03 20:08:15 +0000
committerJake Hunsaker <jhunsake@redhat.com>2023-02-08 15:41:58 -0500
commitda23b44644ae6bb5a2abda444f0cd8e5cc50184e (patch)
treed81e67f3573ea5b59fa7fb994d4602997fed3293 /.cirrus.yml
parentd4f56eeebb277a0c9eb0ef246121edcccb64a8ba (diff)
downloadsos-da23b44644ae6bb5a2abda444f0cd8e5cc50184e.tar.gz
[snap][testing] Fix bionic snap runtime
When the snap is being packaged via core22, it used python3.10 but bionic used python3.6 and seems have runtime issues there. Added the sos alias for testing, to ensure that when the stage one testing is done, that sos is correctly tested within the snap This alternative ensures that the packaging module is packaged in the snap, and can use this if the pkg_resources version does not work Add a wrapper function in utlities, so that the parse_version can be used in a consistent way across the sos project Closes: #3126 Signed-off-by: Arif Ali <arif.ali@canonical.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index feb0cf9b..ecc57a44 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -167,6 +167,7 @@ report_stageone_task:
apt -y install python3-pip snapd
systemctl start snapd
snap install ./sosreport_test_amd64.snap --classic --dangerous
+ snap alias sosreport.sos sos
fi
if [ $(command -v dnf) ]; then
echo "$ARTCURL/rpm%20Build%20From%20Checkout%20-%20${BUILD_NAME}/packages/sos_${BUILD_NAME}.rpm"