From 17c345e43a813327cb37838098d118e81b13100e Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Thu, 28 Jul 2022 18:15:42 +0200 Subject: [PATCH] chg: [odoo-tecnativa,compose] make ``load``, ``save`` and ``sql`` action force usage of ``no-hooks`` Signed-off-by: Valentin Lab --- odoo-tecnativa/actions/load | 1 + odoo-tecnativa/actions/save | 1 + postgres/actions/relations/postgres-database/sql | 1 + 3 files changed, 3 insertions(+) diff --git a/odoo-tecnativa/actions/load b/odoo-tecnativa/actions/load index 8edf853..070c5eb 100755 --- a/odoo-tecnativa/actions/load +++ b/odoo-tecnativa/actions/load @@ -1,4 +1,5 @@ #!/bin/bash +## compose: no-hooks if [ -z "$SERVICE_DATASTORE" ]; then echo "This script is meant to be run through 'compose' to work properly." >&2 diff --git a/odoo-tecnativa/actions/save b/odoo-tecnativa/actions/save index baaa406..b9d067d 100755 --- a/odoo-tecnativa/actions/save +++ b/odoo-tecnativa/actions/save @@ -1,4 +1,5 @@ #!/bin/bash +## compose: no-hooks if [ -z "$SERVICE_DATASTORE" ]; then echo "This script is meant to be run through 'compose' to work properly." >&2 diff --git a/postgres/actions/relations/postgres-database/sql b/postgres/actions/relations/postgres-database/sql index fe5da32..470936a 100755 --- a/postgres/actions/relations/postgres-database/sql +++ b/postgres/actions/relations/postgres-database/sql @@ -1,4 +1,5 @@ #!/bin/bash +## compose: no-hooks ## Load action gets a first argument a FILE/DIRECTORY/URL holding the necessary files. ##