Skip to content

Commit

Permalink
add stableRevision and nightlyRevision to values, and enable auto-syn…
Browse files Browse the repository at this point in the history
…c for stable release
  • Loading branch information
iamvigneshwars committed Jul 3, 2024
1 parent 0689c7d commit 38b64ba
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/apps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: graph
description: ArgoCD Apps used to deploy the Graph
type: application
version: 0.1.1
version: 0.2.0
4 changes: 2 additions & 2 deletions charts/apps/templates/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
project: {{ default .Release.Namespace .Values.project }}
sources:
- repoURL: {{ .Values.graph.repoURL }}
targetRevision: {{ .Values.graph.targetRevision }}
targetRevision: HEAD
path: {{ .Values.graph.path }}
helm:
valuesObject:
Expand Down Expand Up @@ -45,7 +45,7 @@ spec:
path: /nightly
- repoURL: {{ .Values.schema.repoURL }}
chart: {{ .Values.schema.chart }}
targetRevision: 0.1.1
targetRevision: "*"
destination:
name: {{ .Values.destination.name }}
server: {{ .Values.destination.server }}
Expand Down
4 changes: 4 additions & 0 deletions charts/apps/templates/stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ spec:
name: {{ .Values.destination.name }}
server: {{ .Values.destination.server }}
namespace: {{ default .Release.Namespace .Values.destination.namespace }}
syncPolicy:
automated:
prune: true
selfHeal: true
2 changes: 1 addition & 1 deletion charts/apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ graph:

schema:
repoURL: ghcr.io/diamondlightsource/graph-federation-supergraph
targetRevision: 0.1.1
targetRevision: 0.1.2
chart: supergraph

destination:
Expand Down
2 changes: 1 addition & 1 deletion charts/supergraph/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiVersion: v2
name: supergraph
version: 0.1.1
version: 0.1.2

0 comments on commit 38b64ba

Please sign in to comment.