mirror of
https://gitlab.com/flectra-community/reporting-engine.git
synced 2024-12-23 04:41:47 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
0585b16b32
commit
97717ea9f9
@ -26,6 +26,7 @@ test_all_modules:
|
||||
- apt-get install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -37,7 +38,7 @@ test_all_modules:
|
||||
- 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}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -76,6 +77,7 @@ test_module_report_xlsx_helper:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -87,7 +89,7 @@ test_module_report_xlsx_helper:
|
||||
- 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}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -109,6 +111,7 @@ test_module_report_xml:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -120,7 +123,7 @@ test_module_report_xml:
|
||||
- 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}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -142,6 +145,7 @@ test_module_report_qweb_pdf_watermark:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -153,7 +157,7 @@ test_module_report_qweb_pdf_watermark:
|
||||
- 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}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -175,6 +179,7 @@ test_module_report_xlsx_helper_demo:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -186,7 +191,7 @@ test_module_report_xlsx_helper_demo:
|
||||
- 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}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -208,6 +213,7 @@ test_module_report_csv:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -219,7 +225,7 @@ test_module_report_csv:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_report_csv
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_csv
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -241,6 +247,7 @@ test_module_report_qweb_txt:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -252,7 +259,7 @@ test_module_report_qweb_txt:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_report_qweb_txt
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_qweb_txt
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -274,6 +281,7 @@ test_module_bi_sql_editor_aggregate:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -285,7 +293,7 @@ test_module_bi_sql_editor_aggregate:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_bi_sql_editor_aggregate
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_bi_sql_editor_aggregate
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -307,6 +315,7 @@ test_module_report_context:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -318,7 +327,7 @@ test_module_report_context:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_report_context
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_context
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -340,6 +349,7 @@ test_module_report_fillpdf:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -351,7 +361,7 @@ test_module_report_fillpdf:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_report_fillpdf
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_fillpdf
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -373,6 +383,7 @@ test_module_report_xlsx:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -384,7 +395,7 @@ test_module_report_xlsx:
|
||||
- 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}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -406,6 +417,7 @@ test_module_report_qweb_parameter:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -417,7 +429,7 @@ test_module_report_qweb_parameter:
|
||||
- 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}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -439,6 +451,7 @@ test_module_bi_sql_editor:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -450,7 +463,7 @@ test_module_bi_sql_editor:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_bi_sql_editor
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_bi_sql_editor
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -472,6 +485,7 @@ test_module_report_wkhtmltopdf_param:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -483,7 +497,7 @@ test_module_report_wkhtmltopdf_param:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_report_wkhtmltopdf_param
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_wkhtmltopdf_param
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -505,6 +519,7 @@ test_module_report_qr:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -516,7 +531,7 @@ test_module_report_qr:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_report_qr
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_report_qr
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
@ -538,6 +553,7 @@ test_module_bi_view_editor:
|
||||
- apt install -y expect-dev python-lxml pdftk wkhtmltopdf
|
||||
- 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
|
||||
@ -549,7 +565,7 @@ test_module_bi_view_editor:
|
||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_bi_view_editor
|
||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_bi_view_editor
|
||||
- su - flectra -c "/opt/flectra/flectra-bin
|
||||
--addons-path ${CI_PROJECT_DIR}
|
||||
--addons-path ${CI_PROJECT_DIR},~/others/server-tools
|
||||
--db_host psql
|
||||
--db_port 5432
|
||||
--db_user flectra
|
||||
|
Loading…
Reference in New Issue
Block a user