History and rollback
Calyptia Core lets you view the history of pipelines, and roll them back in cases of unexpected behavior.
Retrieve pipeline history
To review the configuration history of a given pipeline, use the calyptia get pipeline-config-history
command:
Replace PIPELINE_ID
with the unique identifier for your pipeline.
The output will be similar to the following:
To see the status history of a given pipeline, use the calyptia get pipeline_status_history
command:
Replace PIPELINE_ID
with the unique identifier for your pipeline.
The output will be similar to the following:
Roll back pipeline configuration
To roll a pipeline back to a particular configuration from the history, use this command:
Replace the following:
PIPELINE_ID
: The unique identifier for your pipeline.CONFIG_ID
: The unique identifier of the configuration you want to roll your pipeline back to.
You can also specify the number of steps you want to roll back in the configuration history:
Replace the following:
PIPELINE_ID
: The unique identifier for your pipeline.COUNT
: An integer for the number of steps for rolling back in the history. For example,2
.
Last updated