travis2docker 6.4.26__tar.gz → 6.4.28__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.26 → travis2docker-6.4.28}/.bumpversion.cfg +1 -1
- {travis2docker-6.4.26 → travis2docker-6.4.28}/PKG-INFO +43 -1
- {travis2docker-6.4.26 → travis2docker-6.4.28}/README.rst +42 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/conf.py +1 -1
- {travis2docker-6.4.26 → travis2docker-6.4.28}/setup.py +1 -1
- travis2docker-6.4.28/src/travis2docker/__init__.py +1 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/Dockerfile_deployv +1 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/build.sh +23 -1
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker.egg-info/PKG-INFO +43 -1
- {travis2docker-6.4.26 → travis2docker-6.4.28}/tox.ini +1 -1
- travis2docker-6.4.26/src/travis2docker/__init__.py +0 -1
- {travis2docker-6.4.26 → travis2docker-6.4.28}/.coveragerc +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/AUTHORS.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/CHANGELOG.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/CONTRIBUTING.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/LICENSE +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/MANIFEST.in +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/authors.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/changelog.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/contributing.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/index.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/installation.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/readme.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/reference/index.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/reference/travis2docker.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/requirements.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/spelling_wordlist.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/docs/usage.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/examples/example_1.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/examples/example_2.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/examples/example_3.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/examples/example_4.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/examples/example_5.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/requirements.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/setup.cfg +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/__main__.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/cli.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/docker_helper/build.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/exceptions.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/git_run.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/.coveragerc +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/.vscode/extensions.json +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/.vscode/launch.json +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/.vscode/settings.json +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/10-build.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/20-run.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/Dockerfile +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/entrypoint.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/entrypoint_deployv.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/rvm_env.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis-ci-apt-source-whitelist/.git +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis-ci-apt-source-whitelist/.gitignore +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis-ci-apt-source-whitelist/.travis.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis-ci-apt-source-whitelist/LICENSE +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis-ci-apt-source-whitelist/README.md +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis-ci-apt-source-whitelist/add_all.rb +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis-ci-apt-source-whitelist/bin/travis-add-source +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis-ci-apt-source-whitelist/ubuntu.json +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/travis2docker.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker.egg-info/SOURCES.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker.egg-info/dependency_links.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker.egg-info/entry_points.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker.egg-info/not-zip-safe +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker.egg-info/requires.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker.egg-info/top_level.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.28}/tests/test_travis2docker.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: travis2docker
|
|
3
|
-
Version: 6.4.
|
|
3
|
+
Version: 6.4.28
|
|
4
4
|
Summary: Script to generate Dockerfile from .travis.yml file
|
|
5
5
|
Home-page: https://github.com/vauxoo/travis2docker
|
|
6
6
|
Author: Vauxoo
|
|
@@ -88,6 +88,48 @@ To create container:
|
|
|
88
88
|
To run the test (into of container):
|
|
89
89
|
`/entrypoint.sh`
|
|
90
90
|
|
|
91
|
+
Optional tools (``--build-env-args``)
|
|
92
|
+
=====================================
|
|
93
|
+
|
|
94
|
+
Some development tools are **not** installed by default. They are enabled with
|
|
95
|
+
a flag passed as a build environment variable using ``--build-env-args``, which
|
|
96
|
+
generates an ``ENV <FLAG>=TRUE`` line in the Dockerfile. If the flag is not
|
|
97
|
+
defined, the installation step is skipped.
|
|
98
|
+
|
|
99
|
+
.. list-table::
|
|
100
|
+
:widths: 30 70
|
|
101
|
+
:header-rows: 1
|
|
102
|
+
|
|
103
|
+
* - Flag
|
|
104
|
+
- Installs
|
|
105
|
+
* - ``VIM_INSTALL``
|
|
106
|
+
- vim + spf13-vim, vim-openerp, jedi-vim, wakatime and the pylint_odoo/eslint syntastic configuration
|
|
107
|
+
* - ``ZSH_INSTALL``
|
|
108
|
+
- zsh + oh-my-zsh with the ``odoo-shippable`` theme
|
|
109
|
+
|
|
110
|
+
Example enabling more than one::
|
|
111
|
+
|
|
112
|
+
travisfile2dockerfile --build-env-args VIM_INSTALL ZSH_INSTALL \
|
|
113
|
+
git@github.com:Vauxoo/forecast.git 8.0
|
|
114
|
+
|
|
115
|
+
codebase-memory-deployv
|
|
116
|
+
=======================
|
|
117
|
+
|
|
118
|
+
The image ships with `codebase-memory-deployv
|
|
119
|
+
<https://pypi.org/project/codebase-memory-deployv>`__, a wrapper that deploys
|
|
120
|
+
`codebase-memory-mcp <https://github.com/DeusData/codebase-memory-mcp>`__
|
|
121
|
+
(code knowledge graph for AI agents) for instances following this layout.
|
|
122
|
+
|
|
123
|
+
The repository is **not** indexed while building the image. Run inside the
|
|
124
|
+
container::
|
|
125
|
+
|
|
126
|
+
codebase-memory-deployv
|
|
127
|
+
|
|
128
|
+
It installs codebase-memory-mcp if it is missing, derives the project name from
|
|
129
|
+
``${MAIN_REPO_FULL_PATH}/variables.sh`` (e.g. ``forecast_17.0``), and indexes
|
|
130
|
+
``/home/odoo/instance`` in batches of modules. Indexing takes a few minutes on
|
|
131
|
+
a big instance, so it is left as an explicit step for the user.
|
|
132
|
+
|
|
91
133
|
Depends
|
|
92
134
|
=======
|
|
93
135
|
|
|
@@ -95,6 +95,48 @@ To create container:
|
|
|
95
95
|
To run the test (into of container):
|
|
96
96
|
`/entrypoint.sh`
|
|
97
97
|
|
|
98
|
+
Optional tools (``--build-env-args``)
|
|
99
|
+
=====================================
|
|
100
|
+
|
|
101
|
+
Some development tools are **not** installed by default. They are enabled with
|
|
102
|
+
a flag passed as a build environment variable using ``--build-env-args``, which
|
|
103
|
+
generates an ``ENV <FLAG>=TRUE`` line in the Dockerfile. If the flag is not
|
|
104
|
+
defined, the installation step is skipped.
|
|
105
|
+
|
|
106
|
+
.. list-table::
|
|
107
|
+
:widths: 30 70
|
|
108
|
+
:header-rows: 1
|
|
109
|
+
|
|
110
|
+
* - Flag
|
|
111
|
+
- Installs
|
|
112
|
+
* - ``VIM_INSTALL``
|
|
113
|
+
- vim + spf13-vim, vim-openerp, jedi-vim, wakatime and the pylint_odoo/eslint syntastic configuration
|
|
114
|
+
* - ``ZSH_INSTALL``
|
|
115
|
+
- zsh + oh-my-zsh with the ``odoo-shippable`` theme
|
|
116
|
+
|
|
117
|
+
Example enabling more than one::
|
|
118
|
+
|
|
119
|
+
travisfile2dockerfile --build-env-args VIM_INSTALL ZSH_INSTALL \
|
|
120
|
+
git@github.com:Vauxoo/forecast.git 8.0
|
|
121
|
+
|
|
122
|
+
codebase-memory-deployv
|
|
123
|
+
=======================
|
|
124
|
+
|
|
125
|
+
The image ships with `codebase-memory-deployv
|
|
126
|
+
<https://pypi.org/project/codebase-memory-deployv>`__, a wrapper that deploys
|
|
127
|
+
`codebase-memory-mcp <https://github.com/DeusData/codebase-memory-mcp>`__
|
|
128
|
+
(code knowledge graph for AI agents) for instances following this layout.
|
|
129
|
+
|
|
130
|
+
The repository is **not** indexed while building the image. Run inside the
|
|
131
|
+
container::
|
|
132
|
+
|
|
133
|
+
codebase-memory-deployv
|
|
134
|
+
|
|
135
|
+
It installs codebase-memory-mcp if it is missing, derives the project name from
|
|
136
|
+
``${MAIN_REPO_FULL_PATH}/variables.sh`` (e.g. ``forecast_17.0``), and indexes
|
|
137
|
+
``/home/odoo/instance`` in batches of modules. Indexing takes a few minutes on
|
|
138
|
+
a big instance, so it is left as an explicit step for the user.
|
|
139
|
+
|
|
98
140
|
Depends
|
|
99
141
|
=======
|
|
100
142
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "6.4.28"
|
{travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/Dockerfile_deployv
RENAMED
|
@@ -23,6 +23,7 @@ ENV {{ build_env_arg }}=TRUE
|
|
|
23
23
|
|
|
24
24
|
# Create cluster with odoo as owner and use environment variables instead of odoo cfg to connect
|
|
25
25
|
RUN . /home/odoo/build.sh && \
|
|
26
|
+
set_odoo_ids && \
|
|
26
27
|
install_dev_tools && \
|
|
27
28
|
service_postgres_without_sudo odoo odoo && \
|
|
28
29
|
install_pgcli_venv && \
|
|
@@ -102,7 +102,8 @@ install_dev_tools(){
|
|
|
102
102
|
pre-commit-vauxoo \
|
|
103
103
|
pg-activity \
|
|
104
104
|
nodeenv \
|
|
105
|
-
pdbpp
|
|
105
|
+
pdbpp \
|
|
106
|
+
codebase-memory-deployv
|
|
106
107
|
|
|
107
108
|
# Symlinks used by vscode and possibly other tools.
|
|
108
109
|
PCV_DIR="$(python3 -c "import pre_commit_vauxoo as pcv; print(pcv.__path__[0])")/cfg"
|
|
@@ -216,6 +217,27 @@ chown_all(){
|
|
|
216
217
|
chown -R odoo:odoo /etc/postgresql-common/common-vauxoo.conf
|
|
217
218
|
}
|
|
218
219
|
|
|
220
|
+
set_odoo_ids(){
|
|
221
|
+
# OrchestSH images (ORCHESTSH=True) use UID/GID 5410 for the odoo user;
|
|
222
|
+
# older images use 1000/1001. A mismatch causes permission issues when
|
|
223
|
+
# sharing files across containers, so align both to 5410 when they differ.
|
|
224
|
+
CURRENT_UID=$(id -u odoo)
|
|
225
|
+
CURRENT_GID=$(id -g odoo)
|
|
226
|
+
NEW_ID=5410
|
|
227
|
+
if [ "${CURRENT_GID}" != "${NEW_ID}" ]; then
|
|
228
|
+
echo "Changing odoo GID from ${CURRENT_GID} to ${NEW_ID}"
|
|
229
|
+
groupmod -g "${NEW_ID}" odoo
|
|
230
|
+
# groupmod does not re-chown any file
|
|
231
|
+
find / -xdev -gid "${CURRENT_GID}" -exec chown -h ":${NEW_ID}" {} + 2>/dev/null || true
|
|
232
|
+
fi
|
|
233
|
+
if [ "${CURRENT_UID}" != "${NEW_ID}" ]; then
|
|
234
|
+
echo "Changing odoo UID from ${CURRENT_UID} to ${NEW_ID}"
|
|
235
|
+
usermod -u "${NEW_ID}" odoo
|
|
236
|
+
# usermod only re-chowns files inside the home directory
|
|
237
|
+
find / -xdev -uid "${CURRENT_UID}" -exec chown -h "${NEW_ID}" {} + 2>/dev/null || true
|
|
238
|
+
fi
|
|
239
|
+
}
|
|
240
|
+
|
|
219
241
|
configure_vim(){
|
|
220
242
|
git_clone_copy(){
|
|
221
243
|
URL="${1}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: travis2docker
|
|
3
|
-
Version: 6.4.
|
|
3
|
+
Version: 6.4.28
|
|
4
4
|
Summary: Script to generate Dockerfile from .travis.yml file
|
|
5
5
|
Home-page: https://github.com/vauxoo/travis2docker
|
|
6
6
|
Author: Vauxoo
|
|
@@ -88,6 +88,48 @@ To create container:
|
|
|
88
88
|
To run the test (into of container):
|
|
89
89
|
`/entrypoint.sh`
|
|
90
90
|
|
|
91
|
+
Optional tools (``--build-env-args``)
|
|
92
|
+
=====================================
|
|
93
|
+
|
|
94
|
+
Some development tools are **not** installed by default. They are enabled with
|
|
95
|
+
a flag passed as a build environment variable using ``--build-env-args``, which
|
|
96
|
+
generates an ``ENV <FLAG>=TRUE`` line in the Dockerfile. If the flag is not
|
|
97
|
+
defined, the installation step is skipped.
|
|
98
|
+
|
|
99
|
+
.. list-table::
|
|
100
|
+
:widths: 30 70
|
|
101
|
+
:header-rows: 1
|
|
102
|
+
|
|
103
|
+
* - Flag
|
|
104
|
+
- Installs
|
|
105
|
+
* - ``VIM_INSTALL``
|
|
106
|
+
- vim + spf13-vim, vim-openerp, jedi-vim, wakatime and the pylint_odoo/eslint syntastic configuration
|
|
107
|
+
* - ``ZSH_INSTALL``
|
|
108
|
+
- zsh + oh-my-zsh with the ``odoo-shippable`` theme
|
|
109
|
+
|
|
110
|
+
Example enabling more than one::
|
|
111
|
+
|
|
112
|
+
travisfile2dockerfile --build-env-args VIM_INSTALL ZSH_INSTALL \
|
|
113
|
+
git@github.com:Vauxoo/forecast.git 8.0
|
|
114
|
+
|
|
115
|
+
codebase-memory-deployv
|
|
116
|
+
=======================
|
|
117
|
+
|
|
118
|
+
The image ships with `codebase-memory-deployv
|
|
119
|
+
<https://pypi.org/project/codebase-memory-deployv>`__, a wrapper that deploys
|
|
120
|
+
`codebase-memory-mcp <https://github.com/DeusData/codebase-memory-mcp>`__
|
|
121
|
+
(code knowledge graph for AI agents) for instances following this layout.
|
|
122
|
+
|
|
123
|
+
The repository is **not** indexed while building the image. Run inside the
|
|
124
|
+
container::
|
|
125
|
+
|
|
126
|
+
codebase-memory-deployv
|
|
127
|
+
|
|
128
|
+
It installs codebase-memory-mcp if it is missing, derives the project name from
|
|
129
|
+
``${MAIN_REPO_FULL_PATH}/variables.sh`` (e.g. ``forecast_17.0``), and indexes
|
|
130
|
+
``/home/odoo/instance`` in batches of modules. Indexing takes a few minutes on
|
|
131
|
+
a big instance, so it is left as an explicit step for the user.
|
|
132
|
+
|
|
91
133
|
Depends
|
|
92
134
|
=======
|
|
93
135
|
|
|
@@ -70,7 +70,7 @@ commands =
|
|
|
70
70
|
python setup.py check --strict --metadata --restructuredtext
|
|
71
71
|
; We are using git submodule in the package
|
|
72
72
|
; check-manifest {toxinidir}
|
|
73
|
-
pre-commit-vauxoo --compatibility-version=
|
|
73
|
+
pre-commit-vauxoo --compatibility-version=20.20.20.20.20.20.20.20.20.20 -t all -p src/ -p tests/ -p setup.py
|
|
74
74
|
|
|
75
75
|
[testenv:build]
|
|
76
76
|
skip_install = true
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "6.4.26"
|
|
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.26 → travis2docker-6.4.28}/src/travis2docker/templates/.vscode/extensions.json
RENAMED
|
File without changes
|
{travis2docker-6.4.26 → travis2docker-6.4.28}/src/travis2docker/templates/.vscode/launch.json
RENAMED
|
File without changes
|
{travis2docker-6.4.26 → travis2docker-6.4.28}/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.26 → travis2docker-6.4.28}/src/travis2docker/templates/entrypoint_deployv.sh
RENAMED
|
File without changes
|
|
File without changes
|
{travis2docker-6.4.26 → travis2docker-6.4.28}/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.26 → travis2docker-6.4.28}/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
|