mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
22 lines
721 B
YAML
22 lines
721 B
YAML
.deploy_job_template:
|
|
stage: deploy
|
|
image: $ESP_ENV_IMAGE
|
|
tags: [ deploy ]
|
|
|
|
deploy_update_SHA_in_esp-dockerfiles:
|
|
extends:
|
|
- .deploy_job_template
|
|
- .before_script:minimal
|
|
- .rules:protected:deploy
|
|
dependencies: []
|
|
variables:
|
|
GIT_DEPTH: 2
|
|
tags: [build, shiny]
|
|
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
|
|
environment:
|
|
name: deploy_update_SHA_in_esp-dockerfiles_production
|
|
deployment_tier: production
|