2021-03-12 16:21:19 +00:00
|
|
|
image: ubuntu:focal
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- testall
|
|
|
|
- testsingle
|
|
|
|
|
|
|
|
variables:
|
|
|
|
POSTGRES_DB: postgres
|
|
|
|
POSTGRES_USER: flectra
|
|
|
|
POSTGRES_PASSWORD: flectra
|
|
|
|
POSTGRES_HOST: postgres
|
|
|
|
POSTGRES_PORT: "5432"
|
|
|
|
|
|
|
|
services:
|
|
|
|
- name: postgres:12-alpine
|
|
|
|
alias: psql
|
|
|
|
|
|
|
|
|
|
|
|
test_all_modules:
|
|
|
|
stage: testall
|
|
|
|
image:
|
|
|
|
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
|
|
|
|
entrypoint: ["/bin/sh", "-c"]
|
|
|
|
script:
|
|
|
|
- apt-get install -y p7zip-full
|
|
|
|
- apt-get install -y expect-dev
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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_all
|
|
|
|
- psql -h psql -U flectra -d test_all -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_all
|
|
|
|
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_all
|
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
|
|
|
--database test_all
|
|
|
|
--test-enable
|
2021-11-07 03:11:01 +00:00
|
|
|
--init account_payment_purchase,account_banking_sepa_direct_debit,account_invoice_select_for_payment,account_payment_sale,account_banking_pain_base,account_banking_mandate,account_payment_order,account_payment_purchase_stock,account_banking_sepa_credit_transfer,account_payment_mode,account_banking_mandate_sale,account_payment_partner,account_payment_order_return
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_purchase:TEST
|
|
|
|
--log-handler flectra.addons.account_banking_sepa_direct_debit:TEST
|
2021-08-08 02:06:45 +00:00
|
|
|
--log-handler flectra.addons.account_invoice_select_for_payment:TEST
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_sale:TEST
|
|
|
|
--log-handler flectra.addons.account_banking_pain_base:TEST
|
2021-05-27 12:12:09 +00:00
|
|
|
--log-handler flectra.addons.account_banking_mandate:TEST
|
2021-03-12 16:21:19 +00:00
|
|
|
--log-handler flectra.addons.account_payment_order:TEST
|
2021-05-27 12:12:09 +00:00
|
|
|
--log-handler flectra.addons.account_payment_purchase_stock:TEST
|
2021-03-12 16:21:19 +00:00
|
|
|
--log-handler flectra.addons.account_banking_sepa_credit_transfer:TEST
|
2021-05-27 12:12:09 +00:00
|
|
|
--log-handler flectra.addons.account_payment_mode:TEST
|
2021-11-07 03:11:01 +00:00
|
|
|
--log-handler flectra.addons.account_banking_mandate_sale:TEST
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_partner:TEST
|
|
|
|
--log-handler flectra.addons.account_payment_order_return:TEST
|
2021-03-12 16:21:19 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_payment_purchase:
|
2021-04-28 14:53:45 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-04-28 14:53:45 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-04-28 14:53:45 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-04-28 14:53:45 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_payment_purchase
|
|
|
|
--test-enable -i account_payment_purchase
|
2021-04-28 14:53:45 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_purchase:TEST"
|
2021-04-28 14:53:45 +00:00
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_banking_sepa_direct_debit:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_banking_sepa_direct_debit
|
|
|
|
--test-enable -i account_banking_sepa_direct_debit
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_banking_sepa_direct_debit:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|
2021-08-08 02:06:45 +00:00
|
|
|
test_module_account_invoice_select_for_payment:
|
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-08-08 02:06:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-08-08 02:06:45 +00:00
|
|
|
- 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_invoice_select_for_payment
|
|
|
|
- psql -h psql -U flectra -d test_account_invoice_select_for_payment -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_invoice_select_for_payment
|
|
|
|
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_invoice_select_for_payment
|
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-08-08 02:06:45 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
|
|
|
--database test_account_invoice_select_for_payment
|
|
|
|
--test-enable -i account_invoice_select_for_payment
|
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
|
|
|
--log-handler flectra.addons.account_invoice_select_for_payment:TEST"
|
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_payment_sale:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_payment_sale
|
|
|
|
--test-enable -i account_payment_sale
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_sale:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_banking_pain_base:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_banking_pain_base
|
|
|
|
--test-enable -i account_banking_pain_base
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_banking_pain_base:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_banking_mandate:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- createdb -h psql -U flectra -O flectra -T template1 test_account_banking_mandate
|
|
|
|
- psql -h psql -U flectra -d test_account_banking_mandate -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_banking_mandate
|
|
|
|
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_banking_mandate
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_banking_mandate
|
|
|
|
--test-enable -i account_banking_mandate
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_banking_mandate:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_payment_order:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_payment_order
|
|
|
|
--test-enable -i account_payment_order
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_order:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_payment_purchase_stock:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- createdb -h psql -U flectra -O flectra -T template1 test_account_payment_purchase_stock
|
|
|
|
- psql -h psql -U flectra -d test_account_payment_purchase_stock -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_payment_purchase_stock
|
|
|
|
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_payment_purchase_stock
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_payment_purchase_stock
|
|
|
|
--test-enable -i account_payment_purchase_stock
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_purchase_stock:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_banking_sepa_credit_transfer:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_banking_sepa_credit_transfer
|
|
|
|
--test-enable -i account_banking_sepa_credit_transfer
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_banking_sepa_credit_transfer:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_payment_mode:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_payment_mode
|
|
|
|
--test-enable -i account_payment_mode
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_mode:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|
2021-11-07 03:11:01 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
|
|
|
- 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"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
|
|
|
- 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
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-11-07 03:11:01 +00:00
|
|
|
--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"
|
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_payment_partner:
|
2021-04-28 14:53:45 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-04-28 14:53:45 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-04-28 14:53:45 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-04-28 14:53:45 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_payment_partner
|
|
|
|
--test-enable -i account_payment_partner
|
2021-04-28 14:53:45 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_partner:TEST"
|
2021-04-28 14:53:45 +00:00
|
|
|
|
2021-07-25 02:10:22 +00:00
|
|
|
test_module_account_payment_order_return:
|
2021-03-12 16:21:19 +00:00
|
|
|
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
|
|
|
|
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
|
|
|
- su - flectra -c "mkdir ~/others"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-analytic.git ~/others/account-analytic"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-closing.git ~/others/account-closing"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-financial-tools.git ~/others/account-financial-tools"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/account-invoicing.git ~/others/account-invoicing"
|
2021-04-28 14:53:45 +00:00
|
|
|
- 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"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/brand.git ~/others/brand"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/community-data-files.git ~/others/community-data-files"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/connector.git ~/others/connector"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/edi.git ~/others/edi"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/partner-contact.git ~/others/partner-contact"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/product-attribute.git ~/others/product-attribute"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/queue.git ~/others/queue"
|
2021-12-19 03:11:46 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/reporting-engine.git ~/others/reporting-engine"
|
2021-11-07 03:11:01 +00:00
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/sale-workflow.git ~/others/sale-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-auth.git ~/others/server-auth"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-env.git ~/others/server-env"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-tools.git ~/others/server-tools"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/social.git ~/others/social"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-warehouse.git ~/others/stock-logistics-warehouse"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/stock-logistics-workflow.git ~/others/stock-logistics-workflow"
|
|
|
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/storage.git ~/others/storage"
|
2021-03-12 16:21:19 +00:00
|
|
|
- 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"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "mkdir -p ~/.local/share/filestore"
|
2021-07-25 02:10:22 +00:00
|
|
|
- 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
|
2021-03-12 16:21:19 +00:00
|
|
|
- su - flectra -c "/opt/flectra/flectra-bin
|
2022-01-23 03:10:28 +00:00
|
|
|
--addons-path ${CI_PROJECT_DIR},~/others/account-analytic,~/others/account-closing,~/others/account-financial-tools,~/others/account-invoicing,~/others/account-payment,~/others/brand,~/others/community-data-files,~/others/connector,~/others/edi,~/others/partner-contact,~/others/product-attribute,~/others/queue,~/others/reporting-engine,~/others/sale-workflow,~/others/server-auth,~/others/server-env,~/others/server-tools,~/others/server-ux,~/others/social,~/others/stock-logistics-warehouse,~/others/stock-logistics-workflow,~/others/storage
|
2021-03-12 16:21:19 +00:00
|
|
|
--db_host psql
|
|
|
|
--db_port 5432
|
|
|
|
--db_user flectra
|
|
|
|
--db_password flectra
|
2021-07-25 02:10:22 +00:00
|
|
|
--database test_account_payment_order_return
|
|
|
|
--test-enable -i account_payment_order_return
|
2021-03-12 16:21:19 +00:00
|
|
|
--stop-after-init
|
|
|
|
--log-level error
|
2021-07-25 02:10:22 +00:00
|
|
|
--log-handler flectra.addons.account_payment_order_return:TEST"
|
2021-03-12 16:21:19 +00:00
|
|
|
|