Pipeline reconcile
complete
U
Ube Cod
We are using several templates at the org level (steps and pipelines).
Projects are consuming the pipeline templates and often need to be reconciled when variables or other elements in templates change.
Is there a way to programatically (API endpoint, Terraform) reconcile pipelines after templates have been updated.
Right now the only way I can see doing this is through the UI and manually clicking through pipelines to see which needs to be reconciled. This is adding a lot more time to using templates. Why can't the pipelines that are calling the templates just render the template at run time? I am doing a very similar approach on GitHub actions and never need to inform my upstream workflows to update themselves because a template changed. On checkout, my actions use the template ref provided. I'm guessing because the templates do not live in an SCM system, that the Harness pipeline that is referencing the template needs to store a cached copy of the template?
The whole reconcile pipelines does not make a lot of sense to me. I want the template to drive what is happening in the pipeline and not have to constantly make sure the "caller" pipeline is caching the template...or whatever is happening under the hood.
I can understand locking a pipeline to a known good template, but isn't that why there are template versions? Which is a whole different topic.
Log In
Rohan Gupta
complete
This feature is now available behind feature flag please reach out to Harness support to enable the flag.
Canny AI
Merged in a post:
Enable PIPE_BULK_RECONCILIATION
S
Selective Marlin
Hi team,
We are looking to enable this feature for our account https://developer.harness.io/docs/platform/templates/reconcile-pipeline-templates/#bulk-reconciliation-of-templates
Please enable this.
Let me know if you need additional information.
Regards,
Rohit
Rohan Gupta
Merged in a post:
Unable to reconcile step group without specifying branch
E
Evergreen Iguana
Currently, I am encountering an issue while reconciling a pipeline template that includes a stage template, which, in turn, uses a step group template located on a non-default branch. The reconciliation flow is attempting to retrieve the step group template from the main branch rather than the branch specified in the stage/pipeline template.
To address this, it would be beneficial if step group templates could inherit the branch defined in the parent stage or pipeline template when they share the same repository. This enhancement would streamline the reconciliation process by ensuring templates reference the correct branch, minimizing conflicts.
This post was marked as
in progress
Rohan Gupta
next fiscal quarter
This post was marked as
in progress
Rohan Gupta
Merged in a post:
Reconcile option popping up when template input changes
G
Gold Viper
Capability to Bulk Reconcile changes via API and in the UI when input sets, pipelines, or templates are impacted by change.
Users update a template, and multiple pipelines are referring to template. User needs to manually go and Re concile the changes for each one.
We need an automated way to push or force reconciliation once
Rohan Gupta
this fiscal quarter
Hi Kasey, we have a long running project to solve the reconciliation. The experience should get better in the upcoming quarter as we roll out the changes.
We attempted in the past to auto reconcile, but we were unable resolve all the dependent resources consistently like Trigger Input Sets, step template inouts that were nested in stage templates nested in a pipeline template etc.