You've already forked reloading-manager
ci test
This commit is contained in:
@@ -70,6 +70,18 @@ include:
|
|||||||
context: "frontend"
|
context: "frontend"
|
||||||
dockerfile: "frontend/Dockerfile"
|
dockerfile: "frontend/Dockerfile"
|
||||||
|
|
||||||
|
- project: 'shared/blueprints'
|
||||||
|
file: 'jobs/trigger-argocd.yml'
|
||||||
|
ref: master
|
||||||
|
rules:
|
||||||
|
- changes:
|
||||||
|
- argocd/**/*
|
||||||
|
inputs:
|
||||||
|
stage: Trigger
|
||||||
|
argocdServer: ${ARGOCD_SERVER}
|
||||||
|
argocdAuthToken: ${ARGOCD_AUTH_TOKEN}
|
||||||
|
argocdAppName: ${ARGOCD_APP_NAME}
|
||||||
|
|
||||||
Update Deployment:
|
Update Deployment:
|
||||||
image: siteworxpro/alpine:3.21.3
|
image: siteworxpro/alpine:3.21.3
|
||||||
rules:
|
rules:
|
||||||
@@ -120,16 +132,4 @@ 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" \
|
||||||
--data "squash_commits=true" \
|
--data "squash_commits=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/**/*
|
|
||||||
variables:
|
|
||||||
ARGOCD_AUTH_TOKEN: ${ARGOCD_AUTH_TOKEN}
|
|
||||||
ARGOCD_SERVER: ${ARGOCD_SERVER}
|
|
||||||
script: |
|
|
||||||
argocd --grpc-web app sync ${ARGOCD_APP_NAME}
|
|
||||||
Reference in New Issue
Block a user