Change in osmo-ci[master]: osmocom-jenkins-slave: fix jessie-backports as it got deprecated

lynxis lazus gerrit-no-reply at lists.osmocom.org
Fri Apr 26 13:30:54 UTC 2019


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/13792


Change subject: osmocom-jenkins-slave: fix jessie-backports as it got deprecated
......................................................................

osmocom-jenkins-slave: fix jessie-backports as it got deprecated

Change-Id: Idae47a6529f6a870e29ab688c3479b7ef4ba200a
---
M ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
1 file changed, 7 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/92/13792/1

diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml b/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
index 641c6f3..0f0f651 100644
--- a/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
+++ b/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
@@ -17,9 +17,15 @@
     - fakeroot
   when: install_jenkins_utilities
 
+- name: stop checking release validity for old statble
+  copy:
+    content: 'Acquire::Check-Valid-Until "false";'
+    dest: '/etc/apt/apt.conf.d/90-stop-check-release-validity'
+  when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'
+
 - name: enable backports for jessie
   apt_repository:
-    repo: 'deb http://ftp.debian.org/debian jessie-backports main'
+    repo: 'deb http://archive.debian.org/debian jessie-backports main'
     filename: 'backports'
     update_cache: yes
   when: ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie'

-- 
To view, visit https://gerrit.osmocom.org/13792
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idae47a6529f6a870e29ab688c3479b7ef4ba200a
Gerrit-Change-Number: 13792
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190426/3f7279ce/attachment.html>


More information about the gerrit-log mailing list