597cbd40f8
The production bot now tracks conjurer-bot-deploy instead of conjurer-bot, so it updates only when the conjurer CI promotes a build (commit message contains [deploy]). Adds the image-updater 'deploy-bot' alias and the kustomization images entry for it; DEPLOY-BOT.md documents the channel and the one-time bootstrap. Test bot + librarian keep tracking every build. Pairs with conjurer#20 (the CI promotion step). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
22 lines
936 B
YAML
22 lines
936 B
YAML
apiVersion: argocd-image-updater.argoproj.io/v1alpha1
|
|
kind: ImageUpdater
|
|
metadata:
|
|
name: conjurer
|
|
namespace: argocd
|
|
spec:
|
|
commonUpdateSettings:
|
|
updateStrategy: "newest-build"
|
|
writeBackConfig:
|
|
method: "git:secret:argocd/git-creds"
|
|
gitConfig:
|
|
repository: "https://gitea.czernobog.pl/gitea/deploy.git"
|
|
branch: "master" # ← gałąź repo deploy
|
|
writeBackTarget: "kustomization:/conjurer"
|
|
applicationRefs:
|
|
- namePattern: "conjurer"
|
|
images:
|
|
- { alias: "librarian", imageName: "gitea.czernobog.pl/gitea/conjurer-librarian" }
|
|
- { alias: "bot", imageName: "gitea.czernobog.pl/gitea/conjurer-bot" }
|
|
# Production bot tracks its own image, which only gets new tags on
|
|
# [deploy] commits (conjurer CI) - so it updates only on promoted builds.
|
|
- { alias: "deploy-bot", imageName: "gitea.czernobog.pl/gitea/conjurer-bot-deploy" } |