Thomas K
09/25/2022, 6:43 PMrecording deployments and releases
on the provider side.
When we deploy the provider to an environment (e.g. staging
), it is deployed to multiple staging
k8s clusters. Should something like application instances
be considered for deployment of the provider app into each cluster when recording deployment in the pact broker?
We were looking at doing the record-deployment/release
command on provider side as a helm post-install job, but then the command I guess would be run for deployment to every cluster, but I imagine we maybe only need the command called once for the deployment to staging
environment, rather than for each staging
cluster ?
Would really appreciate any tips on correct approach here. We were looking at this helm post-install hook approach as this better ensures that deployment (to a cluster etc) was actually successful before we run the record-deployment
commandTimothy Jones
09/25/2022, 11:10 PMTimothy Jones
09/25/2022, 11:12 PMTimothy Jones
09/25/2022, 11:14 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
record-deployment
to staging
is probably all you need.
If they are separate environments, you should call record-deployment
to each logically different environmentThomas K
09/26/2022, 8:28 AMTimothy Jones
09/26/2022, 8:29 AMMatt (pactflow.io / pact-js / pact-go)
Thomas K
09/26/2022, 11:38 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Thomas K
09/27/2022, 8:57 AMMatt (pactflow.io / pact-js / pact-go)
Thomas K
09/27/2022, 11:15 AM