← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~jocave/hwcert-jenkins-jobs:deploy-job-urllib-fix into hwcert-jenkins-jobs:master

 

Jonathan Cave has proposed merging ~jocave/hwcert-jenkins-jobs:deploy-job-urllib-fix into hwcert-jenkins-jobs:master.

Requested reviews:
  hwcert-jenkins (hwcert-jenkins)

For more details, see:
https://code.launchpad.net/~jocave/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/442861

Pin the urllib during the deploy job also
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~jocave/hwcert-jenkins-jobs:deploy-job-urllib-fix into hwcert-jenkins-jobs:master.
diff --git a/jobs/infrastructure/deploy/deploy-hwcert-jobs.sh b/jobs/infrastructure/deploy/deploy-hwcert-jobs.sh
index c95e07b..63ecaa9 100644
--- a/jobs/infrastructure/deploy/deploy-hwcert-jobs.sh
+++ b/jobs/infrastructure/deploy/deploy-hwcert-jobs.sh
@@ -8,6 +8,8 @@ CONFIG_PATH="$CONFIG_DIR/jlp.config"
 rm -rf env
 virtualenv -p python3 env
 . env/bin/activate
+# https://bugs.launchpad.net/python-jenkins/+bug/2018567
+pip install -qq "urllib3<2.0"
 pip install "jenkins-job-builder<5.0"
 
 JOBS_REPO=git+ssh://ce-certification-qa@xxxxxxxxxxxxxxxxx/$JOBS_REPO

Follow ups