mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
ci(all): upload support status when pushed go github
This commit is contained in:
parent
328665135c
commit
bc1965a109
@ -11,3 +11,14 @@ generate_failed_jobs_report:
|
|||||||
- job_report.html
|
- job_report.html
|
||||||
script:
|
script:
|
||||||
- python tools/ci/dynamic_pipelines/scripts/generate_report.py --report-type job
|
- python tools/ci/dynamic_pipelines/scripts/generate_report.py --report-type job
|
||||||
|
|
||||||
|
sync_support_status:
|
||||||
|
stage: post_deploy
|
||||||
|
extends:
|
||||||
|
- .rules:sync_support_status
|
||||||
|
needs:
|
||||||
|
- push_to_github
|
||||||
|
image: $ESP_ENV_IMAGE
|
||||||
|
tags: [ brew, github_sync ]
|
||||||
|
script:
|
||||||
|
- curl --fail --request POST --form token="$IDF_STATUS_TRIG_TOKEN" --form ref="$IDF_STATUS_BRANCH" --form "variables[UPLOAD_TO_S3]=true" "$IDF_STATUS_TRIG_URL"
|
||||||
|
@ -168,6 +168,9 @@
|
|||||||
.if-ref-master: &if-ref-master
|
.if-ref-master: &if-ref-master
|
||||||
if: '$CI_COMMIT_REF_NAME == "master"'
|
if: '$CI_COMMIT_REF_NAME == "master"'
|
||||||
|
|
||||||
|
.if-ref-master-no_label: &if-ref-master-no_label
|
||||||
|
if: '$CI_COMMIT_REF_NAME == "master" && $BOT_TRIGGER_WITH_LABEL == null'
|
||||||
|
|
||||||
.if-tag-release: &if-tag-release
|
.if-tag-release: &if-tag-release
|
||||||
if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/'
|
if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/'
|
||||||
|
|
||||||
@ -219,6 +222,11 @@
|
|||||||
when: never
|
when: never
|
||||||
- <<: *if-protected-no_label
|
- <<: *if-protected-no_label
|
||||||
|
|
||||||
|
# Not uploading on release branches
|
||||||
|
.rules:sync_support_status:
|
||||||
|
rules:
|
||||||
|
- <<: *if-ref-master-no_label
|
||||||
|
|
||||||
.rules:protected-no_label-always:
|
.rules:protected-no_label-always:
|
||||||
rules:
|
rules:
|
||||||
- <<: *if-qa-test-tag
|
- <<: *if-qa-test-tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user