CI: Put in order the job dependences

This commit is contained in:
Anton Maklakov
2017-06-09 19:05:17 +08:00
parent 4d4b0b646d
commit 3f8e58a637

View File

@@ -171,6 +171,7 @@ test_nvs_on_host:
image: $CI_DOCKER_REGISTRY/esp32-ci-env image: $CI_DOCKER_REGISTRY/esp32-ci-env
tags: tags:
- nvs_host_test - nvs_host_test
dependencies: []
script: script:
- cd components/nvs_flash/test_nvs_host - cd components/nvs_flash/test_nvs_host
- make test - make test
@@ -180,6 +181,7 @@ test_partition_table_on_host:
image: $CI_DOCKER_REGISTRY/esp32-ci-env image: $CI_DOCKER_REGISTRY/esp32-ci-env
tags: tags:
- build - build
dependencies: []
script: script:
- cd components/partition_table/test_gen_esp32part_host - cd components/partition_table/test_gen_esp32part_host
- ./gen_esp32part_tests.py - ./gen_esp32part_tests.py
@@ -192,6 +194,7 @@ test_wl_on_host:
artifacts: artifacts:
paths: paths:
- components/wear_levelling/test_wl_host/coverage_report.zip - components/wear_levelling/test_wl_host/coverage_report.zip
dependencies: []
script: script:
- cd components/wear_levelling/test_wl_host - cd components/wear_levelling/test_wl_host
- make test - make test
@@ -201,6 +204,7 @@ test_build_system:
image: $CI_DOCKER_REGISTRY/esp32-ci-env image: $CI_DOCKER_REGISTRY/esp32-ci-env
tags: tags:
- build_test - build_test
dependencies: []
script: script:
- ./make/test_configure_ci_environment.sh - ./make/test_configure_ci_environment.sh
- ./make/test_build_system.sh - ./make/test_build_system.sh
@@ -220,6 +224,8 @@ test_report:
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test" TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test"
REPORT_PATH: "$CI_PROJECT_DIR/CI_Test_Report" REPORT_PATH: "$CI_PROJECT_DIR/CI_Test_Report"
MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/tools/unit-test-app/tools/ModuleDefinition.yml" MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/tools/unit-test-app/tools/ModuleDefinition.yml"
#dependencies:
#We need all UT* and IT* artifacts except for only a few other
artifacts: artifacts:
when: always when: always
paths: paths:
@@ -268,6 +274,7 @@ push_master_to_github:
- /^release\/v/ - /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/ - /^v\d+\.\d+(\.\d+)?($|-)/
when: on_success when: on_success
dependencies: []
variables: variables:
GIT_STRATEGY: clone GIT_STRATEGY: clone
GITHUB_PUSH_REFS: refs/remotes/origin/release refs/remotes/origin/master GITHUB_PUSH_REFS: refs/remotes/origin/release refs/remotes/origin/master
@@ -298,6 +305,8 @@ deploy_docs:
- /^release\/v/ - /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/ - /^v\d+\.\d+(\.\d+)?($|-)/
- triggers - triggers
dependencies:
- build_docs
script: script:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
@@ -341,6 +350,7 @@ check_commit_msg:
- master - master
- /^release\/v/ - /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/ - /^v\d+\.\d+(\.\d+)?($|-)/
dependencies: []
before_script: before_script:
- echo "skip update submodule" - echo "skip update submodule"
script: script:
@@ -357,6 +367,7 @@ check_submodule_sync:
- master - master
- /^release\/v/ - /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/ - /^v\d+\.\d+(\.\d+)?($|-)/
dependencies: []
before_script: before_script:
- echo "do not use gitlab submodule repository" - echo "do not use gitlab submodule repository"
script: script:
@@ -366,6 +377,9 @@ check_submodule_sync:
assign_test: assign_test:
<<: *build_template <<: *build_template
stage: assign_test stage: assign_test
dependencies:
- build_esp_idf_tests
- build_ssc
artifacts: artifacts:
paths: paths:
- test_bins - test_bins