To import a pipeline, you can enter the pipeline data directly. Or, you can import a JSON file or a TXT file that contains the pipeline data, from your local file system to import a previously saved pipeline. The import adds the pipeline to your vRealize Code Stream instance.

About this task

This version of vRealize Code Stream supports importing 2.3 and 2.2 versions of pipelines.

When you import a file from your local file system, vRealize Code Stream adds the pipeline to your list of pipelines.

Prerequisites

  • Verify that you have a working instance of vRealize Code Stream.

  • On your local file system, verify that you have a JSON or TXT file available, which contains the modeling information for a pipeline.

Procedure

  1. To import a pipeline JSON file, click Pipelines > Add > Import.

  2. In the Import Pipeline dialog box, enter the pipeline data or optionally select a pipeline JSON file.
    1. In the Pipeline Data text box, enter the pipeline data.

      You can copy and paste the pipeline data directly into the text area. The text area allows you to easily edit the pipeline data. For example, you can change the name of a pipeline, task, or stage, or change other information about the pipeline.

    2. (Optional) : Click Choose File, and select a JSON file that you saved on your local file system.

      When you select a file, the content of the file appears in the text box.

    3. To allow the import to overwrite an existing pipeline that has the same name that you entered, select Overwrite.
    4. Click Import, and wait for the import to complete.

Results

You imported a pipeline to your vRealize Code Stream instance.

When the import succeeds, a message appears at the top of the Pipelines tab. The imported pipeline appears as the first row in the grid of the existing pipelines in the instance.

What to do next

Activate and run the imported pipeline. For the pipelines to run, you must have endpoints defined for the task providers.