27 lines
779 B
Python
27 lines
779 B
Python
@metadata_processor
|
|
def jenkins_apt_repos(metadata):
|
|
return {
|
|
'apt': {
|
|
'repos': {
|
|
'jenkins': {
|
|
'key': '150FDE3F7787E7D11EF4E12A9B7D32F2D50582E6',
|
|
'items': [
|
|
'deb https://pkg.jenkins.io/debian-stable binary/',
|
|
],
|
|
},
|
|
},
|
|
'unattended-upgrades': {
|
|
'origins': {
|
|
'o=jenkins.io,a=binary',
|
|
},
|
|
},
|
|
'packages': {
|
|
'openjdk-11-jre': {},
|
|
'jenkins': {
|
|
'needs': {
|
|
'pkg_apt:openjdk-11-jre',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}, DEFAULTS, DONE
|