Wire dev and stage store jobs through Argo CD
This commit is contained in:
@@ -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
|
||||||
@@ -5,6 +5,7 @@ resources:
|
|||||||
- serviceaccount.yaml
|
- serviceaccount.yaml
|
||||||
- networkpolicy.yaml
|
- networkpolicy.yaml
|
||||||
- job.yaml
|
- job.yaml
|
||||||
|
- ../stores/dev
|
||||||
images:
|
images:
|
||||||
- name: evo-sim
|
- name: evo-sim
|
||||||
newName: registry.aeternalisgames.com/aeternalis/aevolution
|
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
|
# Store Jobs for evolution-dev using immutable published images and the restricted
|
||||||
# the dev workload path: the published registry digests (from the CI Publish
|
# dev runtime group role.
|
||||||
# step's "Digest:" line) and the dev database's NOLOGIN runtime group role.
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: evolution-dev
|
namespace: evolution-dev
|
||||||
@@ -9,10 +8,10 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: aevolution-postgres-tools
|
- name: aevolution-postgres-tools
|
||||||
newName: registry.aeternalisgames.com/aeternalis/aevolution-postgres-tools
|
newName: registry.aeternalisgames.com/aeternalis/aevolution-postgres-tools
|
||||||
digest: sha256:REPLACE_PUBLISHED_TOOLS_DIGEST
|
digest: sha256:9abb06ef00adcb45f4992709f254bdad60c51293ce6f41dea35250b471fc5792
|
||||||
- name: aevolution-server
|
- name: aevolution-server
|
||||||
newName: registry.aeternalisgames.com/aeternalis/aevolution-server
|
newName: registry.aeternalisgames.com/aeternalis/aevolution-server
|
||||||
digest: sha256:REPLACE_PUBLISHED_SERVER_DIGEST
|
digest: sha256:661e433ef0cf4fcb619f1e2ed623297ca20ade896aa16d29e67f47e6ccfa2075
|
||||||
patches:
|
patches:
|
||||||
- target:
|
- target:
|
||||||
kind: Job
|
kind: Job
|
||||||
@@ -20,4 +19,4 @@ patches:
|
|||||||
patch: |-
|
patch: |-
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/template/spec/containers/0/env/3/value
|
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
|
# Store Jobs for evolution-stage using immutable published images and the restricted
|
||||||
# the stage workload path: the published registry digests (from the CI Publish
|
# stage runtime group role.
|
||||||
# step's "Digest:" line) and the stage database's NOLOGIN runtime group role.
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: evolution-stage
|
namespace: evolution-stage
|
||||||
@@ -9,10 +8,10 @@ resources:
|
|||||||
images:
|
images:
|
||||||
- name: aevolution-postgres-tools
|
- name: aevolution-postgres-tools
|
||||||
newName: registry.aeternalisgames.com/aeternalis/aevolution-postgres-tools
|
newName: registry.aeternalisgames.com/aeternalis/aevolution-postgres-tools
|
||||||
digest: sha256:REPLACE_PUBLISHED_TOOLS_DIGEST
|
digest: sha256:9abb06ef00adcb45f4992709f254bdad60c51293ce6f41dea35250b471fc5792
|
||||||
- name: aevolution-server
|
- name: aevolution-server
|
||||||
newName: registry.aeternalisgames.com/aeternalis/aevolution-server
|
newName: registry.aeternalisgames.com/aeternalis/aevolution-server
|
||||||
digest: sha256:REPLACE_PUBLISHED_SERVER_DIGEST
|
digest: sha256:661e433ef0cf4fcb619f1e2ed623297ca20ade896aa16d29e67f47e6ccfa2075
|
||||||
patches:
|
patches:
|
||||||
- target:
|
- target:
|
||||||
kind: Job
|
kind: Job
|
||||||
@@ -20,4 +19,4 @@ patches:
|
|||||||
patch: |-
|
patch: |-
|
||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/template/spec/containers/0/env/3/value
|
path: /spec/template/spec/containers/0/env/3/value
|
||||||
value: REPLACE_STAGE_RUNTIME_GROUP_ROLE
|
value: aevolution_stage_runtime
|
||||||
|
|||||||
Reference in New Issue
Block a user