← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~pgentili/hwcert-jenkins-jobs:fix-zapper-upgrade into hwcert-jenkins-jobs:master

 

Paolo Gentili has proposed merging ~pgentili/hwcert-jenkins-jobs:fix-zapper-upgrade into hwcert-jenkins-jobs:master.

Commit message:
Fix: upgrade system packages in zapper-enabled jobs

Requested reviews:
  Sylvain Pineau (sylvain-pineau)

For more details, see:
https://code.launchpad.net/~pgentili/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/431515
-- 
Your team hwcert-jenkins is subscribed to branch hwcert-jenkins-jobs:master.
diff --git a/jobs/zapper/run-zapper.sh b/jobs/zapper/run-zapper.sh
index 6fe04bb..89b81c4 100644
--- a/jobs/zapper/run-zapper.sh
+++ b/jobs/zapper/run-zapper.sh
@@ -44,6 +44,7 @@ cat > job.yaml <<EOF
         _run sudo apt-get -qq install -y python3-pip
         #ensure that there's RPyC 5.x installed, so Zapper Proxy can use it
         _run sudo pip3 install rpyc==5.0.0
+        _run sudo apt-get -qq upgrade -y
 
         echo Starting
         # DISPLAY=:0 to make sure graphic test jobs were tested expectedly (not necessary in remote)

Follow ups