bundles/{matrix-dimension,mx-puppet-discord}: nodejs-dependency-hölle, once again
This commit is contained in:
parent
ee9f7b8875
commit
73e6ba0872
3 changed files with 19 additions and 1 deletions
|
@ -51,7 +51,11 @@ files = {
|
|||
|
||||
actions = {
|
||||
'matrix_dimension_build': {
|
||||
'command': 'cd ' + node.metadata.get('matrix-dimension/install_dir') + ' && sudo -u matrix-dimension npm install && sudo -u matrix-dimension npm run build',
|
||||
'command': ' && '.join([
|
||||
'cd ' + node.metadata.get('matrix-dimension/install_dir'),
|
||||
'sudo -u matrix-dimension npm install --legacy-peer-deps',
|
||||
'sudo -u matrix-dimension NODE_OPTIONS=--openssl-legacy-provider npm run build',
|
||||
]),
|
||||
'needs': {
|
||||
'pkg_apt:nodejs',
|
||||
},
|
||||
|
|
|
@ -78,7 +78,12 @@ actions = {
|
|||
'command': 'cd /opt/mx-puppet-discord/src && sudo -u mx-puppet-discord yarn install',
|
||||
'needs': {
|
||||
'action:mx-puppet-discord_chown',
|
||||
'pkg_apt:libcairo2-dev',
|
||||
'pkg_apt:libgif-dev',
|
||||
'pkg_apt:libpango1.0-dev',
|
||||
'pkg_apt:libpixman-1-dev',
|
||||
'pkg_apt:nodejs',
|
||||
'pkg_apt:pkg-config',
|
||||
'user:mx-puppet-discord',
|
||||
},
|
||||
'triggered': True,
|
||||
|
|
|
@ -1,4 +1,13 @@
|
|||
defaults = {
|
||||
'apt': {
|
||||
'packages': {
|
||||
'libcairo2-dev': {},
|
||||
'libgif-dev': {},
|
||||
'libpango1.0-dev': {},
|
||||
'libpixman-1-dev': {},
|
||||
'pkg-config': {},
|
||||
},
|
||||
},
|
||||
'matrix-synapse': {
|
||||
'appservice_configs': {
|
||||
'/opt/mx-puppet-discord/registration.yaml',
|
||||
|
|
Loading…
Reference in a new issue