Pau Espin Pedrol has submitted this change and it was merged. (
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(-)
Approvals:
Pau Espin Pedrol: Looks good to me, approved; Verified
diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
b/ansible/roles/osmocom-jenkins-slave/tasks/debian.yml
index 641c6f3..38228ec 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 stable
+ 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: merged
Gerrit-Change-Id: Idae47a6529f6a870e29ab688c3479b7ef4ba200a
Gerrit-Change-Number: 13792
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>