Edit a Pipeline
Last updated
Last updated
Follow the steps below to edit the pipeline you created:
To do this,
From the ISD application dashboard, Click "Continuous Delivery" --> Click "Spinnaker". This will take you to the Spinnaker instance you have configured with ISD. The first thing you will see is a recent view of all of your applications and Click your "Application Name" as shown in the image below.
2. Click "Pipelines" tab and "Select the pipeline" which you want to edit the pipeline and then Click "Configure" as shown below.
3. Below screen will appear and you can make the necessary changes.
Whatever changes you make in a pipeline from the Spinnaker UI get converted to JSON. Hence, when you want to edit a pipeline you can do so through the Spinnaker UI, or you can edit the JSON of the pipeline to make changes to the pipeline. Follow the steps below.
Click "Pipelines" tab and "Select the application" for which you want to edit the pipeline and then Click "Configure" to modify a pipeline as shown below.
2. Click the "Pipeline Actions" drop-down and select "Edit as JSON" as shown below.
3. You can edit the JSON of the pipeline to make changes to the pipeline and click "Update Pipeline" as shown in the below image.
Whenever you make a change and save the pipeline, a new version is created and added to the version history. You can view the version history and if necessary, restore an older version.
Note: Version history is not supported in Minio or Redis storage devices.
Follow the steps below to view and restore the versions:
Click "Pipelines" tab and "Select the application" for which you want to edit the pipeline and then Click "Configure" to modify a pipeline as shown below.
2. Click the "Pipeline Actions" from drop-down and select "View Revision History".
3. A window appears, displaying the current version's JSON representation. Click the Revision from drop-down to see the older versions as shown below.
4. If you want to compare to any version, select the compare to from drop-down menu as shown below.
5. A button appears after you select a version from the Revision drop-down menu. Click the Restore this version button to restore that particular version as shown below.
Here's a short video that provides quick step-by-step instructions to edit a pipeline: