-
Notifications
You must be signed in to change notification settings - Fork 57
Integrate with other CI CD Tools with Trigger Pipeline Connector
Welcome to the documentation for the latest feature of the LifeTime Pipeline Trigger Plugin: the Trigger Pipeline Connector. This addition empowers you to customize CI/CD pipeline triggers according to your preferred tool, be it GitLab Pipelines, GitHub Actions, GoCD, or any other CI/CD solution.
The Trigger Pipeline Connector enhances your CI/CD pipeline triggering options. Regardless of your chosen CI/CD tool, this approach allows you to customize the API calls for triggering your pipelines.
To customize the API call that will be made to your CI/CD tool, clone the TriggerPipelineConnector module and customize the TriggerPipelineServer server action to implement the logic of the API call that will be made to your CI/CD tool.
Use the following steps to set up your custom Connector in the Trigger plugin module.
To obtain the API Key, access the Site Properties tab and retrieve the APIKey value.
Access the Site Properties tab and set the ConnectorAPIKey with the APIKey value.
Access the integrations tab and configure the following REST API:
-
ConnectorAPI:
https://your-lifetime-example.com/your-custom-pipeline-connector-module/rest/ConnectorAPI
Select Configure Triggers from the plugin landing page in LifeTime and configure the following parameters:
- Source Environment: <Select your OutSystems source environment.>
- Pipeline Server Type: Other
- Pipeline Server Address: <Your Pipeline Server instance address.>
- Pipeline Server Credentials: <Credentials of an account with enough permissions for running pipeline jobs.>
Pipeline triggers can be configured by providing the following data:
- Pipeline: <Unique name that identifies the pipeline>
- Trigger on Schedule: <Flag to trigger the pipeline based on a predefined schedule>
- Source Environment: <Select your OutSystems source environment.>
- Environment Labels (optional): <Define the label assigned to each OutSystems environment along the deployment path>
- Applications: <List of LifeTime applications that will trigger the CI/CD pipeline, identifying which ones are Test applications>