Import an input set from Git
Harness Input Sets are collections of runtime inputs for a Pipeline provided before execution.
All Pipeline settings can be set as runtime inputs in Pipeline Studio Visual and YAML editors.
Before running a Pipeline, you can select one or more Input Sets and apply them to the Pipeline.
You can either create a new Input Set or import one from your Git repo.
This topic explains how to import an Input Set from your Git repo and apply it to your Pipeline.
Before you begin
- Harness Git Experience Overview
- Harness Git Experience Quickstart
- Input Sets and Overlays
- Manage a Harness Pipeline Repo Using Git Experience
- Manage Input Sets and Triggers in Git Experience
Step: Import an input set
You can import an Input Set from the CI or CD module in Harness.
This topic shows you how to import an Input Set to the CD module.
In Harness, click Deployments.
Select your Project and click on Pipelines and click on Input Sets.
Click New Input Set and select Import From Git.
The Import Input Set From Git settings appear.
Enter a Name for your Input Set.
Harness fetches the following details and auto-fills them:
- Git Connector
- Repository
- Git Branch
Enter the YAML Path from where you want to import the Input Set. Make sure that your YAML path starts with
.harness/
and the YAML file already exists in the specified Git repo and branch.Click Import.
Click on your Run Pipeline to proceed.