:question: Is there a way to do POST to Cribl api endpoint (`/api/v1/version/sync`) from pipeline/destination?
Do you have Github Actions configured on the repo? This would be the most ideal way.
we have distributed cribl deployment and have configured gitops; and we are trying to find a way to do automated deployment when PR is merged.
I have github logs flowing to cribl so it would be easy to find out when PR is merged on gitops repo, so now trying to understand how can cribl initiate sync with remote host directly in the pipeline/destination?
I've heard of one customer using github enterprise actions to trigger a script when commit is merged in prod branch. the script hits the cribl prod environment gets a bearer token then hits the sync endpoint. https://docs.cribl.io/stream/gitops/
In theory, you could use a Cribl Webhook destination to trigger the refresh.
No, we do not have github actions. we use GHE. let me explore script route. thx