Pipeline Promotion
Last updated
Last updated
In many customer environments, accessing and changing pipelines is a security risk. Moreover, inbound access (from outside to inside PROD) may not be available to PROD environments. Pipeline promotion provides a controlled mechanism to update/create applications and pipelines based on pre-prod or staging spinnaker.
Back up the pipeline JSON to git repo from the spinnaker and update the latest pipeline configuration changes. Sync the applications and pipelines from the git repo to the spinnaker. It works as disaster recovery for the pipelines and their configuration.
Pipeline Promotion custom stage consists of the following two stages:
Pipeline sync to GitHub-OpsMx
Pipeline sync to Spinnaker-OpsMx
Backup the applications and pipelines from spinnaker to git with the specific input provided in the input fields.
Spinnaker applications: It provides the application name and specifies multiple applications with comma-separated values. If it is empty it is considered to pickup all applications and backed up to the GitHub repo.
Pipeline names: It provides the pipeline names with comma-separated values specific to a single application. If it is empty it is considered to pick all pipelines in an application.
Branch: It provides the specific branch name of the GitHub repo to backup the application. The default configuration can be configured in the pipe-promot-config configmap.
SavePath: It provides the directory path of the GitHub repo to backup the application. The default configuration can be configured in the pipe-promot-config configmap.
Sync applications and pipelines from GitHub to Spinnaker with the specific input provided in the input fields.
Spinnaker applications: It provides the application name as mandatory filed, and specify multiple applications with comma-separated values.
Pipeline names: It provides the pipeline names with comma-separated values specific to a single application. If it is empty it is considered to pick all pipelines in an application.
Branch: It provides the specific branch name of the GitHub repo to backup the application. The default configuration can be configured in the pipe-promot-config configmap.
SavePath: It provides the directory path of the GitHub repo to backup the application. The default configuration can be configured in the pipe-promot-config configmap.