Skip to content

Commit

Permalink
Add concurrency limit for mirroring and update gitlab ci to work with…
Browse files Browse the repository at this point in the history
… new API changes for DXP
  • Loading branch information
nick-vanpraet committed Oct 29, 2024
1 parent b2cf666 commit 4f463b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gitlab_mirroring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jobs:
sync:
name: Gitlab Mirroring
runs-on: ubuntu-latest
concurrency:
group: globally-unique-mirroring
cancel-in-progress: false
steps:
- uses: actions/checkout@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ deploy_to_qa_1:
- >-
curl
--url 'https://admin.platform.dropsolid.com/project/mauticorg/environment/qa1/action.build?_format=json'
--data '{"branch":"'"${CI_COMMIT_REF_NAME}"'"}'
--data '{"branch":"'"${CI_COMMIT_REF_NAME}"'", "plugin_id": "git_reference"}'
--header 'Content-type:application/json'
--header "Authorization:Bearer ${GITLAB_API_TOKEN}"
only:
Expand All @@ -37,7 +37,7 @@ deploy_to_qa_2:
- >-
curl
--url 'https://admin.platform.dropsolid.com/project/mauticorg/environment/qa2/action.build?_format=json'
--data '{"branch":"'"${CI_COMMIT_REF_NAME}"'"}'
--data '{"branch":"'"${CI_COMMIT_REF_NAME}"'", "plugin_id": "git_reference"}'
--header 'Content-type:application/json'
--header "Authorization:Bearer ${GITLAB_API_TOKEN}"
only:
Expand All @@ -58,7 +58,7 @@ deploy_to_qa_3:
- >-
curl
--url 'https://admin.platform.dropsolid.com/project/mauticorg/environment/qa3/action.build?_format=json'
--data '{"branch":"'"${CI_COMMIT_REF_NAME}"'"}'
--data '{"branch":"'"${CI_COMMIT_REF_NAME}"'", "plugin_id": "git_reference"}'
--header 'Content-type:application/json'
--header "Authorization:Bearer ${GITLAB_API_TOKEN}"
only:
Expand All @@ -79,7 +79,7 @@ deploy_to_qa_4:
- >-
curl
--url 'https://admin.platform.dropsolid.com/project/mauticorg/environment/qa4/action.build?_format=json'
--data '{"branch":"'"${CI_COMMIT_REF_NAME}"'"}'
--data '{"branch":"'"${CI_COMMIT_REF_NAME}"'", "plugin_id": "git_reference"}'
--header 'Content-type:application/json'
--header "Authorization:Bearer ${GITLAB_API_TOKEN}"
only:
Expand Down

0 comments on commit 4f463b7

Please sign in to comment.