v.3.0.2

Improvements:

  1. Service dependencies were updated.

  2. The ability to run a program with luna-config and config command line arguments was added. Where luna-config is an address of Configurator service, with (optional) limitation’s tag, and config is a path to custom config file. If the command is called without additional arguments, the data is taken from the default config.

    alembic -x luna-config=http://127.0.0.1:5070/1 upgrade head
    alembic -x luna-config=http://127.0.0.1:5070/1 -x LUNA_TASKS_DB=TAG_1 upgrade head
    alembic -x config=devconfig.conf upgrade head
    alembic -x help upgrade head
    

    output for alembic -x help upgrade head command

    usage: alembic [-h] [-x config=] [-x luna_config=] [-x LUNA_TASKS_DB=] [-h help]
    
    alembic [-x] optional argument:
      -x config=         path to config
      -x luna_config=    origin and api version of luna-configurator service for pulling setting from it (e.g. "http://127.0.0.1:5070/1")
      -x LUNA_TASKS_DB=  tag for setting LUNA_TASKS_DB to pull from luna-configurator
      -x help            Show this help message and exit
    

Bugs fixed:

How to update from previous version:

To update from previous version, replace folders docs, luna_tasks, tests, deploy and update dependencies from requirements.txt.