bundlewrap/bundles/jenkins-ci/metadata.py

28 lines
779 B
Python
Raw Normal View History

2020-05-09 11:08:34 +00:00
@metadata_processor
2020-06-01 09:14:04 +00:00
def jenkins_apt_repos(metadata):
2020-05-09 11:08:34 +00:00
return {
'apt': {
'repos': {
'jenkins': {
'key': '150FDE3F7787E7D11EF4E12A9B7D32F2D50582E6',
'items': [
'deb https://pkg.jenkins.io/debian-stable binary/',
],
},
},
'unattended-upgrades': {
2020-05-23 15:01:30 +00:00
'origins': {
'o=jenkins.io,a=binary',
2020-05-09 11:08:34 +00:00
},
},
'packages': {
'openjdk-11-jre': {},
'jenkins': {
'needs': {
'pkg_apt:openjdk-11-jre',
},
},
},
},
}, DEFAULTS, DONE