New CLI features for release automation
New CLI features for release automation
We typically recommend integrating Tecton with your CI/CD process to ensure the reliability of your features. The new json output and ‘apply by plan ID’ functionality enables adding more safeguards to your automated release process.
First, the tecton plan --json-out
option provides an easily machine-parsable plan. This output enables you to build simple safeguards, such as “fail if there is more than one DELETE
operation on a FEATURE_VIEW
.”
Then, once the plan has been evaluated, you can directly apply that prior plan output with tecton plan --apply-id=123
. This new option helps avoid a possible race condition where the feature repo may have been modified after already evaluating the plan.
See the updated CI/CD guide in our documentation for more detail.
Prevent Destroy Tag for Feature Views
Unintentionally deleting a production Feature View can lead to significant infrastructure cost and unavailability for production models. The prevent_destroy
tag adds another safeguard against unintentional deletion, and can be combined with the CI/CD processes discussed above.
To use this feature, add tags={'prevent_destroy': 'true'}
to your Feature View configuration. Once in place, any tecton apply
attempting to delete or recreate the Feature View will fail. If you truly intend to delete the object, you can first delete the tag.
See the documentation for more detail.
HTTP API Reference
An updated HTTP API Reference is now available from our documentation site. This documentation includes details to help your integration with Tecton’s online feature serving, such as what error codes to expect.