Insert Commit Message Here

This commit is contained in:
2025-04-21 13:42:41 -04:00
parent 4350967863
commit 643cf03b8a

View File

@@ -63,10 +63,9 @@ include:
Update Deployment: Update Deployment:
image: busybox:ubuntu image: busybox:ubuntu
only:
- on_success
rules: rules:
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'
when: on_success
stage: Update Deployment stage: Update Deployment
script: | script: |
echo "## Do not edit this file directly. It is auto-generated by the script." > argocd/deployment/deployment.yml echo "## Do not edit this file directly. It is auto-generated by the script." > argocd/deployment/deployment.yml
@@ -78,13 +77,12 @@ Update Deployment:
Create Commit: Create Commit:
stage: Create Commit stage: Create Commit
only: rules:
- on_success - if: '$CI_COMMIT_TAG'
when: on_success
dependencies: dependencies:
- Update Deployment - Update Deployment
image: alpine:3.18 image: alpine:3.18
rules:
- if: '$CI_COMMIT_TAG'
before_script: | before_script: |
git config --global user.name "${GITLAB_USER_NAME}" git config --global user.name "${GITLAB_USER_NAME}"
git config --global user.email "${GITLAB_USER_EMAIL}" git config --global user.email "${GITLAB_USER_EMAIL}"
@@ -100,10 +98,9 @@ Create Merge Request:
dependencies: dependencies:
- Create Commit - Create Commit
image: alpine:3.18 image: alpine:3.18
only:
- on_success
rules: rules:
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'
when: on_success
script: | script: |
curl --request POST --header "PRIVATE-TOKEN: ${GITLAB_TOKEN}" \ curl --request POST --header "PRIVATE-TOKEN: ${GITLAB_TOKEN}" \
--data "source_branch=update-deployment-${CI_COMMIT_TAG}" \ --data "source_branch=update-deployment-${CI_COMMIT_TAG}" \