Merge branch 'ci/create_esp-dockerfile_MR_after_tools.json_updated_v5.1' into 'release/v5.1'

CI: created job and script for creating MR to esp-dockerfiles, added script execution to CI pipeline (v5.1)

See merge request espressif/esp-idf!28130
pull/13572/head
Jiang Jiang Jian 2024-03-14 13:46:24 +08:00
commit 2d900158ce
2 zmienionych plików z 21 dodań i 0 usunięć

Wyświetl plik

@ -40,3 +40,17 @@ push_to_github:
- git remote remove github &>/dev/null || true
- git remote add github git@github.com:espressif/esp-idf.git
- tools/ci/push_to_github.sh
deploy_update_SHA_in_esp-dockerfiles:
extends:
- .deploy_job_template
- .before_script_minimal
- .rules:protected-no_label-always
dependencies: []
variables:
GIT_DEPTH: 2
tags: [ shiny, build ]
script:
- 'curl --header "PRIVATE-TOKEN: ${ESPCI_SCRIPTS_TOKEN}" -o create_MR_in_esp_dockerfile.sh $GITLAB_HTTP_SERVER/api/v4/projects/1260/repository/files/create_MR_in_esp_dockerfile%2Fcreate_MR_in_esp_dockerfile.sh/raw\?ref\=master'
- chmod +x create_MR_in_esp_dockerfile.sh
- ./create_MR_in_esp_dockerfile.sh

Wyświetl plik

@ -372,6 +372,13 @@
when: never
- <<: *if-protected-no_label
.rules:protected-no_label-always:
rules:
- <<: *if-qa-test-tag
when: never
- <<: *if-protected-no_label
when: always
.rules:mr:
rules:
- <<: *if-merge_request