mirror of
https://gitlab.com/flectra-community/account-financial-reporting.git
synced 2024-11-21 21:22:04 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
ac0c9dd233
commit
dec3ff0cbe
@ -25,6 +25,8 @@ test_all_modules:
|
|||||||
- apt-get install -y p7zip-full
|
- apt-get install -y p7zip-full
|
||||||
- apt-get install -y expect-dev
|
- apt-get install -y expect-dev
|
||||||
- su - flectra -c "mkdir ~/others"
|
- 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/reporting-engine.git ~/others/reporting-engine"
|
||||||
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
||||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
- 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
|
- 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
|
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||||
@ -36,7 +38,7 @@ test_all_modules:
|
|||||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_all
|
- 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
|
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_all
|
||||||
- su - flectra -c "/opt/flectra/flectra-bin
|
- su - flectra -c "/opt/flectra/flectra-bin
|
||||||
--addons-path ${CI_PROJECT_DIR}
|
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux
|
||||||
--db_host psql
|
--db_host psql
|
||||||
--db_port 5432
|
--db_port 5432
|
||||||
--db_user flectra
|
--db_user flectra
|
||||||
@ -61,6 +63,8 @@ test_module_account_financial_report:
|
|||||||
- apt-get install -y p7zip-full
|
- apt-get install -y p7zip-full
|
||||||
- apt install -y expect-dev
|
- apt install -y expect-dev
|
||||||
- su - flectra -c "mkdir ~/others"
|
- 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/reporting-engine.git ~/others/reporting-engine"
|
||||||
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
||||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
- 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
|
- 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
|
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||||
@ -72,7 +76,7 @@ test_module_account_financial_report:
|
|||||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_financial_report
|
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_financial_report
|
||||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_financial_report
|
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_financial_report
|
||||||
- su - flectra -c "/opt/flectra/flectra-bin
|
- su - flectra -c "/opt/flectra/flectra-bin
|
||||||
--addons-path ${CI_PROJECT_DIR}
|
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux
|
||||||
--db_host psql
|
--db_host psql
|
||||||
--db_port 5432
|
--db_port 5432
|
||||||
--db_user flectra
|
--db_user flectra
|
||||||
@ -93,6 +97,8 @@ test_module_account_tax_balance:
|
|||||||
- apt-get install -y p7zip-full
|
- apt-get install -y p7zip-full
|
||||||
- apt install -y expect-dev
|
- apt install -y expect-dev
|
||||||
- su - flectra -c "mkdir ~/others"
|
- 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/reporting-engine.git ~/others/reporting-engine"
|
||||||
|
- su - flectra -c "git clone --branch 20-fixed --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/flectra-community/server-ux.git ~/others/server-ux"
|
||||||
- sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && dpkg-reconfigure --frontend=noninteractive locales && update-locale LANG=en_US.UTF-8
|
- 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
|
- 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
|
- wget -O ${CI_PROJECT_DIR}/ci_data/test_base.zip https://gitlab.com/flectra-community/devops/oca2fc/raw/master/ci_data/test_base.zip
|
||||||
@ -104,7 +110,7 @@ test_module_account_tax_balance:
|
|||||||
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_tax_balance
|
- mv ${CI_PROJECT_DIR}/ci_data/filestore /opt/flectra/.local/share/filestore/test_account_tax_balance
|
||||||
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_tax_balance
|
- chown -R flectra.flectra /opt/flectra/.local/share/filestore/test_account_tax_balance
|
||||||
- su - flectra -c "/opt/flectra/flectra-bin
|
- su - flectra -c "/opt/flectra/flectra-bin
|
||||||
--addons-path ${CI_PROJECT_DIR}
|
--addons-path ${CI_PROJECT_DIR},~/others/reporting-engine,~/others/server-ux
|
||||||
--db_host psql
|
--db_host psql
|
||||||
--db_port 5432
|
--db_port 5432
|
||||||
--db_user flectra
|
--db_user flectra
|
||||||
|
Loading…
Reference in New Issue
Block a user