nanoPayinc / legacy-nanopay-tools

0 stars 0 forks source link

Git project per instance configuration. #11

Closed jlhughes closed 6 years ago

jlhughes commented 6 years ago

service and other journal config specific to deployment such as cc.staging, cc.prod, interac, ... The build process on jenkins will pull in the appropriate configuration project and create the journal.0 files.

jlhughes commented 6 years ago

find.sh for each journal, concatenation order:

  1. foam2/src/journal_name
  2. nanopay/src/journal_name
  3. nanopay/deployment/mode/journal_name
  4. nanopay/deployment/mode[/version]/journal_name
  5. nanopay/deployment/mode[/instance]/journal_name
  6. nanopay/deployment/mode[/instance][/version]/journal_name

where

appconfig.sh determines the mode, version, ... and will modify find.sh/build.sh using sed to replace VERSION, etc parameters.