mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-24 23:22:06 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
112d01c1d2
commit
a4efaaf675
768
.gitlab-ci.yml
768
.gitlab-ci.yml
@ -44,28 +44,292 @@ test_all_modules:
|
||||
--db_password flectra
|
||||
--database test_all
|
||||
--test-enable
|
||||
--init base_technical_features,easy_switch_user,mass_editing,base_optional_quick_create,filter_multi_user,barcode_action,base_tier_validation,document_quick_access,document_quick_access_folder_auto_classification,base_export_manager,sequence_check_digit,base_tier_validation_formula,sequence_reset_period,date_range,default_multi_user,base_import_security_group
|
||||
--init easy_switch_user,filter_multi_user,default_multi_user,sequence_reset_period,sequence_check_digit,base_import_security_group,date_range,barcode_action,base_technical_features,base_tier_validation_formula,base_tier_validation,base_export_manager,document_quick_access,mass_editing,base_optional_quick_create,document_quick_access_folder_auto_classification
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_technical_features:TEST
|
||||
--log-handler flectra.addons.easy_switch_user:TEST
|
||||
--log-handler flectra.addons.filter_multi_user:TEST
|
||||
--log-handler flectra.addons.default_multi_user:TEST
|
||||
--log-handler flectra.addons.sequence_reset_period:TEST
|
||||
--log-handler flectra.addons.sequence_check_digit:TEST
|
||||
--log-handler flectra.addons.base_import_security_group:TEST
|
||||
--log-handler flectra.addons.date_range:TEST
|
||||
--log-handler flectra.addons.barcode_action:TEST
|
||||
--log-handler flectra.addons.base_technical_features:TEST
|
||||
--log-handler flectra.addons.base_tier_validation_formula:TEST
|
||||
--log-handler flectra.addons.base_tier_validation:TEST
|
||||
--log-handler flectra.addons.base_export_manager:TEST
|
||||
--log-handler flectra.addons.document_quick_access:TEST
|
||||
--log-handler flectra.addons.mass_editing:TEST
|
||||
--log-handler flectra.addons.base_optional_quick_create:TEST
|
||||
--log-handler flectra.addons.filter_multi_user:TEST
|
||||
--log-handler flectra.addons.barcode_action:TEST
|
||||
--log-handler flectra.addons.base_tier_validation:TEST
|
||||
--log-handler flectra.addons.document_quick_access:TEST
|
||||
--log-handler flectra.addons.document_quick_access_folder_auto_classification:TEST
|
||||
--log-handler flectra.addons.base_export_manager:TEST
|
||||
--log-handler flectra.addons.sequence_check_digit:TEST
|
||||
--log-handler flectra.addons.base_tier_validation_formula:TEST
|
||||
--log-handler flectra.addons.sequence_reset_period:TEST
|
||||
--log-handler flectra.addons.date_range:TEST
|
||||
--log-handler flectra.addons.default_multi_user:TEST
|
||||
--log-handler flectra.addons.base_import_security_group:TEST
|
||||
"
|
||||
|
||||
|
||||
test_module_easy_switch_user:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_easy_switch_user
|
||||
- psql -h psql -U flectra -d test_easy_switch_user -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_easy_switch_user
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_easy_switch_user
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_easy_switch_user
|
||||
--test-enable -i easy_switch_user
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.easy_switch_user:TEST"
|
||||
|
||||
test_module_filter_multi_user:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_filter_multi_user
|
||||
- psql -h psql -U flectra -d test_filter_multi_user -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_filter_multi_user
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_filter_multi_user
|
||||
--test-enable -i filter_multi_user
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.filter_multi_user:TEST"
|
||||
|
||||
test_module_default_multi_user:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_default_multi_user
|
||||
- psql -h psql -U flectra -d test_default_multi_user -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_default_multi_user
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_default_multi_user
|
||||
--test-enable -i default_multi_user
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.default_multi_user:TEST"
|
||||
|
||||
test_module_sequence_reset_period:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_sequence_reset_period
|
||||
- psql -h psql -U flectra -d test_sequence_reset_period -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_sequence_reset_period
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_sequence_reset_period
|
||||
--test-enable -i sequence_reset_period
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.sequence_reset_period:TEST"
|
||||
|
||||
test_module_sequence_check_digit:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_sequence_check_digit
|
||||
- psql -h psql -U flectra -d test_sequence_check_digit -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_sequence_check_digit
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_sequence_check_digit
|
||||
--test-enable -i sequence_check_digit
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.sequence_check_digit:TEST"
|
||||
|
||||
test_module_base_import_security_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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_import_security_group
|
||||
- psql -h psql -U flectra -d test_base_import_security_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_base_import_security_group
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_base_import_security_group
|
||||
--test-enable -i base_import_security_group
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_import_security_group:TEST"
|
||||
|
||||
test_module_date_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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_date_range
|
||||
- psql -h psql -U flectra -d test_date_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_date_range
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_date_range
|
||||
--test-enable -i date_range
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.date_range:TEST"
|
||||
|
||||
test_module_barcode_action:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_barcode_action
|
||||
- psql -h psql -U flectra -d test_barcode_action -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_barcode_action
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_barcode_action
|
||||
--test-enable -i barcode_action
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.barcode_action:TEST"
|
||||
|
||||
test_module_base_technical_features:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
@ -99,7 +363,7 @@ test_module_base_technical_features:
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_technical_features:TEST"
|
||||
|
||||
test_module_easy_switch_user:
|
||||
test_module_base_tier_validation_formula:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
@ -115,22 +379,121 @@ test_module_easy_switch_user:
|
||||
- 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_easy_switch_user
|
||||
- psql -h psql -U flectra -d test_easy_switch_user -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_base_tier_validation_formula
|
||||
- psql -h psql -U flectra -d test_base_tier_validation_formula -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_easy_switch_user
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_easy_switch_user
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_base_tier_validation_formula
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_easy_switch_user
|
||||
--test-enable -i easy_switch_user
|
||||
--database test_base_tier_validation_formula
|
||||
--test-enable -i base_tier_validation_formula
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.easy_switch_user:TEST"
|
||||
--log-handler flectra.addons.base_tier_validation_formula:TEST"
|
||||
|
||||
test_module_base_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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_tier_validation
|
||||
- psql -h psql -U flectra -d test_base_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_base_tier_validation
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_base_tier_validation
|
||||
--test-enable -i base_tier_validation
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_tier_validation:TEST"
|
||||
|
||||
test_module_base_export_manager:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_export_manager
|
||||
- psql -h psql -U flectra -d test_base_export_manager -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_export_manager
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_base_export_manager
|
||||
--test-enable -i base_export_manager
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_export_manager:TEST"
|
||||
|
||||
test_module_document_quick_access:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_document_quick_access
|
||||
- psql -h psql -U flectra -d test_document_quick_access -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_document_quick_access
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_document_quick_access
|
||||
--test-enable -i document_quick_access
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.document_quick_access:TEST"
|
||||
|
||||
test_module_mass_editing:
|
||||
stage: testsingle
|
||||
@ -198,138 +561,6 @@ test_module_base_optional_quick_create:
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_optional_quick_create:TEST"
|
||||
|
||||
test_module_filter_multi_user:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_filter_multi_user
|
||||
- psql -h psql -U flectra -d test_filter_multi_user -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_filter_multi_user
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_filter_multi_user
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_filter_multi_user
|
||||
--test-enable -i filter_multi_user
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.filter_multi_user:TEST"
|
||||
|
||||
test_module_barcode_action:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_barcode_action
|
||||
- psql -h psql -U flectra -d test_barcode_action -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_barcode_action
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_barcode_action
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_barcode_action
|
||||
--test-enable -i barcode_action
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.barcode_action:TEST"
|
||||
|
||||
test_module_base_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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_tier_validation
|
||||
- psql -h psql -U flectra -d test_base_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_base_tier_validation
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_base_tier_validation
|
||||
--test-enable -i base_tier_validation
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_tier_validation:TEST"
|
||||
|
||||
test_module_document_quick_access:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_document_quick_access
|
||||
- psql -h psql -U flectra -d test_document_quick_access -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_document_quick_access
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_document_quick_access
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_document_quick_access
|
||||
--test-enable -i document_quick_access
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.document_quick_access:TEST"
|
||||
|
||||
test_module_document_quick_access_folder_auto_classification:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
@ -363,234 +594,3 @@ test_module_document_quick_access_folder_auto_classification:
|
||||
--log-level error
|
||||
--log-handler flectra.addons.document_quick_access_folder_auto_classification:TEST"
|
||||
|
||||
test_module_base_export_manager:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_export_manager
|
||||
- psql -h psql -U flectra -d test_base_export_manager -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_export_manager
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_export_manager
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_base_export_manager
|
||||
--test-enable -i base_export_manager
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_export_manager:TEST"
|
||||
|
||||
test_module_sequence_check_digit:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_sequence_check_digit
|
||||
- psql -h psql -U flectra -d test_sequence_check_digit -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_sequence_check_digit
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_check_digit
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_sequence_check_digit
|
||||
--test-enable -i sequence_check_digit
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.sequence_check_digit:TEST"
|
||||
|
||||
test_module_base_tier_validation_formula:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_tier_validation_formula
|
||||
- psql -h psql -U flectra -d test_base_tier_validation_formula -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_tier_validation_formula
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_tier_validation_formula
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_base_tier_validation_formula
|
||||
--test-enable -i base_tier_validation_formula
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_tier_validation_formula:TEST"
|
||||
|
||||
test_module_sequence_reset_period:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_sequence_reset_period
|
||||
- psql -h psql -U flectra -d test_sequence_reset_period -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_sequence_reset_period
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_sequence_reset_period
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_sequence_reset_period
|
||||
--test-enable -i sequence_reset_period
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.sequence_reset_period:TEST"
|
||||
|
||||
test_module_date_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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_date_range
|
||||
- psql -h psql -U flectra -d test_date_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_date_range
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_date_range
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_date_range
|
||||
--test-enable -i date_range
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.date_range:TEST"
|
||||
|
||||
test_module_default_multi_user:
|
||||
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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_default_multi_user
|
||||
- psql -h psql -U flectra -d test_default_multi_user -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_default_multi_user
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_default_multi_user
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_default_multi_user
|
||||
--test-enable -i default_multi_user
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.default_multi_user:TEST"
|
||||
|
||||
test_module_base_import_security_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 python-lxml libzbar-dev poppler-utils
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- su - flectra -c "mkdir ~/others"
|
||||
- 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_import_security_group
|
||||
- psql -h psql -U flectra -d test_base_import_security_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_base_import_security_group
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_base_import_security_group
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_base_import_security_group
|
||||
--test-enable -i base_import_security_group
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_import_security_group:TEST"
|
||||
|
||||
|
24
README.md
24
README.md
@ -9,21 +9,21 @@ Available addons
|
||||
|
||||
addon | version | summary
|
||||
--- | --- | ---
|
||||
[base_technical_features](base_technical_features/) | 1.0.1.0.0| Access to technical features without activating debug mode
|
||||
[easy_switch_user](easy_switch_user/) | 1.0.1.0.0| Lets administrators and developers quickly change user to test e.g. access rights
|
||||
[filter_multi_user](filter_multi_user/) | 1.0.1.0.0| Allows to share user-defined filters filters among several users.
|
||||
[default_multi_user](default_multi_user/) | 1.0.1.0.0| Allows to share user-defined defaults among several users.
|
||||
[sequence_reset_period](sequence_reset_period/) | 1.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges
|
||||
[sequence_check_digit](sequence_check_digit/) | 1.0.1.0.0| Adds a check digit on sequences
|
||||
[base_import_security_group](base_import_security_group/) | 1.0.1.0.0| Group-based permissions for importing CSV files
|
||||
[date_range](date_range/) | 1.0.2.0.1| Manage all kind of date range
|
||||
[barcode_action](barcode_action/) | 1.0.1.0.0| Allows to use barcodes as a launcher
|
||||
[base_technical_features](base_technical_features/) | 1.0.1.0.0| Access to technical features without activating debug mode
|
||||
[base_tier_validation_formula](base_tier_validation_formula/) | 1.0.1.0.0| Formulas for Base tier validation
|
||||
[base_tier_validation](base_tier_validation/) | 1.0.3.1.1| Implement a validation process based on tiers.
|
||||
[base_export_manager](base_export_manager/) | 1.0.1.0.0| Manage model export profiles
|
||||
[document_quick_access](document_quick_access/) | 1.0.1.0.1| Document quick access
|
||||
[mass_editing](mass_editing/) | 1.0.1.1.2| Mass Editing
|
||||
[base_optional_quick_create](base_optional_quick_create/) | 1.0.1.0.0| Avoid 'quick create' on m2o fields, on a 'by model' basis
|
||||
[filter_multi_user](filter_multi_user/) | 1.0.1.0.0| Allows to share user-defined filters filters among several users.
|
||||
[barcode_action](barcode_action/) | 1.0.1.0.0| Allows to use barcodes as a launcher
|
||||
[base_tier_validation](base_tier_validation/) | 1.0.3.1.1| Implement a validation process based on tiers.
|
||||
[document_quick_access](document_quick_access/) | 1.0.1.0.1| Document quick access
|
||||
[document_quick_access_folder_auto_classification](document_quick_access_folder_auto_classification/) | 1.0.1.0.1| Auto classification of Documents after reading a QR
|
||||
[base_export_manager](base_export_manager/) | 1.0.1.0.0| Manage model export profiles
|
||||
[sequence_check_digit](sequence_check_digit/) | 1.0.1.0.0| Adds a check digit on sequences
|
||||
[base_tier_validation_formula](base_tier_validation_formula/) | 1.0.1.0.0| Formulas for Base tier validation
|
||||
[sequence_reset_period](sequence_reset_period/) | 1.0.1.0.0| Auto-generate yearly/monthly/weekly/daily sequence period ranges
|
||||
[date_range](date_range/) | 1.0.2.0.1| Manage all kind of date range
|
||||
[default_multi_user](default_multi_user/) | 1.0.1.0.0| Allows to share user-defined defaults among several users.
|
||||
[base_import_security_group](base_import_security_group/) | 1.0.1.0.0| Group-based permissions for importing CSV files
|
||||
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
Most of the files are
|
||||
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
<!-- Copyright 2019 Creu Blanca
|
||||
Copyright 2019 Creu Blanca
|
||||
Copyright 2018 Flectra Community
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user