mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix bug that deploy when test failed:
test report will be a single stage. The result of test report will be calculated from the result of all test jobs in test stage. So it will only deploy when all test job passed.
This commit is contained in:
parent
bdd67c98d6
commit
28d83e766a
@ -1,6 +1,7 @@
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
- test_report
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
@ -106,13 +107,12 @@ test_build_system:
|
|||||||
- ./make/test_build_system.sh
|
- ./make/test_build_system.sh
|
||||||
|
|
||||||
test_report:
|
test_report:
|
||||||
stage: deploy
|
stage: test_report
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- triggers
|
- triggers
|
||||||
tags:
|
tags:
|
||||||
- test_report
|
- test_report
|
||||||
allow_failure: true
|
|
||||||
variables:
|
variables:
|
||||||
LOG_PATH: "$CI_PROJECT_DIR/$CI_BUILD_REF"
|
LOG_PATH: "$CI_PROJECT_DIR/$CI_BUILD_REF"
|
||||||
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test"
|
TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test"
|
||||||
@ -121,7 +121,7 @@ test_report:
|
|||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- $REPORT_PATH
|
- $REPORT_PATH
|
||||||
expire_in: 6 mos
|
expire_in: 12 mos
|
||||||
script:
|
script:
|
||||||
# clone test bench
|
# clone test bench
|
||||||
- git clone $GITLAB_SSH_SERVER/yinling/auto_test_script.git
|
- git clone $GITLAB_SSH_SERVER/yinling/auto_test_script.git
|
||||||
|
Loading…
Reference in New Issue
Block a user