Perform the following steps to use a Global Template to create a pipeline source:
Go to Administration | Pipelines | Pipeline Sources, and click Add Pipeline Source, and From Template.
Complete the resulting Select Template form:
Click the Select Template Namespace field and select the
jfrog
namespace.Click the Select Template Name field and select the
DockerBuildAndPush
orHelmPublishAndDeploy
global template.Click the Select Template Version field and select the relevant version for the template.
Click Next and complete the resulting Specify values file form to add the
values.yml
file.Click the Integration field and select your source control integration from the dropdown list.
In the Repository Full Name field, enter the path of the repository where your
values.yml
is stored.Specify the Branch of the repository (for example,
master
).In the Values File Path field, provide the path to the
values.yml
file, which contains the values for the global template. By default, this field is set to take the file from the root directory. If yourvalues.yml
file is stored in a different directory, enter the full path.When you do this, the
values.yml
file is parsed and values are added as configured in the file.Note
For more information about the Specify values file form, see the section Adding a Pipeline Source.
Click Create Source to add 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 My Pipelines on the left navbar and clicking Pipelines → My Pipelines.