2026-09-20 12:57:44 +00:00
|
|
|
# Flux image automation for cursor-devbox (applied into flux-system on node1).
|
|
|
|
|
# GitRepository cursor-devbox is defined in infra glue (130-cursor-devbox.yaml).
|
|
|
|
|
# CI tags: latest, <sha>, <run_number>-<sha> — policy elects the last form.
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
apiVersion: image.toolkit.fluxcd.io/v1
|
|
|
|
|
kind: ImageRepository
|
|
|
|
|
metadata:
|
|
|
|
|
name: cursor-devbox
|
|
|
|
|
namespace: flux-system
|
|
|
|
|
spec:
|
|
|
|
|
image: dcr.trinitysan.by/infra/cursor-devbox
|
|
|
|
|
interval: 1m0s
|
|
|
|
|
secretRef:
|
|
|
|
|
name: dcr-registry-auth-ro
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
apiVersion: image.toolkit.fluxcd.io/v1
|
|
|
|
|
kind: ImagePolicy
|
|
|
|
|
metadata:
|
|
|
|
|
name: cursor-devbox
|
|
|
|
|
namespace: flux-system
|
|
|
|
|
spec:
|
|
|
|
|
imageRepositoryRef:
|
|
|
|
|
name: cursor-devbox
|
|
|
|
|
filterTags:
|
|
|
|
|
pattern: '^(?P<n>[0-9]+)-[0-9a-f]{40}$'
|
|
|
|
|
extract: '$n'
|
|
|
|
|
policy:
|
|
|
|
|
numerical:
|
2026-09-20 16:59:04 +03:00
|
|
|
order: desc
|
2026-09-20 12:57:44 +00:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
apiVersion: image.toolkit.fluxcd.io/v1
|
|
|
|
|
kind: ImageUpdateAutomation
|
|
|
|
|
metadata:
|
|
|
|
|
name: cursor-devbox
|
|
|
|
|
namespace: flux-system
|
|
|
|
|
spec:
|
|
|
|
|
interval: 5m0s
|
|
|
|
|
sourceRef:
|
|
|
|
|
kind: GitRepository
|
|
|
|
|
name: cursor-devbox
|
|
|
|
|
git:
|
|
|
|
|
checkout:
|
|
|
|
|
ref:
|
|
|
|
|
branch: master
|
|
|
|
|
commit:
|
|
|
|
|
author:
|
|
|
|
|
email: fluxcdbot@users.noreply.gitea.trinitysan.by
|
|
|
|
|
name: fluxcdbot
|
|
|
|
|
messageTemplate: |
|
2026-09-20 17:02:23 +03:00
|
|
|
chore(deploy): update cursor-devbox image
|
|
|
|
|
{{range .Changed.Changes}}{{print .OldValue}} -> {{println .NewValue}}{{end}}
|
2026-09-20 12:57:44 +00:00
|
|
|
push:
|
|
|
|
|
branch: master
|
|
|
|
|
update:
|
|
|
|
|
path: ./deploy
|
|
|
|
|
strategy: Setters
|