travis2docker 6.4.26__tar.gz → 6.4.27__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.27}/.bumpversion.cfg +1 -1
- {travis2docker-6.4.26 → travis2docker-6.4.27}/PKG-INFO +1 -1
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/conf.py +1 -1
- {travis2docker-6.4.26 → travis2docker-6.4.27}/setup.py +1 -1
- travis2docker-6.4.27/src/travis2docker/__init__.py +1 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/Dockerfile_deployv +1 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/build.sh +21 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker.egg-info/PKG-INFO +1 -1
- travis2docker-6.4.26/src/travis2docker/__init__.py +0 -1
- {travis2docker-6.4.26 → travis2docker-6.4.27}/.coveragerc +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/AUTHORS.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/CHANGELOG.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/CONTRIBUTING.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/LICENSE +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/MANIFEST.in +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/README.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/authors.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/changelog.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/contributing.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/index.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/installation.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/readme.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/reference/index.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/reference/travis2docker.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/requirements.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/spelling_wordlist.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/docs/usage.rst +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/examples/example_1.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/examples/example_2.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/examples/example_3.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/examples/example_4.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/examples/example_5.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/requirements.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/setup.cfg +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/__main__.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/cli.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/docker_helper/build.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/exceptions.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/git_run.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/.coveragerc +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/.vscode/extensions.json +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/.vscode/launch.json +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/.vscode/settings.json +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/10-build.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/20-run.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/Dockerfile +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/entrypoint.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/entrypoint_deployv.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/rvm_env.sh +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis-ci-apt-source-whitelist/.git +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis-ci-apt-source-whitelist/.gitignore +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis-ci-apt-source-whitelist/.travis.yml +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis-ci-apt-source-whitelist/LICENSE +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis-ci-apt-source-whitelist/README.md +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis-ci-apt-source-whitelist/add_all.rb +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis-ci-apt-source-whitelist/bin/travis-add-source +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis-ci-apt-source-whitelist/ubuntu.json +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/travis2docker.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker.egg-info/SOURCES.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker.egg-info/dependency_links.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker.egg-info/entry_points.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker.egg-info/not-zip-safe +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker.egg-info/requires.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker.egg-info/top_level.txt +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/tests/test_travis2docker.py +0 -0
- {travis2docker-6.4.26 → travis2docker-6.4.27}/tox.ini +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "6.4.27"
|
{travis2docker-6.4.26 → travis2docker-6.4.27}/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 && \
|
|
@@ -216,6 +216,27 @@ chown_all(){
|
|
|
216
216
|
chown -R odoo:odoo /etc/postgresql-common/common-vauxoo.conf
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
set_odoo_ids(){
|
|
220
|
+
# OrchestSH images (ORCHESTSH=True) use UID/GID 5410 for the odoo user;
|
|
221
|
+
# older images use 1000/1001. A mismatch causes permission issues when
|
|
222
|
+
# sharing files across containers, so align both to 5410 when they differ.
|
|
223
|
+
CURRENT_UID=$(id -u odoo)
|
|
224
|
+
CURRENT_GID=$(id -g odoo)
|
|
225
|
+
NEW_ID=5410
|
|
226
|
+
if [ "${CURRENT_GID}" != "${NEW_ID}" ]; then
|
|
227
|
+
echo "Changing odoo GID from ${CURRENT_GID} to ${NEW_ID}"
|
|
228
|
+
groupmod -g "${NEW_ID}" odoo
|
|
229
|
+
# groupmod does not re-chown any file
|
|
230
|
+
find / -xdev -gid "${CURRENT_GID}" -exec chown -h ":${NEW_ID}" {} + 2>/dev/null || true
|
|
231
|
+
fi
|
|
232
|
+
if [ "${CURRENT_UID}" != "${NEW_ID}" ]; then
|
|
233
|
+
echo "Changing odoo UID from ${CURRENT_UID} to ${NEW_ID}"
|
|
234
|
+
usermod -u "${NEW_ID}" odoo
|
|
235
|
+
# usermod only re-chowns files inside the home directory
|
|
236
|
+
find / -xdev -uid "${CURRENT_UID}" -exec chown -h "${NEW_ID}" {} + 2>/dev/null || true
|
|
237
|
+
fi
|
|
238
|
+
}
|
|
239
|
+
|
|
219
240
|
configure_vim(){
|
|
220
241
|
git_clone_copy(){
|
|
221
242
|
URL="${1}"
|
|
@@ -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
|
|
File without changes
|
{travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/.vscode/extensions.json
RENAMED
|
File without changes
|
{travis2docker-6.4.26 → travis2docker-6.4.27}/src/travis2docker/templates/.vscode/launch.json
RENAMED
|
File without changes
|
{travis2docker-6.4.26 → travis2docker-6.4.27}/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.27}/src/travis2docker/templates/entrypoint_deployv.sh
RENAMED
|
File without changes
|
|
File without changes
|
{travis2docker-6.4.26 → travis2docker-6.4.27}/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.27}/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
|