From 40314ae897fbfc9d3d4d91716a700489ffecf145 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Sat, 1 Feb 2025 16:57:06 +0100 Subject: [PATCH] feat: revert fix --- image/README.md | 4 ++-- task | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/image/README.md b/image/README.md index 7e73796c..08383d7d 100644 --- a/image/README.md +++ b/image/README.md @@ -140,7 +140,7 @@ Once you start the image the `entrypoint.sh` script will: Once the container is running you can update modules with this command: ```bash -$CONTAINER_ENGINE exec odoo bash -c "click-odoo-update \$(grep addons_path /etc/odoo/odoo.conf | sed 's/addons_path = /--addons-path=/') -d odoo +docker exec odoo bash -c "click-odoo-update \$(grep addons_path /etc/odoo/odoo.conf | sed 's/addons_path = /--addons-path=/') -d odoo ``` ### Analyze @@ -150,7 +150,7 @@ With the [Manifestoo](https://github.com/acsone/manifestoo) cli you can query th List all modules: ```bash -$CONTAINER_ENGINE exec odoo manifestoo --select-found list +docker exec odoo manifestoo --select-found list ``` ## Environment diff --git a/task b/task index 06f49808..e473247f 100755 --- a/task +++ b/task @@ -953,6 +953,7 @@ function test-container() { remove-env test git -C oca/partner-contact checkout . else + activate-venv version info set -e @@ -963,8 +964,8 @@ function test-container() { if [ ! -f "tmp/ed25519" ]; then ssh-keygen -t ed25519 -C admin@example.com -f tmp/ed25519 -N "" fi - eval "$(ssh-agent -s)" - ssh-add tmp/ed25519 || (entrypoint-log "Dumping tmp/ed25519 content:" && cat tmp/ed25519) + # eval "$(ssh-agent -s)" + # ssh-add tmp/ed25519 || (entrypoint-log "Dumping tmp/ed25519 content:" && cat tmp/ed25519) GIT_SSH_PRIVATE_KEY=$(cat tmp/ed25519 | base64 -w0) GIT_SSH_PUBLIC_KEY=$(cat tmp/ed25519.pub) fi