3 Commits

Author SHA1 Message Date
409da15ff5 lol digg 2025-04-21 18:25:21 -04:00
74cb8b0bc3 Merge branch 'update-deployment-v0.0.27' into 'master'
Update deployment manifest with new image tags

See merge request rrise/reloading-manager!1
2025-04-21 22:16:15 +00:00
f8fda1f749 Update deployment manifest with new image tags 2025-04-21 21:26:25 +00:00
2 changed files with 17 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ stages:
- Update Deployment - Update Deployment
- Create Commit - Create Commit
- Create Merge Request - Create Merge Request
- Trigger
NodeJs Tests: NodeJs Tests:
stage: Tests stage: Tests
@@ -84,7 +85,7 @@ Create Commit:
- Update Deployment - Update Deployment
image: siteworxpro/git:2.49.0 image: siteworxpro/git:2.49.0
before_script: | before_script: |
git config --global user.name "${GITLAB_USER_NAME}" git config --global user.name "${GITLAB_USER_NAME} via Gitlab Runner"
git config --global user.email "${GITLAB_USER_EMAIL}" git config --global user.email "${GITLAB_USER_EMAIL}"
script: | script: |
git pull origin master git pull origin master
@@ -111,3 +112,15 @@ Create Merge Request:
--data "description=This merge request updates the deployment manifest with the new image tags." \ --data "description=This merge request updates the deployment manifest with the new image tags." \
--data "remove_source_branch=true" \ --data "remove_source_branch=true" \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/merge_requests" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/merge_requests"
Trigger ArgoCD:
stage: Trigger
image: siteworxpro/argocd:v2.14.10
rules:
- changes:
- argocd/deployment/*
variables:
ARGOCD_AUTH_TOKEN: ${ARGOCD_AUTH_TOKEN}
ARGOCD_SERVER: ${ARGOCD_SERVER}
script: |
argocd --grpc-web app sync ${ARGOCD_APP_NAME}

View File

@@ -19,11 +19,11 @@ spec:
- name: siteworxpro - name: siteworxpro
containers: containers:
- name: frontend - name: frontend
image: scr.siteworxpro.com/reloading-manager/frontend:v0.0.26 image: scr.siteworxpro.com/reloading-manager/frontend:v0.0.27
ports: ports:
- containerPort: 80 - containerPort: 80
- name: backend - name: backend
image: scr.siteworxpro.com/reloading-manager/backend:v0.0.26 image: scr.siteworxpro.com/reloading-manager/backend:v0.0.27
ports: ports:
- containerPort: 8080 - containerPort: 8080
envFrom: envFrom: