Wire dev and stage store jobs through Argo CD

This commit is contained in:
Jason A
2026-09-29 18:50:54 -04:00
parent beb8363378
commit 6911033e31
5 changed files with 34 additions and 12 deletions
+18
View File
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: aevolution-stage
namespace: argocd
spec:
project: aevolution-stage
source:
repoURL: https://git.aeternalisgames.com/dingo/AEvolution.git
targetRevision: main
path: deploy/kubernetes/stage
destination:
server: https://kubernetes.default.svc
namespace: evolution-stage
syncPolicy:
syncOptions:
- FailOnSharedResource=true
- PruneLast=true
+1
View File
@@ -5,6 +5,7 @@ resources:
- serviceaccount.yaml
- networkpolicy.yaml
- job.yaml
- ../stores/dev
images:
- name: evo-sim
newName: registry.aeternalisgames.com/aeternalis/aevolution
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: evolution-stage
resources:
- ../stores/stage
@@ -1,6 +1,5 @@
# Store Jobs for evolution-dev. Values still to supply before this is included in
# the dev workload path: the published registry digests (from the CI Publish
# step's "Digest:" line) and the dev database's NOLOGIN runtime group role.
# Store Jobs for evolution-dev using immutable published images and the restricted
# dev runtime group role.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: evolution-dev
@@ -9,10 +8,10 @@ resources:
images:
- name: aevolution-postgres-tools
newName: registry.aeternalisgames.com/aeternalis/aevolution-postgres-tools
digest: sha256:REPLACE_PUBLISHED_TOOLS_DIGEST
digest: sha256:9abb06ef00adcb45f4992709f254bdad60c51293ce6f41dea35250b471fc5792
- name: aevolution-server
newName: registry.aeternalisgames.com/aeternalis/aevolution-server
digest: sha256:REPLACE_PUBLISHED_SERVER_DIGEST
digest: sha256:661e433ef0cf4fcb619f1e2ed623297ca20ade896aa16d29e67f47e6ccfa2075
patches:
- target:
kind: Job
@@ -20,4 +19,4 @@ patches:
patch: |-
- op: replace
path: /spec/template/spec/containers/0/env/3/value
value: REPLACE_DEV_RUNTIME_GROUP_ROLE
value: aevolution_runtime
@@ -1,6 +1,5 @@
# Store Jobs for evolution-stage. Values still to supply before this is included in
# the stage workload path: the published registry digests (from the CI Publish
# step's "Digest:" line) and the stage database's NOLOGIN runtime group role.
# Store Jobs for evolution-stage using immutable published images and the restricted
# stage runtime group role.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: evolution-stage
@@ -9,10 +8,10 @@ resources:
images:
- name: aevolution-postgres-tools
newName: registry.aeternalisgames.com/aeternalis/aevolution-postgres-tools
digest: sha256:REPLACE_PUBLISHED_TOOLS_DIGEST
digest: sha256:9abb06ef00adcb45f4992709f254bdad60c51293ce6f41dea35250b471fc5792
- name: aevolution-server
newName: registry.aeternalisgames.com/aeternalis/aevolution-server
digest: sha256:REPLACE_PUBLISHED_SERVER_DIGEST
digest: sha256:661e433ef0cf4fcb619f1e2ed623297ca20ade896aa16d29e67f47e6ccfa2075
patches:
- target:
kind: Job
@@ -20,4 +19,4 @@ patches:
patch: |-
- op: replace
path: /spec/template/spec/containers/0/env/3/value
value: REPLACE_STAGE_RUNTIME_GROUP_ROLE
value: aevolution_stage_runtime