travis2docker 6.4.18__tar.gz → 6.4.20__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {travis2docker-6.4.18 → travis2docker-6.4.20}/.bumpversion.cfg +1 -1
- {travis2docker-6.4.18 → travis2docker-6.4.20}/PKG-INFO +1 -1
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/conf.py +1 -1
- {travis2docker-6.4.18 → travis2docker-6.4.20}/setup.py +1 -1
- travis2docker-6.4.20/src/travis2docker/__init__.py +1 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/cli.py +2 -1
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/Dockerfile_deployv +4 -3
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/build.sh +17 -2
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker.egg-info/PKG-INFO +1 -1
- travis2docker-6.4.18/src/travis2docker/__init__.py +0 -1
- {travis2docker-6.4.18 → travis2docker-6.4.20}/.coveragerc +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/AUTHORS.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/CHANGELOG.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/CONTRIBUTING.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/LICENSE +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/MANIFEST.in +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/README.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/authors.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/changelog.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/contributing.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/index.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/installation.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/readme.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/reference/index.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/reference/travis2docker.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/requirements.txt +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/spelling_wordlist.txt +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/docs/usage.rst +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/examples/example_1.yml +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/examples/example_2.yml +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/examples/example_3.yml +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/examples/example_4.yml +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/examples/example_5.yml +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/requirements.txt +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/setup.cfg +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/__main__.py +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/docker_helper/build.py +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/exceptions.py +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/git_run.py +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/.coveragerc +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/.vscode/extensions.json +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/.vscode/launch.json +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/.vscode/settings.json +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/10-build.sh +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/20-run.sh +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/Dockerfile +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/entrypoint.sh +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/entrypoint_deployv.sh +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/rvm_env.sh +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/.git +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/.gitignore +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/.travis.yml +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/LICENSE +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/README.md +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/add_all.rb +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/bin/travis-add-source +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/ubuntu.json +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis2docker.py +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker.egg-info/SOURCES.txt +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker.egg-info/dependency_links.txt +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker.egg-info/entry_points.txt +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker.egg-info/not-zip-safe +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker.egg-info/requires.txt +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker.egg-info/top_level.txt +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/tests/test_travis2docker.py +0 -0
- {travis2docker-6.4.18 → travis2docker-6.4.20}/tox.ini +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "6.4.20"
|
|
@@ -42,11 +42,12 @@ def get_git_data(project, path, revision):
|
|
|
42
42
|
|
|
43
43
|
def yml_read(yml_path):
|
|
44
44
|
yml_path_expanded = expandvars(expanduser(yml_path))
|
|
45
|
+
alt_yml_path_expanded = None
|
|
45
46
|
if isdir(yml_path_expanded):
|
|
46
47
|
yml_path_expanded = join(yml_path_expanded, '.travis.yml')
|
|
47
48
|
alt_yml_path_expanded = join(yml_path_expanded, '.t2d.yml')
|
|
48
49
|
if not isfile(yml_path_expanded):
|
|
49
|
-
if isfile(alt_yml_path_expanded):
|
|
50
|
+
if alt_yml_path_expanded and isfile(alt_yml_path_expanded):
|
|
50
51
|
yml_path_expanded = alt_yml_path_expanded
|
|
51
52
|
else:
|
|
52
53
|
return
|
{travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/Dockerfile_deployv
RENAMED
|
@@ -34,9 +34,10 @@ RUN . /home/odoo/build.sh && \
|
|
|
34
34
|
configure_vim && \
|
|
35
35
|
configure_zsh && \
|
|
36
36
|
chown_all && \
|
|
37
|
-
mv /entrypoint_image /deployv_entrypoint_image
|
|
38
|
-
mv /entry_point.py /deployv_entry_point.py
|
|
39
|
-
|
|
37
|
+
[ -e /entrypoint_image ] && mv /entrypoint_image /deployv_entrypoint_image ; \
|
|
38
|
+
[ -e /entry_point.py ] && mv /entry_point.py /deployv_entry_point.py ; \
|
|
39
|
+
[ -e /entrypoint ] && mv /entrypoint /deployv_entrypoint ; \
|
|
40
|
+
mkdir -p /run/sshd
|
|
40
41
|
|
|
41
42
|
{% for step in build_extra_steps %}
|
|
42
43
|
RUN {{ step }}
|
|
@@ -28,8 +28,23 @@ install_pgcli_venv(){
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
odoo_conf(){
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
if [ -f "/home/odoo/.odoorc" ]; then
|
|
32
|
+
export ODOO_CONF="/home/odoo/.odoorc"
|
|
33
|
+
elif [ -f "/home/odoo/.openerp_serverrc" ]; then
|
|
34
|
+
export ODOO_CONF="/home/odoo/.openerp_serverrc"
|
|
35
|
+
else
|
|
36
|
+
echo "❌ Odoo configuration file not found."
|
|
37
|
+
exit 1
|
|
38
|
+
fi
|
|
39
|
+
if [ -x "/entrypoint" ]; then
|
|
40
|
+
export ENTRYPOINT="/entrypoint"
|
|
41
|
+
elif [ -x "/entry_point.py" ]; then
|
|
42
|
+
export ENTRYPOINT="/entry_point.py"
|
|
43
|
+
else
|
|
44
|
+
echo "❌ Orchest entrypoint not found"
|
|
45
|
+
exit 1
|
|
46
|
+
fi
|
|
47
|
+
$ENTRYPOINT run true
|
|
33
48
|
sed -i '/db_host\|db_password\|db_user\|workers\|list_db/d' $ODOO_CONF
|
|
34
49
|
su odoo -c "mkdir -p $ODOORC_DATA_DIR"
|
|
35
50
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "6.4.18"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/.vscode/extensions.json
RENAMED
|
File without changes
|
{travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/.vscode/launch.json
RENAMED
|
File without changes
|
{travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/.vscode/settings.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/templates/entrypoint_deployv.sh
RENAMED
|
File without changes
|
|
File without changes
|
{travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker/travis-ci-apt-source-whitelist/.git
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{travis2docker-6.4.18 → travis2docker-6.4.20}/src/travis2docker.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|