mirror of
https://gitlab.com/flectra-community/reporting-engine.git
synced 2024-12-22 20:31:48 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
90d9d91934
commit
5d3c973344
458
.gitlab-ci.yml
458
.gitlab-ci.yml
@ -45,194 +45,24 @@ test_all_modules:
|
||||
--db_password flectra
|
||||
--database test_all
|
||||
--test-enable
|
||||
--init report_qweb_encrypt,report_xlsx_helper,report_xml,report_qweb_pdf_watermark,report_xlsx_helper_demo,base_comment_template,report_xlsx,report_qweb_parameter,kpi_dashboard,bi_sql_editor,report_wkhtmltopdf_param,bi_view_editor
|
||||
--init base_comment_template,report_xml,report_xlsx_helper_demo,bi_sql_editor,report_wkhtmltopdf_param,report_qweb_pdf_watermark,report_xlsx_helper,report_xlsx,bi_view_editor,report_qweb_encrypt,report_qweb_parameter,kpi_dashboard
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_qweb_encrypt:TEST
|
||||
--log-handler flectra.addons.report_xlsx_helper:TEST
|
||||
--log-handler flectra.addons.report_xml:TEST
|
||||
--log-handler flectra.addons.report_qweb_pdf_watermark:TEST
|
||||
--log-handler flectra.addons.report_xlsx_helper_demo:TEST
|
||||
--log-handler flectra.addons.base_comment_template:TEST
|
||||
--log-handler flectra.addons.report_xlsx:TEST
|
||||
--log-handler flectra.addons.report_qweb_parameter:TEST
|
||||
--log-handler flectra.addons.kpi_dashboard:TEST
|
||||
--log-handler flectra.addons.report_xml:TEST
|
||||
--log-handler flectra.addons.report_xlsx_helper_demo:TEST
|
||||
--log-handler flectra.addons.bi_sql_editor:TEST
|
||||
--log-handler flectra.addons.report_wkhtmltopdf_param:TEST
|
||||
--log-handler flectra.addons.report_qweb_pdf_watermark:TEST
|
||||
--log-handler flectra.addons.report_xlsx_helper:TEST
|
||||
--log-handler flectra.addons.report_xlsx:TEST
|
||||
--log-handler flectra.addons.bi_view_editor:TEST
|
||||
--log-handler flectra.addons.report_qweb_encrypt:TEST
|
||||
--log-handler flectra.addons.report_qweb_parameter:TEST
|
||||
--log-handler flectra.addons.kpi_dashboard:TEST
|
||||
"
|
||||
|
||||
|
||||
test_module_report_qweb_encrypt:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_qweb_encrypt
|
||||
- psql -h psql -U flectra -d test_report_qweb_encrypt -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_report_qweb_encrypt
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_qweb_encrypt
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_qweb_encrypt
|
||||
--test-enable -i report_qweb_encrypt
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_qweb_encrypt:TEST"
|
||||
|
||||
test_module_report_xlsx_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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_xlsx_helper
|
||||
- psql -h psql -U flectra -d test_report_xlsx_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_report_xlsx_helper
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_xlsx_helper
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_xlsx_helper
|
||||
--test-enable -i report_xlsx_helper
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_xlsx_helper:TEST"
|
||||
|
||||
test_module_report_xml:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_xml
|
||||
- psql -h psql -U flectra -d test_report_xml -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_report_xml
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_xml
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_xml
|
||||
--test-enable -i report_xml
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_xml:TEST"
|
||||
|
||||
test_module_report_qweb_pdf_watermark:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_qweb_pdf_watermark
|
||||
- psql -h psql -U flectra -d test_report_qweb_pdf_watermark -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_report_qweb_pdf_watermark
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_qweb_pdf_watermark
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_qweb_pdf_watermark
|
||||
--test-enable -i report_qweb_pdf_watermark
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_qweb_pdf_watermark:TEST"
|
||||
|
||||
test_module_report_xlsx_helper_demo:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_xlsx_helper_demo
|
||||
- psql -h psql -U flectra -d test_report_xlsx_helper_demo -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_report_xlsx_helper_demo
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_xlsx_helper_demo
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_xlsx_helper_demo
|
||||
--test-enable -i report_xlsx_helper_demo
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_xlsx_helper_demo:TEST"
|
||||
|
||||
test_module_base_comment_template:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
@ -267,7 +97,7 @@ test_module_base_comment_template:
|
||||
--log-level error
|
||||
--log-handler flectra.addons.base_comment_template:TEST"
|
||||
|
||||
test_module_report_xlsx:
|
||||
test_module_report_xml:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
@ -284,24 +114,24 @@ test_module_report_xlsx:
|
||||
- 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_report_xlsx
|
||||
- psql -h psql -U flectra -d test_report_xlsx -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_report_xml
|
||||
- psql -h psql -U flectra -d test_report_xml -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_report_xlsx
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_xlsx
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_report_xml
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_xml
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_xlsx
|
||||
--test-enable -i report_xlsx
|
||||
--database test_report_xml
|
||||
--test-enable -i report_xml
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_xlsx:TEST"
|
||||
--log-handler flectra.addons.report_xml:TEST"
|
||||
|
||||
test_module_report_qweb_parameter:
|
||||
test_module_report_xlsx_helper_demo:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
image:
|
||||
@ -318,56 +148,22 @@ test_module_report_qweb_parameter:
|
||||
- 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_report_qweb_parameter
|
||||
- psql -h psql -U flectra -d test_report_qweb_parameter -f ${CI_PROJECT_DIR}/ci_data/dump.sql
|
||||
- createdb -h psql -U flectra -O flectra -T template1 test_report_xlsx_helper_demo
|
||||
- psql -h psql -U flectra -d test_report_xlsx_helper_demo -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_report_qweb_parameter
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_qweb_parameter
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_report_xlsx_helper_demo
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_xlsx_helper_demo
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_qweb_parameter
|
||||
--test-enable -i report_qweb_parameter
|
||||
--database test_report_xlsx_helper_demo
|
||||
--test-enable -i report_xlsx_helper_demo
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_qweb_parameter:TEST"
|
||||
|
||||
test_module_kpi_dashboard:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_kpi_dashboard
|
||||
- psql -h psql -U flectra -d test_kpi_dashboard -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_kpi_dashboard
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_kpi_dashboard
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_kpi_dashboard
|
||||
--test-enable -i kpi_dashboard
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.kpi_dashboard:TEST"
|
||||
--log-handler flectra.addons.report_xlsx_helper_demo:TEST"
|
||||
|
||||
test_module_bi_sql_editor:
|
||||
stage: testsingle
|
||||
@ -437,6 +233,108 @@ test_module_report_wkhtmltopdf_param:
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_wkhtmltopdf_param:TEST"
|
||||
|
||||
test_module_report_qweb_pdf_watermark:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_qweb_pdf_watermark
|
||||
- psql -h psql -U flectra -d test_report_qweb_pdf_watermark -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_report_qweb_pdf_watermark
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_qweb_pdf_watermark
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_qweb_pdf_watermark
|
||||
--test-enable -i report_qweb_pdf_watermark
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_qweb_pdf_watermark:TEST"
|
||||
|
||||
test_module_report_xlsx_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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_xlsx_helper
|
||||
- psql -h psql -U flectra -d test_report_xlsx_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_report_xlsx_helper
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_xlsx_helper
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_xlsx_helper
|
||||
--test-enable -i report_xlsx_helper
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_xlsx_helper:TEST"
|
||||
|
||||
test_module_report_xlsx:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_xlsx
|
||||
- psql -h psql -U flectra -d test_report_xlsx -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_report_xlsx
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_xlsx
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_xlsx
|
||||
--test-enable -i report_xlsx
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_xlsx:TEST"
|
||||
|
||||
test_module_bi_view_editor:
|
||||
stage: testsingle
|
||||
when: on_failure
|
||||
@ -471,3 +369,105 @@ test_module_bi_view_editor:
|
||||
--log-level error
|
||||
--log-handler flectra.addons.bi_view_editor:TEST"
|
||||
|
||||
test_module_report_qweb_encrypt:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_qweb_encrypt
|
||||
- psql -h psql -U flectra -d test_report_qweb_encrypt -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_report_qweb_encrypt
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_qweb_encrypt
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_qweb_encrypt
|
||||
--test-enable -i report_qweb_encrypt
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_qweb_encrypt:TEST"
|
||||
|
||||
test_module_report_qweb_parameter:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_report_qweb_parameter
|
||||
- psql -h psql -U flectra -d test_report_qweb_parameter -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_report_qweb_parameter
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_qweb_parameter
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_report_qweb_parameter
|
||||
--test-enable -i report_qweb_parameter
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.report_qweb_parameter:TEST"
|
||||
|
||||
test_module_kpi_dashboard:
|
||||
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 graphviz
|
||||
- pip3 install -r ${CI_PROJECT_DIR}/requirements.txt
|
||||
- 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"
|
||||
- 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_kpi_dashboard
|
||||
- psql -h psql -U flectra -d test_kpi_dashboard -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_kpi_dashboard
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_kpi_dashboard
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
--db_password flectra
|
||||
--database test_kpi_dashboard
|
||||
--test-enable -i kpi_dashboard
|
||||
--stop-after-init
|
||||
--log-level error
|
||||
--log-handler flectra.addons.kpi_dashboard:TEST"
|
||||
|
||||
|
16
README.md
16
README.md
@ -9,17 +9,17 @@ Available addons
|
||||
|
||||
addon | version | summary
|
||||
--- | --- | ---
|
||||
[report_qweb_encrypt](report_qweb_encrypt/) | 2.0.1.0.0| Allow to encrypt qweb pdfs
|
||||
[report_xlsx_helper](report_xlsx_helper/) | 2.0.1.0.0| Report xlsx helpers
|
||||
[report_xml](report_xml/) | 2.0.1.0.1| Allow to generate XML reports
|
||||
[report_qweb_pdf_watermark](report_qweb_pdf_watermark/) | 2.0.1.0.0| Add watermarks to your QWEB PDF reports
|
||||
[report_xlsx_helper_demo](report_xlsx_helper_demo/) | 2.0.1.0.0| Report xlsx helpers - demo
|
||||
[base_comment_template](base_comment_template/) | 2.0.2.0.1| Add conditional mako template to any reporton models that inherits comment.template.
|
||||
[report_xlsx](report_xlsx/) | 2.0.1.0.2| Base module to create xlsx report
|
||||
[report_qweb_parameter](report_qweb_parameter/) | 2.0.1.0.0| Add new parameters for qweb templates in order to reduce field length and check minimal length
|
||||
[kpi_dashboard](kpi_dashboard/) | 2.0.1.0.0| Create Dashboards using kpis
|
||||
[report_xml](report_xml/) | 2.0.1.0.1| Allow to generate XML reports
|
||||
[report_xlsx_helper_demo](report_xlsx_helper_demo/) | 2.0.1.0.0| Report xlsx helpers - demo
|
||||
[bi_sql_editor](bi_sql_editor/) | 2.0.1.0.0| BI Views builder, based on Materialized or Normal SQL Views
|
||||
[report_wkhtmltopdf_param](report_wkhtmltopdf_param/) | 2.0.1.0.0| Add new parameters for a paper format to be used by wkhtmltopdf command as arguments.
|
||||
[report_qweb_pdf_watermark](report_qweb_pdf_watermark/) | 2.0.1.0.0| Add watermarks to your QWEB PDF reports
|
||||
[report_xlsx_helper](report_xlsx_helper/) | 2.0.1.0.0| Report xlsx helpers
|
||||
[report_xlsx](report_xlsx/) | 2.0.1.0.2| Base module to create xlsx report
|
||||
[bi_view_editor](bi_view_editor/) | 2.0.1.0.0| Graphical BI views builder for Odoo
|
||||
[report_qweb_encrypt](report_qweb_encrypt/) | 2.0.1.0.0| Allow to encrypt qweb pdfs
|
||||
[report_qweb_parameter](report_qweb_parameter/) | 2.0.1.0.0| Add new parameters for qweb templates in order to reduce field length and check minimal length
|
||||
[kpi_dashboard](kpi_dashboard/) | 2.0.1.0.0| Create Dashboards using kpis
|
||||
|
||||
|
||||
|
@ -3,6 +3,7 @@ Most of the files are
|
||||
(Copyright) 2020 Creu Blanca
|
||||
// © 2017 Creu Blanca
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
<!-- Copyright 2020 Creu Blanca
|
||||
Copyright 2020 Creu Blanca
|
||||
Copyright 2020 Ecosoft Co., LTd.
|
||||
Copyright 2020 Ecosoft Co., Ltd.
|
||||
|
Loading…
Reference in New Issue
Block a user