Manage Pipelines

    spin can manage the whole lifecycle of your pipeline:

    The following assumes Spinnaker is running and Gate is listening on http://localhost:8084. If gate is running elsewhere, you can set the Gate endpoint with the global --gate-endpoint flag.

    Managing Your Pipeline’s Lifecycle

    1. $ spin pipeline save --file <path to pipeline json>
    2. Pipeline save succeeded

    You can also template the pipeline JSON using your favorite templating engine.

    1. spin pipeline get --name my-pipeline --application my-app
    2. "stages": [...]
    3. }

    Start a pipeline execution with execute:

    If your pipeline is parameterized, you can submit a JSON-formatted map of the parameters and their values via the --parameter-file flag

    1. {
    2. "parameter1": "value1",
    3. "parameter2": "value2",
    4. }