mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-12-24 13:21:45 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
cef3671f91
commit
e872167ee2
682
.gitlab-ci.yml
682
.gitlab-ci.yml
@ -44,353 +44,23 @@ test_all_modules:
|
||||
--db_password flectra
|
||||
--database test_all
|
||||
--test-enable
|
||||
--init account_payment_order_return,account_payment_partner,account_payment_order,account_payment_purchase,account_payment_mode,account_banking_sepa_direct_debit,account_banking_sepa_credit_transfer,account_banking_mandate_sale,account_banking_pain_base,account_payment_sale,account_banking_mandate
|
||||
--init account_banking_mandate,account_payment_order_return,account_payment_order,account_payment_sale,account_payment_purchase,account_payment_partner,account_banking_pain_base,account_banking_sepa_direct_debit,account_banking_mandate_sale,account_banking_sepa_credit_transfer,account_payment_mode
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_order_return:TEST
|
||||
--log-handler flectra.addons.account_payment_partner:TEST
|
||||
--log-handler flectra.addons.account_payment_order:TEST
|
||||
--log-handler flectra.addons.account_payment_purchase:TEST
|
||||
--log-handler flectra.addons.account_payment_mode:TEST
|
||||
--log-handler flectra.addons.account_banking_sepa_direct_debit:TEST
|
||||
--log-handler flectra.addons.account_banking_sepa_credit_transfer:TEST
|
||||
--log-handler flectra.addons.account_banking_mandate_sale:TEST
|
||||
--log-handler flectra.addons.account_banking_pain_base:TEST
|
||||
--log-handler flectra.addons.account_payment_sale:TEST
|
||||
--log-handler flectra.addons.account_banking_mandate:TEST
|
||||
--log-handler flectra.addons.account_payment_order_return:TEST
|
||||
--log-handler flectra.addons.account_payment_order:TEST
|
||||
--log-handler flectra.addons.account_payment_sale:TEST
|
||||
--log-handler flectra.addons.account_payment_purchase:TEST
|
||||
--log-handler flectra.addons.account_payment_partner:TEST
|
||||
--log-handler flectra.addons.account_banking_pain_base:TEST
|
||||
--log-handler flectra.addons.account_banking_sepa_direct_debit:TEST
|
||||
--log-handler flectra.addons.account_banking_mandate_sale:TEST
|
||||
--log-handler flectra.addons.account_banking_sepa_credit_transfer:TEST
|
||||
--log-handler flectra.addons.account_payment_mode:TEST
|
||||
"
|
||||
|
||||
|
||||
test_module_account_payment_order_return:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_order_return
|
||||
- psql -h psql -U flectra -d test_account_payment_order_return -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_order_return
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_order_return
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_order_return
|
||||
--test-enable -i account_payment_order_return
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_order_return:TEST"
|
||||
|
||||
test_module_account_payment_partner:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_partner
|
||||
- psql -h psql -U flectra -d test_account_payment_partner -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_partner
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_partner
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_partner
|
||||
--test-enable -i account_payment_partner
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_partner:TEST"
|
||||
|
||||
test_module_account_payment_order:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_order
|
||||
- psql -h psql -U flectra -d test_account_payment_order -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_order
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_order
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_order
|
||||
--test-enable -i account_payment_order
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_order:TEST"
|
||||
|
||||
test_module_account_payment_purchase:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_purchase
|
||||
- psql -h psql -U flectra -d test_account_payment_purchase -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_purchase
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_purchase
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_purchase
|
||||
--test-enable -i account_payment_purchase
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_purchase:TEST"
|
||||
|
||||
test_module_account_payment_mode:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_mode
|
||||
- psql -h psql -U flectra -d test_account_payment_mode -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_mode
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_mode
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_mode
|
||||
--test-enable -i account_payment_mode
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_mode:TEST"
|
||||
|
||||
test_module_account_banking_sepa_direct_debit:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_sepa_direct_debit
|
||||
- psql -h psql -U flectra -d test_account_banking_sepa_direct_debit -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_sepa_direct_debit
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_sepa_direct_debit
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_banking_sepa_direct_debit
|
||||
--test-enable -i account_banking_sepa_direct_debit
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_sepa_direct_debit:TEST"
|
||||
|
||||
test_module_account_banking_sepa_credit_transfer:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_sepa_credit_transfer
|
||||
- psql -h psql -U flectra -d test_account_banking_sepa_credit_transfer -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_sepa_credit_transfer
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_sepa_credit_transfer
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_banking_sepa_credit_transfer
|
||||
--test-enable -i account_banking_sepa_credit_transfer
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_sepa_credit_transfer:TEST"
|
||||
|
||||
test_module_account_banking_mandate_sale:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_mandate_sale
|
||||
- psql -h psql -U flectra -d test_account_banking_mandate_sale -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_mandate_sale
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_mandate_sale
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_banking_mandate_sale
|
||||
--test-enable -i account_banking_mandate_sale
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_mandate_sale:TEST"
|
||||
|
||||
test_module_account_banking_pain_base:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_pain_base
|
||||
- psql -h psql -U flectra -d test_account_banking_pain_base -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_pain_base
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_pain_base
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_banking_pain_base
|
||||
--test-enable -i account_banking_pain_base
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_pain_base:TEST"
|
||||
|
||||
test_module_account_payment_sale:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_sale
|
||||
- psql -h psql -U flectra -d test_account_payment_sale -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_sale
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_sale
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_sale
|
||||
--test-enable -i account_payment_sale
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_sale:TEST"
|
||||
|
||||
test_module_account_banking_mandate:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
@ -424,3 +94,333 @@ test_module_account_banking_mandate:
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_mandate:TEST"
|
||||
|
||||
test_module_account_payment_order_return:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_order_return
|
||||
- psql -h psql -U flectra -d test_account_payment_order_return -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_order_return
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_order_return
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_order_return
|
||||
--test-enable -i account_payment_order_return
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_order_return:TEST"
|
||||
|
||||
test_module_account_payment_order:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_order
|
||||
- psql -h psql -U flectra -d test_account_payment_order -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_order
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_order
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_order
|
||||
--test-enable -i account_payment_order
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_order:TEST"
|
||||
|
||||
test_module_account_payment_sale:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_sale
|
||||
- psql -h psql -U flectra -d test_account_payment_sale -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_sale
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_sale
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_sale
|
||||
--test-enable -i account_payment_sale
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_sale:TEST"
|
||||
|
||||
test_module_account_payment_purchase:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_purchase
|
||||
- psql -h psql -U flectra -d test_account_payment_purchase -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_purchase
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_purchase
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_purchase
|
||||
--test-enable -i account_payment_purchase
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_purchase:TEST"
|
||||
|
||||
test_module_account_payment_partner:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_partner
|
||||
- psql -h psql -U flectra -d test_account_payment_partner -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_partner
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_partner
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_partner
|
||||
--test-enable -i account_payment_partner
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_partner:TEST"
|
||||
|
||||
test_module_account_banking_pain_base:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_pain_base
|
||||
- psql -h psql -U flectra -d test_account_banking_pain_base -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_pain_base
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_pain_base
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_banking_pain_base
|
||||
--test-enable -i account_banking_pain_base
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_pain_base:TEST"
|
||||
|
||||
test_module_account_banking_sepa_direct_debit:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_sepa_direct_debit
|
||||
- psql -h psql -U flectra -d test_account_banking_sepa_direct_debit -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_sepa_direct_debit
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_sepa_direct_debit
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_banking_sepa_direct_debit
|
||||
--test-enable -i account_banking_sepa_direct_debit
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_sepa_direct_debit:TEST"
|
||||
|
||||
test_module_account_banking_mandate_sale:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_mandate_sale
|
||||
- psql -h psql -U flectra -d test_account_banking_mandate_sale -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_mandate_sale
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_mandate_sale
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_banking_mandate_sale
|
||||
--test-enable -i account_banking_mandate_sale
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_mandate_sale:TEST"
|
||||
|
||||
test_module_account_banking_sepa_credit_transfer:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_sepa_credit_transfer
|
||||
- psql -h psql -U flectra -d test_account_banking_sepa_credit_transfer -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_sepa_credit_transfer
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_sepa_credit_transfer
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_banking_sepa_credit_transfer
|
||||
--test-enable -i account_banking_sepa_credit_transfer
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_banking_sepa_credit_transfer:TEST"
|
||||
|
||||
test_module_account_payment_mode:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- apt-get install -y p7zip-full
|
||||
- apt install -y expect-dev
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-payment.git ~/others/account-payment"
|
||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
||||
- mkdir ${CI_PROJECT_DIR}/ci_data
|
||||
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||
- 7z x -o ${CI_PROJECT_DIR}/ci_data/ ${CI_PROJECT_DIR}/ci_data/test_base.zip
|
||||
- export PGPASSWORD="flectra"
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_mode
|
||||
- psql -h psql -U flectra -d test_account_payment_mode -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_mode
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_mode
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/account-payment
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_account_payment_mode
|
||||
--test-enable -i account_payment_mode
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.account_payment_mode:TEST"
|
||||
|
||||
|
20
README.md
20
README.md
@ -9,16 +9,16 @@ Available addons
|
||||
|
||||
addon | version | summary
|
||||
--- | --- | ---
|
||||
[account_payment_order_return](account_payment_order_return/) | 1.0.1.0.0| Account Payment Order Return
|
||||
[account_payment_partner](account_payment_partner/) | 1.0.1.4.0| Adds payment mode on partners and invoices
|
||||
[account_payment_order](account_payment_order/) | 1.0.1.3.3| Account Payment Order
|
||||
[account_payment_purchase](account_payment_purchase/) | 1.0.1.0.1| Adds Bank Account and Payment Mode on Purchase Orders
|
||||
[account_payment_mode](account_payment_mode/) | 1.0.1.0.1| Account Payment Mode
|
||||
[account_banking_sepa_direct_debit](account_banking_sepa_direct_debit/) | 1.0.1.0.4| Create SEPA files for Direct Debit
|
||||
[account_banking_sepa_credit_transfer](account_banking_sepa_credit_transfer/) | 1.0.1.0.0| Create SEPA XML files for Credit Transfers
|
||||
[account_banking_mandate_sale](account_banking_mandate_sale/) | 1.0.1.0.0| Adds mandates on sale orders
|
||||
[account_banking_pain_base](account_banking_pain_base/) | 1.0.1.0.3| Base module for PAIN file generation
|
||||
[account_payment_sale](account_payment_sale/) | 1.0.1.0.2| Adds payment mode on sale orders
|
||||
[account_banking_mandate](account_banking_mandate/) | 1.0.2.0.1| Banking mandates
|
||||
[account_payment_order_return](account_payment_order_return/) | 1.0.1.0.0| Account Payment Order Return
|
||||
[account_payment_order](account_payment_order/) | 1.0.1.3.3| Account Payment Order
|
||||
[account_payment_sale](account_payment_sale/) | 1.0.1.0.2| Adds payment mode on sale orders
|
||||
[account_payment_purchase](account_payment_purchase/) | 1.0.1.0.1| Adds Bank Account and Payment Mode on Purchase Orders
|
||||
[account_payment_partner](account_payment_partner/) | 1.0.1.4.0| Adds payment mode on partners and invoices
|
||||
[account_banking_pain_base](account_banking_pain_base/) | 1.0.1.0.3| Base module for PAIN file generation
|
||||
[account_banking_sepa_direct_debit](account_banking_sepa_direct_debit/) | 1.0.1.0.4| Create SEPA files for Direct Debit
|
||||
[account_banking_mandate_sale](account_banking_mandate_sale/) | 1.0.1.0.0| Adds mandates on sale orders
|
||||
[account_banking_sepa_credit_transfer](account_banking_sepa_credit_transfer/) | 1.0.1.0.0| Create SEPA XML files for Credit Transfers
|
||||
[account_payment_mode](account_payment_mode/) | 1.0.1.0.1| Account Payment Mode
|
||||
|
||||
|
||||
|
@ -11,7 +11,6 @@ Most of the files are
|
||||
Copyright 2017 Tecnativa - Carlos Dauden <carlos.dauden@tecnativa.com>
|
||||
Copyright 2019 Tecnativa - Pedro M. Baeza
|
||||
© 2013-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
Copyright 2018 Flectra Community
|
||||
|
||||
Many files also contain contributions from third
|
||||
|
@ -1,12 +1,12 @@
|
||||
Most of the files are
|
||||
|
||||
Copyright (C) 2013-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
Copyright 2013-2016 Akretion - Alexis de Lattre
|
||||
Copyright 2014-2017 Tecnativa - Pedro M. Baeza
|
||||
Copyright 2015-2017 Tecnativa
|
||||
Copyright 2016 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
Copyright 2016 Tecnativa - Antonio Espinosa
|
||||
Copyright 2017 Tecnativa - Pedro M. Baeza
|
||||
© 2013 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
© 2013 Noviat (http://www.noviat.com) - Luc de Meyer
|
||||
© 2013-2016 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
© 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
|
||||
|
@ -3,9 +3,9 @@ Most of the files are
|
||||
Copyright 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
© 2010-2016 Akretion (www.akretion.com)
|
||||
© 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
|
||||
© 2014 Tecnativa - Pedro M. Baeza
|
||||
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
© 2016 Tecnativa - Antonio Espinosa
|
||||
© 2017 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
Copyright 2018 Flectra Community
|
||||
|
||||
Many files also contain contributions from third
|
||||
|
@ -1,12 +1,15 @@
|
||||
Most of the files are
|
||||
|
||||
<!-- Copyright 2015-2017 Tecnativa
|
||||
Copyright 2013-2016 Akretion (www.akretion.com)
|
||||
Copyright 2014-2017 Tecnativa - Pedro M. Baeza
|
||||
Copyright 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
Copyright 2016 Tecnativa - Antonio Espinosa
|
||||
Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
© 2013-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
© 2013-2016 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
© 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
|
||||
© 2015-2016 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
© 2016 Antiun Ingenieria S.L. - Antonio Espinosa
|
||||
Copyright 2018 Flectra Community
|
||||
|
@ -3,7 +3,6 @@ Most of the files are
|
||||
Copyright 2018 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
© 2016 Eficent Business and IT Consulting Services S.L.
|
||||
© 2017 Eficent Business and IT Consulting Services S.L.
|
||||
Copyright 2018 Flectra Community
|
||||
|
||||
Many files also contain contributions from third
|
||||
|
@ -1,24 +1,19 @@
|
||||
Most of the files are
|
||||
|
||||
<!-- © 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>) -->
|
||||
Copyright 2017 Camptocamp SA
|
||||
Copyright 2017 Creu Blanca
|
||||
Copyright 2019 Tecnativa - Pedro M. Baeza
|
||||
© 2009 EduSense BV (<http://www.edusense.nl>)
|
||||
© 2011-2013 Therp BV (<https://therp.nl>)
|
||||
© 2013-2014 ACSONE SA (<https://acsone.eu>).
|
||||
© 2014-2015 ACSONE SA/NV (<https://acsone.eu>)
|
||||
© 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
© 2014-2016 Serv. Tecnol. Avanzados - Pedro M. Baeza
|
||||
© 2013-2016 Akretion (https://www.akretion.com)
|
||||
© 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
|
||||
© 2014-2016 Tecnativa - Pedro M. Baeza
|
||||
© 2015-2016 Akretion (<https://www.akretion.com>)
|
||||
© 2015-2016 Akretion (https://www.akretion.com/)
|
||||
© 2015-2016 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
© 2016 Akretion (<https://www.akretion.com>)
|
||||
© 2016 Akretion (Alexis de Lattre - alexis.delattre@akretion.com)
|
||||
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||
© 2016 Aselcis (<https://www.aselcis.com>).
|
||||
© 2016 Serv. Tecnol. Avanzados - Pedro M. Baeza
|
||||
© 2017 Acsone SA/NV (<https://www.acsone.eu>)
|
||||
© 2017 Camptocamp SA
|
||||
© 2017 Creu Blanca
|
||||
Copyright 2018 Flectra Community
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user