diff --git a/.gitlab/ci/deploy.yml b/.gitlab/ci/deploy.yml index eb4fb62130..a149c440a2 100644 --- a/.gitlab/ci/deploy.yml +++ b/.gitlab/ci/deploy.yml @@ -45,6 +45,10 @@ 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 + environment: + name: push_to_github_production + deployment_tier: production + url: "https://github.com/espressif/esp-idf" deploy_update_SHA_in_esp-dockerfiles: extends: @@ -59,3 +63,6 @@ deploy_update_SHA_in_esp-dockerfiles: - '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: eploy_update_SHA_in_esp-dockerfiles_production + deployment_tier: production diff --git a/.gitlab/ci/docs.yml b/.gitlab/ci/docs.yml index d194f9d159..47831307ac 100644 --- a/.gitlab/ci/docs.yml +++ b/.gitlab/ci/docs.yml @@ -179,6 +179,10 @@ deploy_docs_preview: DOCS_DEPLOY_SERVER_USER: "$DOCS_SERVER_USER" DOCS_DEPLOY_PATH: "$DOCS_PATH" DOCS_DEPLOY_URL_BASE: "https://$DOCS_PREVIEW_SERVER_URL/docs/esp-idf" + environment: + name: deploy_docs_preview + deployment_tier: staging + url: "https://$DOCS_PREVIEW_SERVER_URL/docs/esp-idf" # stage: post_deploy deploy_docs_production: @@ -200,6 +204,10 @@ deploy_docs_production: DOCS_DEPLOY_PATH: "$DOCS_PROD_PATH" DOCS_DEPLOY_URL_BASE: "https://docs.espressif.com/projects/esp-idf" DEPLOY_STABLE: 1 + environment: + name: deploy_docs_production + deployment_tier: production + url: "https://docs.espressif.com/projects/esp-idf" check_doc_links: extends: diff --git a/.gitlab/ci/post_deploy.yml b/.gitlab/ci/post_deploy.yml index d4d037e253..6471117ecf 100644 --- a/.gitlab/ci/post_deploy.yml +++ b/.gitlab/ci/post_deploy.yml @@ -27,3 +27,6 @@ sync_support_status: before_script: [] 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" + environment: + name: sync_support_status_production + deployment_tier: production