QaaS Module Packages¶
TL;DR — QaaS Module Packages are Artifactory artifacts that bundle reusable YAML folders for Runner configurations.
QaaS Module Packages are bundles of folders containing YAML files, uploaded as artifacts to Artifactory. In the context of QaaS, each such artifact is referred to as a module. These modules can be used interchangeably with any YAML file within QaaS.Runner.
Publishing Conventions¶
- Place modules under
https://jfrog.com/artifactory - Module directory names must be in PascalCase
- Inside the module directory, create a version-named subdirectory such as
0.1.0 - Place your YAML files inside the version directory
Structure Example:
https://jfrog.com/artifactory
`-- CommonModule/
`-- 0.1.0/
`-- commons.yaml
Using Modules from Artifactory¶
To use a YAML file from Artifactory in a qaas command, replace the local file path with the full URL to the file in Artifactory.
Example: Using commons.yaml from CommonModule v0.1.0¶
- Open the target module file in the Artifactory UI.
- Copy the URL to the file, for example
https://jfrog.com/artifactory/commons.yaml. - Use it in a
runcommand via the-w(--with-files) flag:
dotnet run -- run test.qaas.yaml -w https://jfrog.com/artifactory/commons.yaml