deployv-0.9.99
0.9.99
0.9.98
0.9.97
0.9.96
0.9.95
0.9.94
0.9.93
0.9.92
0.9.91
0.9.90
0.9.9
0.9.89
0.9.88
0.9.87
0.9.85
0.9.84
0.9.83
0.9.82
0.9.81
0.9.80
0.9.8
0.9.79
0.9.78
0.9.77
0.9.76
0.9.75
0.9.74
0.9.73
0.9.72
0.9.71
0.9.70
0.9.7
0.9.69
0.9.68
0.9.67
0.9.66
0.9.65
0.9.64
0.9.63
0.9.62
0.9.61
0.9.60
0.9.59
0.9.58
0.9.57
0.9.56
0.9.55
0.9.54
0.9.53
0.9.51
0.9.50
0.9.5
0.9.49
0.9.48
0.9.47
0.9.46
0.9.45
0.9.44
0.9.43
0.9.42
0.9.41
0.9.40
0.9.4
0.9.39
0.9.38
0.9.37
0.9.36
0.9.35
0.9.34
0.9.33
0.9.32
0.9.31
0.9.30
0.9.29
0.9.28
0.9.27
0.9.26
0.9.25
0.9.24
0.9.23
0.9.22
0.9.21
0.9.202
0.9.201
0.9.200
0.9.20
0.9.2
0.9.199
0.9.198
0.9.197
0.9.196
0.9.195
0.9.194
0.9.193
0.9.192
0.9.191
0.9.190
0.9.19
0.9.189
0.9.188
0.9.187
0.9.186
0.9.185
0.9.184
0.9.183
0.9.182
0.9.181
0.9.180
0.9.18
0.9.179
0.9.178
0.9.177
0.9.176
0.9.175
0.9.174
0.9.173
0.9.172
0.9.171
0.9.170
0.9.17
0.9.169
0.9.168
0.9.167
0.9.166
0.9.165
0.9.164
0.9.163
0.9.162
0.9.161
0.9.160
0.9.16
0.9.159
0.9.158
0.9.157
0.9.156
0.9.155
0.9.154
0.9.153
0.9.152
0.9.151
0.9.150
0.9.15
0.9.149
0.9.148
0.9.147
0.9.146
0.9.145
0.9.144
0.9.143
0.9.142
0.9.141
0.9.140
0.9.14
0.9.139
0.9.138
0.9.136
0.9.135
0.9.134
0.9.133
0.9.132
0.9.131
0.9.130
0.9.13
0.9.129
0.9.128
0.9.127
0.9.126
0.9.125
0.9.124
0.9.123
0.9.122
0.9.121
0.9.120
0.9.12
0.9.119
0.9.118
0.9.117
0.9.116
0.9.115
0.9.114
0.9.112
0.9.111
0.9.110
0.9.11
0.9.109
0.9.108
0.9.107
0.9.106
0.9.105
0.9.104
0.9.103
0.9.102
0.9.101
0.9.100
0.9.10
0.9.99
0.9.98
0.9.97
0.9.96
0.9.95
0.9.94
0.9.93
0.9.92
0.9.91
0.9.90
0.9.9
0.9.89
0.9.88
0.9.87
0.9.85
0.9.84
0.9.83
0.9.82
0.9.81
0.9.80
0.9.8
0.9.79
0.9.78
0.9.77
0.9.76
0.9.75
0.9.74
0.9.73
0.9.72
0.9.71
0.9.70
0.9.7
0.9.69
0.9.68
0.9.67
0.9.66
0.9.65
0.9.64
0.9.63
0.9.62
0.9.61
0.9.60
0.9.59
0.9.58
0.9.57
0.9.56
0.9.55
0.9.54
0.9.53
0.9.51
0.9.50
0.9.5
0.9.49
0.9.48
0.9.47
0.9.46
0.9.45
0.9.44
0.9.43
0.9.42
0.9.41
0.9.40
0.9.4
0.9.39
0.9.38
0.9.37
0.9.36
0.9.35
0.9.34
0.9.33
0.9.32
0.9.31
0.9.30
0.9.29
0.9.28
0.9.27
0.9.26
0.9.25
0.9.24
0.9.23
0.9.22
0.9.21
0.9.202
0.9.201
0.9.200
0.9.20
0.9.2
0.9.199
0.9.198
0.9.197
0.9.196
0.9.195
0.9.194
0.9.193
0.9.192
0.9.191
0.9.190
0.9.19
0.9.189
0.9.188
0.9.187
0.9.186
0.9.185
0.9.184
0.9.183
0.9.182
0.9.181
0.9.180
0.9.18
0.9.179
0.9.178
0.9.177
0.9.176
0.9.175
0.9.174
0.9.173
0.9.172
0.9.171
0.9.170
0.9.17
0.9.169
0.9.168
0.9.167
0.9.166
0.9.165
0.9.164
0.9.163
0.9.162
0.9.161
0.9.160
0.9.16
0.9.159
0.9.158
0.9.157
0.9.156
0.9.155
0.9.154
0.9.153
0.9.152
0.9.151
0.9.150
0.9.15
0.9.149
0.9.148
0.9.147
0.9.146
0.9.145
0.9.144
0.9.143
0.9.142
0.9.141
0.9.140
0.9.139
0.9.138
0.9.136
0.9.135
0.9.134
0.9.133
0.9.132
0.9.131
0.9.130
0.9.13
0.9.129
0.9.128
0.9.127
0.9.126
0.9.125
0.9.124
0.9.123
0.9.122
0.9.121
0.9.120
0.9.12
0.9.119
0.9.118
0.9.117
0.9.116
0.9.115
0.9.114
0.9.112
0.9.111
0.9.110
0.9.11
0.9.109
0.9.108
0.9.107
0.9.106
0.9.105
0.9.104
0.9.103
0.9.102
0.9.101
0.9.100
0.9.10
توضیحات
Base for all clases and scripts in VauxooTools
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | deployv-0.9.99 |
| نام | deployv |
| نسخه کتابخانه | 0.9.99 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tulio Ruiz |
| ایمیل نویسنده | tulio@vauxoo.com |
| آدرس صفحه اصلی | https://git.vauxoo.com/deployv/deployv |
| آدرس اینترنتی | https://pypi.org/project/deployv/ |
| مجوز | BSD |
CI Status
===
[](https://pypi.python.org/pypi/deployv)
[](https://git.vauxoo.com/vauxoo/deployv/commits/master)
[](https://coverage.vauxoo.com/master-master/)
[](https://git.vauxoo.com/deployv/orchest/wikis/home)
DeployV
===
The main DeployV goal is to have a set of tools for working with dockerized Odoo instances as a library or command line
interface using a simple json formatted config files.
It is planned that in further versions will be an [Odoo](https://www.odoo.com) integration so the whole configuration
process can be done directly in the instance and deployed to the corresponding server (this would be configurable too)
using [RabbitMQ](https://www.rabbitmq.com/) for messaging. This graphical interface development is done in
the [Orchest](https://github.com/Vauxoo/orchest) repository.
Getting started
===
## Installing
Before installing the library you will need to have the following installed:
* build-essential
* python-setuptools
* python-dev
* libpq-dev
* libffi-dev
This can be performed executing the following:
$ sudo apt-get update
$ sudo apt-get install build-essential python-setuptools python-dev libpq-dev libffi-dev
All Python dependencies are listed in the requirements.txt and will be installed when you run:
$ python setup.py install
Notice that you must have docker and PostgreSQL installed on your system, if not you can install docker following the
[official documentation](https://docs.docker.com/installation/ubuntulinux) and you can use the a PostgreSQL container
([vauxoo/docker-postgresql](https://hub.docker.com/r/vauxoo/docker-postgresql/)), run it:
$ docker run -d -p 127.0.0.1:5136:5432 -p 172.17.42.1:5136:5432 --name odoo_psql vauxoo/docker-postgresql:latest /entry_point start
The port 5136 is used to avoid conflict with any postgres running instance. It is attached to the docker interface and
the [loopback](http://www.tldp.org/LDP/nag/node66.html) so it is accessible from the container and the host only,
the **--name** parameter is optional and can be changed to your needs. To see a detailed description of the parameters
go to [docker cli documentation page](https://docs.docker.com/reference/commandline/cli/).
**Note:** This have been tested with docker 1.7.1 only
## Testing the installation
In the test folder you can find a sample configuration file names *config.json* this file uses a
[docker test image](https://hub.docker.com/r/vauxoo/odoo80-test/) that have some public repositories and Odoo 8.0.
Run the create command:
$ deployvcmd create -f /path/to/tests/config.json -l DEBUG -z /any/path
Notice that the backup must start with customer_id if you specify a directory, if you specify a specific file only then
the name format does not matter.
## Basic commands
The image for the instance can be created by:
$ deployvcmd build -u git@github.com:user/app_repo.git -v 8.0
And it will create a docker image using Odoo 8.0 and will install all dependencies from the requirements.txt and oca_dependencies.txt, if you wish to build from
a development branch just do:
$ deployvcmd build -u git@github.com:user-dev/app_repo.git -b my_dev_branch -v 8.0
As you can see in the test section you can easily create an Odoo instance using the command line, but also generate
a backup from it:
$ deployvcmd backupdb -f /path/to/tests/config.json -z ./backup/path -d database_name_to_backup
Or you can create a backup from an instance in a container:
$ deployvcmd backupdb -n container_name -z ./backup/path -d database_name_to_backup
I will generate a compressed file in *./backup/path* with a database dump, attachments and a json file with the
instance branches info.
To restore the generated dump just have to execute:
$ deployvcmd restore -f /path/to/tests/config.json -z ./backup/path
Also, if you want to restore it to a dockerized instance:
$ deployvcmd restore -n container_name -z ./backup/path
This will search the best best backup to restore or if you wish to specify one:
$ deployvcmd restore -f /path/to/tests/config.json -z ./backup/path/backup_file.tar.bz2
The database name is generated automatically, but you can change this behaviour too:
$ deployvcmd restore -f /path/to/tests/config.json -z ./backup/path/backup_file.tar.bz2 -d specific_database_name
### Anonymize data
This functionality is based on [Postgresql Anonymizer Extension](https://postgresql-anonymizer.readthedocs.io/en/stable/).
The extension must be installed in host/container where database is located, by executing (as root user):
# apt install pgxnclient build-essential postgresql-server-dev-kk
# pgxn install postgresql_anonymizer
where `kk` its postgresql version (according to host/container), like: 9.6, 10, 11, etc,
Also, `odoo` user (in database) must have superuser privilege (in order to create and activate extension, create schema and functions):
ALTER USER odoo WITH SUPERUSER;
In deactivate step, anonymization of data could be executed. For that, create a file `/etc/deployv/deactivate/anon_operations.csv` as indicated by internal documentation.
نیازمندی
| مقدار | نام |
|---|---|
| ==2.8.6 | psycopg2 |
| ==1.1.0 | pika |
| ==2.6.0 | jsonschema |
| - | branchesv |
| ==1.1.3 | extend-me |
| ==1.6.5 | passlib |
| ==1.1.0 | retry-decorator |
| ==0.6.8 | transitions |
| - | deployv-static |
| ==0.2.0 | requests-unixsocket |
| ==2.10.1 | jinja2 |
| ==3.12 | pyyaml |
| ==1.39 | PyGithub |
| ==2.1.4 | cryptography |
| ==3.3.0 | deepdiff |
| ==1.0.23 | ipaddress |
| ==3.3.0 | docker |
| ==3.5.1 | docker |
| ==5.0.3 | docker |
| ==3.0.3 | jinja2 |
| ==5.3.1 | pyyaml |
| ==1.55 | PyGithub |
| ==2.0.1 | markupsafe |
| ==3.4.8 | cryptography |
| ==5.8.1 | deepdiff |
نحوه نصب
نصب پکیج whl deployv-0.9.99:
pip install deployv-0.9.99.whl
نصب پکیج tar.gz deployv-0.9.99:
pip install deployv-0.9.99.tar.gz