Summary
The YAML Executor plug-in is automatically installed and configured without manual configuration. You can apply the YAML file under Settings>External Config Pipeline to initiate the YAML Executor plug-in integration process.
YAML configuration file properti
The YAML configuration file is used to define configuration settings for automating the initial setup process for integrating various CI/CD tools into HCL Accelerate.
YAML File Structure
The following table describe the properties used to define the configuration in the YAML file.
Property name |
Type |
Description |
Required |
version |
String |
The version number of YAML file. |
Yes |
integrations |
Array |
List of integration configurations. |
Yes |
Integrations
The following table describe the properties that you must define under integrations:
Property name |
Type |
Description |
Required |
type |
String |
Type or category of the CI/CD tool. |
Yes |
attributes |
Object |
Additional attributes specific to the integration. |
Yes |
configs |
Object |
Configuration object for the integration. |
Yes |
Configuration Object
The following table describe the properties that you must define under configs :
Property name |
Type |
Description |
Required |
name |
String |
Name of the configuration. |
Yes |
loggingLevel |
String |
Logging level for the integration. |
Yes |
deltaTime |
String |
Optional: Time difference for the integration. |
Yes |
For additional configuration properties depending on integration type, see: HCL Accelerate Plugins Configuration.
Sample YAML configuration file
Following is the sample YAML configuration file with two integrations:
version: "8.0.0"
integrations:
- type: ucv-ext-launch
attributes:
auto-config: true
configs:
name: Launch Integration
loggingLevel: DEBUG
deltaTime: '2023-05-15T18:30:00.000Z'
# Additional integration-specific fields for Launch Integration
- type: another-integration
attributes:
auto-config: true
configs:
name: Another Integration
loggingLevel: INFO
# Additional integration-specific fields for Another Integration
Replace the property values in the sample file with the actual values specific to your configuration.
Customizing YAML configuration file
Perform the following steps to customize the YAML configuration file for your required integrations:
- Open the YAML configuration file in a text editor.
- Update
version
property with the appropriate version number.
- Under
integrations
property, add or remove any property as required.
- For each integration, add
type
, attributes
, and configs
property.
- Under
configs
property, you must add the required properties based on the integration type.
- Set the
auto-config
attribute to true for enabling automatic setup of pipeline applications processes and environments after creating a new integration.
- Save the YAML configuration file.