Add System Templates (1.30 and lower)

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Perform the following steps to add system templates:

  1. Ensure that templateDefinition.yml and values.yml files are available in the appropriate repository.

  2. Add an admin project integration:

    System templates are uploaded to pipelines through an SCM repository. To add the repository, add a SCM admin integration from Administration | Pipelines | Integrations. For more information, see Administering Integrations.

  3. Add a template source:

    Go to Pipelines | Reusables and click the Sources tab. Click Add Source and Templates to add the template source repository.

    add_template_source_6.png
  4. Select the admin integration, add the repository name, and branch and click Create Source to create the template source.

    Note

    The admin integration should have admin access to the template source repository.

    add_template_source_4.png

Pipelines adds all the templates from the template source and performs a sync,and the newly added or updated templates are available in Pipelines as the latest version. If there is an error during the sync, it fails.

Note

These templates are also uploaded to Artifactory.

Managing Templates

The templates from the newly uploaded template source is now available for creating pipelines. For information about managing, retiring, and git-tagging and releasing templates, see Managing Pipelines Templates.Managing Pipelines Templates

Using System Templates to Create a Pipeline Source

Perform the following steps to use a system template to create a pipeline source:

  1. Go to Administration | Pipelines | Pipeline Sources, and click Add Pipeline Source, and From Template.

  2. Complete the resulting Template Properties form:

    select_template_1.png
    • Click the Select Template Namespace field and select the namespace where the required system template is defined.

    • Click the Select Template Name field and select the relevant system template.

    • Click the Select Template Version field and select the relevant version for the template.

  3. Click Next and complete the resulting Specify values file form to add the value.yml file.

    In the Values File Path field, provide the path to the values.yml file, which contains the values for the system template. By default, the field is set to take the file from the root directory.

    Note

    For more information about the Specify values file form, see the section Adding a Pipeline Source.

    specify_values_file_1.png
  4. Click Create Source to complete adding the Pipeline Source.

The combination of pipeline template name, namespace, version and values.yml is parsed to create the pipeline definition.

After your Pipeline Source syncs successfully, you can view the newly added pipeline by navigating to the My Pipelines on the left navbar and clicking on PipelinesMy Pipelines.