partner-contact/.gitlab-ci.yml
2021-06-27 02:17:26 +00:00

1384 lines
79 KiB
YAML

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
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_all
--test-enable
--init partner_address_version,partner_firstname,partner_contact_job_position,partner_fax,partner_employee_quantity,partner_tz,base_location_nuts,partner_contact_age_range,partner_second_lastname,partner_contact_department,partner_contact_nationality,partner_phone_secondary,partner_affiliate,partner_tier_validation,partner_phone_extension,partner_priority,partner_ref_unique,animal,partner_industry_secondary,partner_helper,base_partner_sequence,partner_multi_relation,partner_iterative_archive,partner_address_street3,partner_company_type,portal_partner_select_all,base_location_geonames_import,partner_contact_birthdate,partner_identification,partner_vat_unique,partner_contact_access_link,partner_contact_personal_information_page,partner_contact_gender,partner_contact_lang,base_location,partner_contact_in_several_companies,partner_company_group,base_country_state_translatable
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_address_version:TEST
--log-handler flectra.addons.partner_firstname:TEST
--log-handler flectra.addons.partner_contact_job_position:TEST
--log-handler flectra.addons.partner_fax:TEST
--log-handler flectra.addons.partner_employee_quantity:TEST
--log-handler flectra.addons.partner_tz:TEST
--log-handler flectra.addons.base_location_nuts:TEST
--log-handler flectra.addons.partner_contact_age_range:TEST
--log-handler flectra.addons.partner_second_lastname:TEST
--log-handler flectra.addons.partner_contact_department:TEST
--log-handler flectra.addons.partner_contact_nationality:TEST
--log-handler flectra.addons.partner_phone_secondary:TEST
--log-handler flectra.addons.partner_affiliate:TEST
--log-handler flectra.addons.partner_tier_validation:TEST
--log-handler flectra.addons.partner_phone_extension:TEST
--log-handler flectra.addons.partner_priority:TEST
--log-handler flectra.addons.partner_ref_unique:TEST
--log-handler flectra.addons.animal:TEST
--log-handler flectra.addons.partner_industry_secondary:TEST
--log-handler flectra.addons.partner_helper:TEST
--log-handler flectra.addons.base_partner_sequence:TEST
--log-handler flectra.addons.partner_multi_relation:TEST
--log-handler flectra.addons.partner_iterative_archive:TEST
--log-handler flectra.addons.partner_address_street3:TEST
--log-handler flectra.addons.partner_company_type:TEST
--log-handler flectra.addons.portal_partner_select_all:TEST
--log-handler flectra.addons.base_location_geonames_import:TEST
--log-handler flectra.addons.partner_contact_birthdate:TEST
--log-handler flectra.addons.partner_identification:TEST
--log-handler flectra.addons.partner_vat_unique:TEST
--log-handler flectra.addons.partner_contact_access_link:TEST
--log-handler flectra.addons.partner_contact_personal_information_page:TEST
--log-handler flectra.addons.partner_contact_gender:TEST
--log-handler flectra.addons.partner_contact_lang:TEST
--log-handler flectra.addons.base_location:TEST
--log-handler flectra.addons.partner_contact_in_several_companies:TEST
--log-handler flectra.addons.partner_company_group:TEST
--log-handler flectra.addons.base_country_state_translatable:TEST
"
test_module_partner_address_version:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_address_version
- psql -h psql -U flectra -d test_partner_address_version -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_partner_address_version
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_address_version
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_address_version
--test-enable -i partner_address_version
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_address_version:TEST"
test_module_partner_firstname:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_firstname
- psql -h psql -U flectra -d test_partner_firstname -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_partner_firstname
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_firstname
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_firstname
--test-enable -i partner_firstname
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_firstname:TEST"
test_module_partner_contact_job_position:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_job_position
- psql -h psql -U flectra -d test_partner_contact_job_position -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_partner_contact_job_position
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_job_position
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_job_position
--test-enable -i partner_contact_job_position
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_job_position:TEST"
test_module_partner_fax:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_fax
- psql -h psql -U flectra -d test_partner_fax -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_partner_fax
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_fax
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_fax
--test-enable -i partner_fax
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_fax:TEST"
test_module_partner_employee_quantity:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_employee_quantity
- psql -h psql -U flectra -d test_partner_employee_quantity -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_partner_employee_quantity
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_employee_quantity
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_employee_quantity
--test-enable -i partner_employee_quantity
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_employee_quantity:TEST"
test_module_partner_tz:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_tz
- psql -h psql -U flectra -d test_partner_tz -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_partner_tz
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_tz
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_tz
--test-enable -i partner_tz
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_tz:TEST"
test_module_base_location_nuts:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_base_location_nuts
- psql -h psql -U flectra -d test_base_location_nuts -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_base_location_nuts
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_location_nuts
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_base_location_nuts
--test-enable -i base_location_nuts
--stop-after-init
--log-level error
--log-handler flectra.addons.base_location_nuts:TEST"
test_module_partner_contact_age_range:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_age_range
- psql -h psql -U flectra -d test_partner_contact_age_range -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_partner_contact_age_range
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_age_range
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_age_range
--test-enable -i partner_contact_age_range
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_age_range:TEST"
test_module_partner_second_lastname:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_second_lastname
- psql -h psql -U flectra -d test_partner_second_lastname -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_partner_second_lastname
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_second_lastname
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_second_lastname
--test-enable -i partner_second_lastname
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_second_lastname:TEST"
test_module_partner_contact_department:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_department
- psql -h psql -U flectra -d test_partner_contact_department -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_partner_contact_department
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_department
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_department
--test-enable -i partner_contact_department
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_department:TEST"
test_module_partner_contact_nationality:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_nationality
- psql -h psql -U flectra -d test_partner_contact_nationality -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_partner_contact_nationality
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_nationality
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_nationality
--test-enable -i partner_contact_nationality
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_nationality:TEST"
test_module_partner_phone_secondary:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_phone_secondary
- psql -h psql -U flectra -d test_partner_phone_secondary -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_partner_phone_secondary
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_phone_secondary
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_phone_secondary
--test-enable -i partner_phone_secondary
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_phone_secondary:TEST"
test_module_partner_affiliate:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_affiliate
- psql -h psql -U flectra -d test_partner_affiliate -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_partner_affiliate
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_affiliate
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_affiliate
--test-enable -i partner_affiliate
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_affiliate:TEST"
test_module_partner_tier_validation:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_tier_validation
- psql -h psql -U flectra -d test_partner_tier_validation -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_partner_tier_validation
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_tier_validation
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_tier_validation
--test-enable -i partner_tier_validation
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_tier_validation:TEST"
test_module_partner_phone_extension:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_phone_extension
- psql -h psql -U flectra -d test_partner_phone_extension -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_partner_phone_extension
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_phone_extension
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_phone_extension
--test-enable -i partner_phone_extension
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_phone_extension:TEST"
test_module_partner_priority:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_priority
- psql -h psql -U flectra -d test_partner_priority -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_partner_priority
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_priority
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_priority
--test-enable -i partner_priority
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_priority:TEST"
test_module_partner_ref_unique:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_ref_unique
- psql -h psql -U flectra -d test_partner_ref_unique -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_partner_ref_unique
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_ref_unique
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_ref_unique
--test-enable -i partner_ref_unique
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_ref_unique:TEST"
test_module_animal:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_animal
- psql -h psql -U flectra -d test_animal -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_animal
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_animal
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_animal
--test-enable -i animal
--stop-after-init
--log-level error
--log-handler flectra.addons.animal:TEST"
test_module_partner_industry_secondary:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_industry_secondary
- psql -h psql -U flectra -d test_partner_industry_secondary -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_partner_industry_secondary
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_industry_secondary
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_industry_secondary
--test-enable -i partner_industry_secondary
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_industry_secondary:TEST"
test_module_partner_helper:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_helper
- psql -h psql -U flectra -d test_partner_helper -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_partner_helper
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_helper
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_helper
--test-enable -i partner_helper
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_helper:TEST"
test_module_base_partner_sequence:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_base_partner_sequence
- psql -h psql -U flectra -d test_base_partner_sequence -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_base_partner_sequence
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_partner_sequence
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_base_partner_sequence
--test-enable -i base_partner_sequence
--stop-after-init
--log-level error
--log-handler flectra.addons.base_partner_sequence:TEST"
test_module_partner_multi_relation:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_multi_relation
- psql -h psql -U flectra -d test_partner_multi_relation -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_partner_multi_relation
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_multi_relation
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_multi_relation
--test-enable -i partner_multi_relation
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_multi_relation:TEST"
test_module_partner_iterative_archive:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_iterative_archive
- psql -h psql -U flectra -d test_partner_iterative_archive -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_partner_iterative_archive
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_iterative_archive
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_iterative_archive
--test-enable -i partner_iterative_archive
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_iterative_archive:TEST"
test_module_partner_address_street3:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_address_street3
- psql -h psql -U flectra -d test_partner_address_street3 -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_partner_address_street3
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_address_street3
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_address_street3
--test-enable -i partner_address_street3
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_address_street3:TEST"
test_module_partner_company_type:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_company_type
- psql -h psql -U flectra -d test_partner_company_type -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_partner_company_type
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_company_type
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_company_type
--test-enable -i partner_company_type
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_company_type:TEST"
test_module_portal_partner_select_all:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_portal_partner_select_all
- psql -h psql -U flectra -d test_portal_partner_select_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_portal_partner_select_all
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_portal_partner_select_all
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_portal_partner_select_all
--test-enable -i portal_partner_select_all
--stop-after-init
--log-level error
--log-handler flectra.addons.portal_partner_select_all:TEST"
test_module_base_location_geonames_import:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_base_location_geonames_import
- psql -h psql -U flectra -d test_base_location_geonames_import -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_base_location_geonames_import
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_location_geonames_import
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_base_location_geonames_import
--test-enable -i base_location_geonames_import
--stop-after-init
--log-level error
--log-handler flectra.addons.base_location_geonames_import:TEST"
test_module_partner_contact_birthdate:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_birthdate
- psql -h psql -U flectra -d test_partner_contact_birthdate -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_partner_contact_birthdate
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_birthdate
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_birthdate
--test-enable -i partner_contact_birthdate
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_birthdate:TEST"
test_module_partner_identification:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_identification
- psql -h psql -U flectra -d test_partner_identification -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_partner_identification
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_identification
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_identification
--test-enable -i partner_identification
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_identification:TEST"
test_module_partner_vat_unique:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_vat_unique
- psql -h psql -U flectra -d test_partner_vat_unique -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_partner_vat_unique
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_vat_unique
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_vat_unique
--test-enable -i partner_vat_unique
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_vat_unique:TEST"
test_module_partner_contact_access_link:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_access_link
- psql -h psql -U flectra -d test_partner_contact_access_link -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_partner_contact_access_link
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_access_link
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_access_link
--test-enable -i partner_contact_access_link
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_access_link:TEST"
test_module_partner_contact_personal_information_page:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_personal_information_page
- psql -h psql -U flectra -d test_partner_contact_personal_information_page -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_partner_contact_personal_information_page
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_personal_information_page
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_personal_information_page
--test-enable -i partner_contact_personal_information_page
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_personal_information_page:TEST"
test_module_partner_contact_gender:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_gender
- psql -h psql -U flectra -d test_partner_contact_gender -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_partner_contact_gender
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_gender
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_gender
--test-enable -i partner_contact_gender
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_gender:TEST"
test_module_partner_contact_lang:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_lang
- psql -h psql -U flectra -d test_partner_contact_lang -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_partner_contact_lang
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_lang
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_lang
--test-enable -i partner_contact_lang
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_lang:TEST"
test_module_base_location:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_base_location
- psql -h psql -U flectra -d test_base_location -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_base_location
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_location
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_base_location
--test-enable -i base_location
--stop-after-init
--log-level error
--log-handler flectra.addons.base_location:TEST"
test_module_partner_contact_in_several_companies:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_contact_in_several_companies
- psql -h psql -U flectra -d test_partner_contact_in_several_companies -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_partner_contact_in_several_companies
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_contact_in_several_companies
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_contact_in_several_companies
--test-enable -i partner_contact_in_several_companies
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_contact_in_several_companies:TEST"
test_module_partner_company_group:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_partner_company_group
- psql -h psql -U flectra -d test_partner_company_group -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_partner_company_group
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_partner_company_group
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_partner_company_group
--test-enable -i partner_company_group
--stop-after-init
--log-level error
--log-handler flectra.addons.partner_company_group:TEST"
test_module_base_country_state_translatable:
stage: testsingle
when: on_failure
image:
name: registry.gitlab.com/jamotion/flectra/ubuntudev:2-latest
entrypoint: ["/bin/sh", "-c"]
script:
- apt-get install -y p7zip-full
- apt install -y expect-dev
- su - flectra -c "mkdir ~/others"
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/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"
- 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_base_country_state_translatable
- psql -h psql -U flectra -d test_base_country_state_translatable -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_base_country_state_translatable
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_country_state_translatable
- su - flectra -c "/opt/flectra/flectra-bin
--addons-path ${CI_PROJECT_DIR},~/others/server-tools,~/others/server-ux
--db_host psql
--db_port 5432
--db_user flectra
--db_password flectra
--database test_base_country_state_translatable
--test-enable -i base_country_state_translatable
--stop-after-init
--log-level error
--log-handler flectra.addons.base_country_state_translatable:TEST"