apollographql / supergraph-demo-k8s-graph-ops

Archived: GitOps config repo for an Apollo GraphQL federated graph with a supergraph router and subgraph services deployed to Kubernetes.
MIT License
27 stars 7 forks source link

Subgraph schema auto-publishing after blue green deploy #50

Closed prasek closed 1 year ago

prasek commented 3 years ago

Run auto publish subgraph schema in an Argo Rollout postPromotionAnalysis job that runs rover in a docker container.

prasek commented 3 years ago

essentially the same use case as what is requested in: https://github.com/apollographql/rover/issues/719

I want to run this on my post-sync hook when my deployment passes. I don't want to do this from CI because there'll be a gap between CI pushing schema and service getting deployed (also what if the deployment fails)