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