|
Ran
|
Jobs
1
|
Files
15
|
Run time
1s
|
Badge
README BADGES
|
push
travis-ci
Swarm services (#103) * BaseService * service options and attributes * additional service options and attributes * Option.name * default_property instance can be used as decorator * fixed service options * removed underscore to minus replacement * cmd => command * create default sentinel container if last was not provided * Container.create() and Image.create_container() * Service structure * added TODOs * use container built-in lock to prevent parallel execution * added comment * log warning to stderr * name became Attribute * DockerTasks.container => DockerTasks.service * raise error when getting str version of service without name * RemovableOption: idea * use 'name' keyword to provide container name * RemovableOption: idea (Port and Mount) * default RemovableOption implementation * some tests * Service.mounts option * rename: Cast => Item * optimized test parameters * service labels * yet some another options tests * service custom options * Service env and constraints * Service update args test case * optimized test * moved args test case * renamed test case * improved mount test cases * limit split count * added TODO * removed unnecessary code * optimized regex * swarm configuration example * some examples * raise cmd warning usage only if it has value * decreased number of replicas * fixed VM configs * fixed indentation * swarm_init fabric task * AvailableVagrantHosts: fixed argument name * catch IndexError, KeyError and AttributeError while fetching service current properties * fixed variable name * use dpath to get service details * try to use class based sentinel * Service.info became cached_property * regenerate cache_key after each successful service update * Service.info tests * clear fabricio.run.cache after tests * do not escape args * fixed options values * ProxyDockerTasks * error test case * fixed ssh tunnel case * BuildDockerTasks2 * removed unnecessary method * BuildDockerTasks2 => ImageBuildDockerTasks * added deprecation warnings * ProxyDockerTasks => DockerTasks * ImageBuildDockerTasks.prepare(): no-cache tests * DockerTasks: disable prepare and push commands if no custom registry provided * updated README and changelog * do not log commands from cache * optimized tests * rename: move => move_file, remove => remove_file * merged new tasks * use ssh_tunnel_port * fixed dangling images removal * merged master * #95: fixed issue in 'swarm' branch * fixed merge * removed deprecated param * make attempt of service creation if one not found * ContainerNotFoundError, ImageNotFoundError * use private network instead of public * some optimizations * idea with image digest * do not remove registry info from pulled images otherwise, this will also remove digest * fixed comments * couple of tests * reworked service info cache * added couple of TODOs * cache image id with container * Image.id tests * added comment * some Service.update_options tests * finished Service.info test cases * removed unnecessary optimization * Service.update_options: sentinel test cases * fixed test case name * use compiled re * the idea of how to revert service * added additional explanation how service rollback should work * Container.labels option * save service options with the sentinel container * removed print * some code optimization * made special method for sentinel meta information update * added TODOs * test of Service._sentinel_set_service_options() * test that Service._sentinel_set_service_options() make new list of labels * removed some unnecessary str() usage * create service * service update optimization * contextlib2 * set service update options upon creation to have ability to revert * tests of service creation * additional test case * use locks to apply migrates and backup/restore * use events * Revert "use events" This reverts commit ac4047051. * removed serial decorator * use non blocking locks when applying migrate/migrate_back and backup/restore * reworked migrate/migrate_back and backup/restore exclusive execution * BaseService.Locked => LockImpossible * locks rework * fixed rollback test case * fixed deploy test cases * locks optimization * removed __all__ * fixed entities names * yet another idea about locks * fixed locks for base service * avoid using of non process-safe defaultdict * fixed var name * use lock when using multiprocessing.Value() * set invoked flag after actual method execution * suppress errors while invoking migrate/migrate_back and backup/restore on Swarm service * optimization * removed non actual tests * once_per_command serial test cases * DockerTasks.once_per_command test cases * tests of DockerTasks.once_per_command with single and multiple failures within service * fixed typo * lazy vagrant hosts obtaining workaround * DockerTasks.once_per_command failure test cases * any error during DockerTasks.once_per_command is fatal (including services) * added TODO * Invocation lock rework (#101) * once_per_command decorator * do not use fab.execute() in tasks * completely removed fab.execute() usage from main code * removed once_per_command from tasks * fixed django and postgresql tests * use digest_size as initial value for multiprocessing.Array() * once_per_command: consider fabric env.all_hosts * removed IgnoreHostsTask * use cache for all local calls * reworked task execution model * include task id * use registered task name if possible * disable optional tasks only for command list mode * fallback to __name__ if task has not name * fixed tests * fixed code style * optimized var name * _uncrawl: use cache of tasks * _uncrawl: optimization * readability improvement * added TODOs * save service options as dict * use configurable meta label name * service options diff evaluation preparation * added TODOs * added additional TODOs * removed unnecessary TODOs * Service update rework (#102) * idea * _service_can_be_updated method * fixed typo * completed _service_can_be_updated implementation * include manager hostname and addr in error message * fixed TODO task * fixed tests * added couple of tests * removed unnecessary code * removed unnecessary tests * _service_can_be_updated error tests * read sentinel info before update attempt * ability to override path * _get_service_options_patch implementation * additional test * fixed service env * Service.update_options: changed_option_value test case * custom options test cases * added TODOs * add_removed_single_option_value test case * removed TODO * map optimization * added FIXME * fixed revert service options patch * _get_options_patch => _get_options_revert_patch * _options_need_update implementation * check if sentinel required force update * optimization * optimization of entities names * optimization of methods names * added class signature annotation * _remove_values_getter => _rm_values_getter * _options_need_update: additional test cases * added TODOs * improved test__sentinel_set_service_options * added TODO * fork() is now Container exclusive method * once_per_command tests * tasks._uncrawl tests * some fixes * is_manager() optimization * Sentinel remove (#106) * migrate and backup commands check if current host is manager * Revert "fork() is now Container exclusive method" This reverts commit a8c468307. * Image can take another image as argument now * image constructor optimization * moved image assignment to BaseService * base image property * removed Container.safe_options (made as Image.run optional argument) * returned Container.safe_options with deprecation warning * optimization * BaseService.get_backup_version() * removed Service.fork() * Service.Is_manager does not ignore errors * Service.get_backup_version() * fixed Service.is_manager() method * fixed DockerTasks.pull_image() * added TODO * added image digest support * Service.get_backup_version() implementation * Service.update idea * Service._update_labels() implementation * Service.update() tests * optimization * improved tests * additional tests * additional test cases * removed unused code * optimized methods placement * fixed indentation * removed container creation methods * BaseService.pull_image() default implementation * removed obsolete test * removed sentinel * fixed imports * Service.revert() * fixed comment * fixed Service.revert() * Service.revert(): tests * DjangoService * reworked django test_migrate * DjangoService: failed tests * BaseService.safe_options * DjangoService additional tests * added TODO * Image.run(): removed 'safe' param * fixed DjangoService tests * PostgresqlBackupMixin inherits BaseService now * fixed restore command argument * additional service tests * improved Migration implementation * improved Image.__repr__ implementation * improved Image.__getitem__ implementation * improved Image.digest implementation * added comment * delete dangling images before service update * DockerTasks.remote_tunnel context manager * Revert "delete dangling images before service update" This reverts commit 83fa7a03e. * Service.pull_image implementation * Service.pull_image tests * Service fixes * fixed test * Options now supports unicode (#100) * remove backup image tags with --no-prune option * fixed Service.revert() * fixed Service.pull_image() * dangling_images_delete_command: repository option * use sentinels to keep images up to date * improved test coverage * Service._update_sentinels(): image_not_changed test case * image revert mechanics * Service.ignore_worker_errors attribute * do not save empty backup_options * removed revert sentinel * improved code style * fixed tests * removed unused imports * service configuration example * fixed example READMEs * fixed header * updated description * fixed service mentions * optimized PG master-slave example * do not save _backup_options for newly created services * use alpine images in examples * added requirements * improved README * revert_sentinel * warn if could not remove backup container during revert * warn if could not update sentinels * optimized variables names * optimized sentinels * migrate_back => migrate-back * increased minimal version * fixed changelog * added parallel execution info
1336 of 1428 relevant lines covered (93.56%)
0.94 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 2 | 473.2 | 0 |
93.56 |
Travis Job 473.2 |