bundles/travelynx: make version configurable via metadata
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-08-20 09:44:01 +02:00
parent b7f377816f
commit 4974494ee0
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 3 additions and 2 deletions

View file

@ -53,5 +53,5 @@
'${cookie_secret}', '${cookie_secret}',
], ],
version => '1.16.1', version => '${version}',
}; };

View file

@ -36,7 +36,7 @@ files = {
git_deploy = { git_deploy = {
'/opt/travelynx': { '/opt/travelynx': {
'repo': 'https://github.com/derf/travelynx.git', 'repo': 'https://github.com/derf/travelynx.git',
'rev': '1.16.1', 'rev': node.metadata['travelynx']['version'],
'triggers': { 'triggers': {
'action:travelynx_install_deps', 'action:travelynx_install_deps',
'action:travelynx_database_migrate', 'action:travelynx_database_migrate',

View file

@ -184,6 +184,7 @@ nodes['htz.ex42-1048908'] = {
}, },
}, },
'travelynx': { 'travelynx': {
'version': '1.16.1',
'mail_from': 'travelynx@franzi.business', 'mail_from': 'travelynx@franzi.business',
}, },
'users': { 'users': {