-
Notifications
You must be signed in to change notification settings - Fork 456
Contribution guide Validate module on scale
Use this script to tests multiple modules with a given branch, using the CI environment. The script will start the pipelines in the CI environment causing both static & deployment tests to run.
You can find the script under /utilities/tools/Invoke-PipelinesForBranch.ps1
The most important parameter is the 'Environment' you want to run the pipelines for, that is, either GitHub or Azure DevOps. Depending on your choice you'll have to provide a Personal Access Token that grants the permissions to read & trigger pipelines in the desired environment.
Upon triggering, the utility will:
- Fetch all pipelines in the target environment and filter them down to module pipelines by default.
- Trigger these pipelines for the provided targeted branch (e.g.
main
) - Return the formatted status badges for the pipelines that were triggered.
For details on how to use the function, please refer to the script's local documentation.
Note: The script must be loaded ('dot-sourced') before the function can be invoked.