From: Raphaƫl Gertz Date: Thu, 7 Mar 2024 20:54:59 +0000 (+0100) Subject: Add air bundle env variables X-Git-Tag: 0.4.0~41 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/179f5c1ec9714b208bf90d39fd971048b9025210?ds=sidebyside;hp=04441c5bddb7e62cf60aacbaf4146361d7907670 Add air bundle env variables Reorder command constructor arguments --- diff --git a/Resources/config/packages/rapsysair.yaml b/Resources/config/packages/rapsysair.yaml index 9241979..30a8f8a 100644 --- a/Resources/config/packages/rapsysair.yaml +++ b/Resources/config/packages/rapsysair.yaml @@ -1,3 +1,16 @@ +# Parameters configuration +parameters: + # Google client + env(RAPSYSAIR_GOOGLE_CLIENT): "Ch4ng3m3!" + # Google project + env(RAPSYSAIR_GOOGLE_PROJECT): "Ch4ng3m3!" + # Google secret + env(RAPSYSAIR_GOOGLE_SECRET): "Ch4ng3m3!" + # Hostname + env(RAPSYSAIR_HOSTNAME): "Ch4ng3m3!" + # Scheme + env(RAPSYSAIR_SCHEME): "https" + # RapsysAir configuration rapsysair: languages: @@ -321,11 +334,11 @@ services: tags: [ 'console.command' ] # Register calendar command Rapsys\AirBundle\Command\CalendarCommand: - arguments: [ '@doctrine', '@router', '@rapsyspack.slugger_util', '@translator', 'airlibre', 0, '%kernel.project_dir%/var/cache', '%kernel.default_locale%' ] + arguments: [ '@doctrine', '%kernel.default_locale%', '@router', '@rapsyspack.slugger_util', '@translator', 'airlibre', 0, '%kernel.project_dir%/var/cache' ] tags: [ 'console.command' ] # Register calendar2 command Rapsys\AirBundle\Command\Calendar2Command: - arguments: [ '@doctrine', '@router', '@rapsyspack.slugger_util', '@translator', '%kernel.default_locale%', '%env(string:GOOGLE_PROJECT)', '%env(string:GOOGLE_CLIENT)', '%env(string:GOOGLE_SECRET)' ] + arguments: [ '@doctrine', '%kernel.default_locale%', '@router', '@rapsyspack.slugger_util', '@translator' ] tags: [ 'console.command' ] # Register rekey command Rapsys\AirBundle\Command\RekeyCommand: