- Fix:
AvailableVagrantHosts
: fixed vagrant hosts parsing on Windows
- Fix:
Service
: fixed failover during update - Enhancement:
DockerTasks
: use proxy registry when custom registry account used - Enhancement:
AvailableVagrantHosts
: added "+" and "+=" operators support
- Fix:
PostgresqlContainer
: fixed DB data 'volume' check - Enhancement:
AvailableVagrantHosts
: added slicing support - Enhancement:
DockerTasks
: added ability to override Docker registry account
- Change: use Docker's default values for
--stop-grace-period
and--replicas
options - Enhancement: do not raise error if at least one Swarm manager was able to update the service
- Enhancement: added
upgrade
command
- Fix: fixed
Container
's deprecated options mapping
- Fix:
DjangoContainer
andDjangoService
: fail if migration plan could not be retrieved - Fix:
DjangoContainer
andDjangoService
: fixed migrate-back command
- Change:
docker.Container
: restart() => reload() - Change:
docker.Service
: renamed options - labels => label, container_labels => container_label, constraints => constraint, mounts => mount, stop_timeout => stop_grace_period, ports => publish
- Change: renamed command: migrate_back => migrate-back
- Enhancement: implemented Docker Swarm mode support (#38)
- Fix: ignore errors during dangling images delete attempts (#104)
- Fix:
DockerTasks.delete_dangling_images()
now works on Windows (#94) - Fix: restart policy cannot be applied to temporary containers (#95)
- Enhancement:
DockerTasks.deploy()
: added option prepare=True which can be used to skip 'prepare' step during deploy
- Change: deprecated
PullDockerTasks
andBuildDockerTasks
,DockerTasks
andImageBuildDockerTasks
can be used instead, accordingly - Change: run/local: show detailed information about error occurred
- Enhancement: added additional examples hello_world and build_image
- Fix: macOS: fixed dangling entities removal
- Fix:
Options
: option values which contain space characters, single and double quotes are surrounded by double quotes now (#87)
- Fix:
StreamingReplicatedPostgresqlContainer
aborts execution if master promotion failed with exception - Enhancement: dangling volumes removal as default option of
Container.delete()
- Fix:
StreamingReplicatedPostgresqlContainer
: do not promote host without data as new master if there is another host with DB exists - Enhancement:
docker.Container
: added safe_options property which contains safe options; multiple containers with such options on the same host will not conflict
- Change: add --interactive option every time when --tty has been used
- Enhancement: custom name can be assigned to the infrastructure
- Enhancement:
PostgresqlContainer
can be updated without new container creation if only configs were changed - Enhancement: added
StreamingReplicatedPostgresqlContainer
which supports master-slave configuration deployment (#72) - Enhancement: added example and recipes
- Fix: set default env.infrastructure at the very first time
- Change:
fabricio.run()
use current host (instead of current infrastructure) to generate cache key - Change:
DjangoContainer
doesn't callbackup()
before applying migrations now - Change:
PostgresqlContainer
doesn't containPostgresqlBackupMixin
now - Enhancement: use
remote_tunnel
only if registry hostname is IP or alias of the remote host itself (#66) - Enhancement: image, options and other container attributes now can be passed to the
Container
upon initialization
- Fix: fixed Fabric's
serial
andparallel
decorators usage withinTasks
- Change: removed deprecated
CronContainer
- Change: removed deprecated
utils.yes()
- Change:
PostgresqlContainer
: deprecated 'postgresql_conf', 'pg_hba_conf' and 'data' properties in favour of new ones - Change:
PostgresqlBackupMixin
: deprecated 'db_backup_folder' and 'db_backup_name' properties in favour of new ones - Change:
PostgresqlBackupMixin
: removeddb_backup_enabled
flag - Enhancement:
fabricio.run()
: added 'use_cache=False' option which enables shared cache incapsulated within single infrastructure - Enhancement:
PostgresqlBackupMixin
: 'backup' and 'restore' cache result per infrastructure
- Change:
PostgresqlBackupMixin
: do actual backup only ifdb_backup_enabled
is True - Change: modified
DockerTasks
commands params order: force, tag, registry => tag, registry, force (#52) - Change:
DockerTasks
: 'revert' command was removed from the list of available commands in favour of 'rollback' - Change:
tasks.infrastructure
decorator does not require special environ variable to be autoconfirmed, instead special command '<infrastructure>.confirm' can be used for this purpose
- Fix: fixed bug when Container.update() changed container name
- Fix: fixed Django migrations plan
- Fix: fixed Django migrations change detection
- Change:
tasks.DockerTasks.deploy()
does not runbackup
task by default - Enhancement:
docker.Container.update()
forces starting container if no changes detected - Enhancement:
apps.python.django.DjangoContainer.migrate()
does not runmigrate
if actually no changes detected - Enhancement:
apps.python.django.DjangoContainer.migrate()
callsbackup()
before applying migrations - Enhancement: implemented
apps.db.postgres.PostgresqlContainer.backup()
andapps.db.postgres.PostgresqlContainer.restore()
(#17) - Enhancement: Fabric's
remote_tunnel
has been muzzled andtasks.DockerTasks.pull()
output enabled instead (#42)
- Enhancement:
tasks.BuildDockerTasks.prepare()
always usesdocker build
's --pull option