chore(argocd): track main branch instead of prod for auto-sync on every commit
This commit is contained in:
@@ -9,11 +9,9 @@
|
||||
# `POST /v1/chat/completions` covers every model. See
|
||||
# docs/adr/ADR-0001-retire-kong-for-go-gateway.md in the frontend repo.
|
||||
#
|
||||
# UPDATED 2026-08-21: Tracks prod branch of homelab-frontend (not main).
|
||||
# Image promotion via kustomization:
|
||||
# cd k8s && kustomize edit set image forgejo.riotpiao.com/rock/api-gateway=forgejo.riotpiao.com/rock/api-gateway:<commit-sha>
|
||||
# git add kustomization.yaml && git commit -m "chore(deploy): promote api-gateway to <commit-sha>"
|
||||
# git push origin prod
|
||||
# UPDATED 2026-08-22: Tracks main branch of homelab-frontend (auto-syncs on each push).
|
||||
# Image built on every main commit with tag <commit-sha>.
|
||||
# ArgoCD auto-pulls the latest image (live reconciliation ~3min).
|
||||
#
|
||||
# Two sources:
|
||||
# 1. rock/homelab-frontend on the in-cluster Forgejo (prod branch) — the gateway's own
|
||||
@@ -43,7 +41,7 @@ spec:
|
||||
revisionHistoryLimit: 3
|
||||
sources:
|
||||
- repoURL: https://forgejo.riotpiao.com/rock/homelab-frontend.git
|
||||
targetRevision: prod
|
||||
targetRevision: main
|
||||
path: k8s
|
||||
- repoURL: https://github.com/Riotpiaole/riotpiao.homelab.com.git
|
||||
targetRevision: main
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# kmsvc-manage bootstrap — manages itself and its supporting services
|
||||
# (Strimzi/Kafka, Redis, queue-operator, message-plane server) from
|
||||
# the kmsvc-manage repo's own k8s/argocd/ structure on the prod branch.
|
||||
# the kmsvc-manage repo's own k8s/argocd/ structure on the main branch.
|
||||
# Image built on every main commit, auto-deployed to sqs namespace.
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
@@ -12,7 +13,7 @@ spec:
|
||||
project: homelab
|
||||
source:
|
||||
repoURL: https://forgejo.riotpiao.com/rock/kmsvc-manage.git
|
||||
targetRevision: prod
|
||||
targetRevision: main
|
||||
path: k8s/argocd/apps
|
||||
directory:
|
||||
recurse: false
|
||||
|
||||
Reference in New Issue
Block a user