gitlab.yml: fix indentation

This commit is contained in:
Amin Ben Romdhane 2024-02-07 11:49:07 +01:00
parent 6718dee0ec
commit 331d769937

View file

@ -11,22 +11,22 @@ include:
- project: 'docs/portal2/pipeline-template' - project: 'docs/portal2/pipeline-template'
file: 'MkDocs.gitlab-ci.yml' file: 'MkDocs.gitlab-ci.yml'
rules: rules:
- if: $CI_COMMIT_BRANCH == "devel" - if: $CI_COMMIT_BRANCH == "devel"
stages: stages:
- static_code_analysis - static_code_analysis
- unit_test - unit_test
- functional_test - functional_test
- deploy - deploy
run_unit_test: run_unit_test:
stage: unit_test stage: unit_test
image: ${COMMON_IMAGE} image: ${COMMON_IMAGE}
allow_failure: false allow_failure: false
script: script:
- "./gitlab-ci/install-dependencies.sh" - "./gitlab-ci/install-dependencies.sh"
- "./gitlab-ci/setup.sh" - "./gitlab-ci/setup.sh"
- "./gitlab-ci/unit-test.sh" - "./gitlab-ci/unit-test.sh"
artifacts: artifacts:
when: always when: always
paths: paths:
@ -37,43 +37,43 @@ run_tools_test:
image: ${COMMON_IMAGE} image: ${COMMON_IMAGE}
allow_failure: false allow_failure: false
script: script:
- "./gitlab-ci/tools-test.sh" - "./gitlab-ci/tools-test.sh"
- "./gitlab-ci/generate_supported_dm.sh" - "./gitlab-ci/generate_supported_dm.sh"
artifacts: artifacts:
when: always when: always
paths: paths:
- out/datamodel_default.xml - out/datamodel_default.xml
- out/datamodel_hdm.xml - out/datamodel_hdm.xml
- out/datamodel.xls - out/datamodel.xls
run_libbbfdm_memory_test: run_libbbfdm_memory_test:
stage: functional_test stage: functional_test
image: ${COMMON_IMAGE} image: ${COMMON_IMAGE}
allow_failure: false allow_failure: false
script: script:
- "./gitlab-ci/install-dependencies.sh" - "./gitlab-ci/install-dependencies.sh"
- "./gitlab-ci/setup.sh" - "./gitlab-ci/setup.sh"
- "./gitlab-ci/memory-test.sh" - "./gitlab-ci/memory-test.sh"
artifacts: artifacts:
when: always when: always
paths: paths:
- output-report-device-get.txt - output-report-device-get.txt
- memory-*.xml - memory-*.xml
run_bbfd_functional_test: run_bbfd_functional_test:
stage: functional_test stage: functional_test
image: ${COMMON_IMAGE} image: ${COMMON_IMAGE}
allow_failure: false allow_failure: false
script: script:
- "./gitlab-ci/install-dependencies.sh" - "./gitlab-ci/install-dependencies.sh"
- "./gitlab-ci/setup.sh" - "./gitlab-ci/setup.sh"
- "./gitlab-ci/bbfdmd-functional-test.sh" - "./gitlab-ci/bbfdmd-functional-test.sh"
artifacts: artifacts:
when: always when: always
reports: reports:
junit: ./report/*.xml junit: ./report/*.xml
paths: paths:
- funl-result.log - funl-result.log
- funl-test-coverage.xml - funl-test-coverage.xml
- report/ - report/
- memory-*.xml - memory-*.xml