docker compose testing env orchestrator
Project description
Maxwell's demon of test enviroment
Orchestrate testing env easily
Install & activate
Install package
$ pip3 install maxwelld
Define services config
from maxwelld import Environments
from maxwelld import Environment
from maxwelld import DEFAULT_ENV
class Envs(Environments):
DEFAULT = Environment(
DEFAULT_ENV,
builder, web, web_gallery, wep_ext_app, cli,
db,
mq,
e2e
)
Enable plugin
from maxwelld import vedro_plugin as vedro_maxwell
from maxwelld import ComposeConfig
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class VedroMaxwell(vedro_maxwell.VedroMaxwell):
enabled = True
envs = Envs()
compose_cfgs = {
'default': ComposeConfig(os.environ.get('DC_FILES')),
'dev': ComposeConfig(os.environ.get(f'DC_FILES_1'), parallel_env_limit=1),
}
project = os.environ.get('COMPOSE_PROJECT_NAME', default='some_project')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maxwelld-0.0.12.tar.gz
(15.3 kB
view hashes)
Built Distribution
maxwelld-0.0.12-py3-none-any.whl
(16.7 kB
view hashes)
Close
Hashes for maxwelld-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebeb8306ce874336816b13d752f4d3459c7be9c6ae632f9d4a689f9cb2b5528d |
|
MD5 | 2ebf7cc0a255ffcefa6e00f319e0af11 |
|
BLAKE2b-256 | df461955fc3e1002f1bba230141ba99a8492eaf24b73db5f6f65f4b698c21cad |