To view the configuration history for a specific pipeline, use the following
command:
Copy
Ask AI
calyptia get pipeline_config_history --pipeline PIPELINE_ID
Replace PIPELINE_ID with the pipeline ID
of your pipeline.This command returns a list of configuration IDs that correspond to different
snapshots from that pipeline’s configuration history. Its output
will be similar to the following:
Copy
Ask AI
ID AGE 7c636cb9-2734-4168-81e3-3a84208049ae 36 seconds 1542066b-c2ff-4908-bd81-4d815f9ae22a 1 minute 7a3d0d8d-2e7a-4443-b5be-11b86942499c 5 minutes 237e3f6f-52e9-4dea-a7da-070a58bf4884 15 hours
If you used the --skip-config-validation flag when you created or modified
a pipeline, you must also include that flag when you run the rollout command
for that pipeline.
To roll back a pipeline to a previous configuration, use the following command:
In addition to using the history ID of a previous configuration, you can also
specify the number of steps you want to roll back through the configuration history
of a pipeline. To do so, use the following command:
calyptia get pipeline_status_history --pipeline PIPELINE_ID
Replace PIPELINE_ID with the pipeline ID
of your pipeline.This command returns a list of statuses and corresponding configuration
IDs over time for that pipeline. Its output will be similar to the following:
Copy
Ask AI
STATUS CONFIG ID AGE STARTED 237e3f6f-52e9-4dea-a7da-070a58bf4884 15 hours NEW 237e3f6f-52e9-4dea-a7da-070a58bf4884 15 hours