Skip to content
Snippets Groups Projects
Commit 3e5aa332 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #23752 TIME 0:10 add play schedule mp pro

parent 2b8efccc
No related branches found
No related tags found
No related merge requests found
......@@ -130,8 +130,6 @@ create_minor_tag:
script:
- chmod +x ./ci/new_minor_tag.sh
- ./ci/new_minor_tag.sh
- curl --request POST --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/215/pipeline_schedules/18/play"
create_major_tag:
image: php:8.1.14-cli
......@@ -148,5 +146,3 @@ create_major_tag:
script:
- chmod +x ./ci/new_major_tag.sh
- ./ci/new_major_tag.sh
- curl --request POST --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/215/pipeline_schedules/18/play"
......@@ -122,6 +122,9 @@ curl -w " => %{url_effective} [%{response_code}]" -H 'Content-Type:application/j
curl --request DELETE --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/$CI_PROJECT_ID/repository/branches/tmp_$RELEASE_BRANCH"
## CREATE TAG MP PRO SIDE
curl --request POST --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/215/pipeline_schedules/18/play"
if [ $FIRST_TAG == 0 ]; then
## CLOSE MILESTONE
for row in $(curl --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/$CI_PROJECT_ID/milestones?search=$NEXT_TAG_MILESTONE" | jq -r '.[] | @base64'); do
......
......@@ -119,6 +119,9 @@ curl -w " => %{url_effective} [%{response_code}]" -H 'Content-Type:application/j
curl --request DELETE --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/$CI_PROJECT_ID/repository/branches/tmp_$RELEASE_BRANCH"
## CREATE TAG MP PRO SIDE
curl --request POST --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/215/pipeline_schedules/18/play"
if [ $FIRST_TAG == 0 ]; then
## CLOSE MILESTONE
for row in $(curl --header "PRIVATE-TOKEN: $TOKEN_GITLAB" "https://labs.maarch.org/api/v4/projects/$CI_PROJECT_ID/milestones?search=$NEXT_TAG" | jq -r '.[] | @base64'); do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment