Extension steps and resources are defined within a namespace, to ensure that all steps and resources in a set have unique names. Namespaces are specified through the repository path of the step or resource model definition.
Extension step definitions must be stored in a subdirectory path of the form:
Similarly, extension resource definitions must be stored in a subdirectory path of the form:
For example, the sample extensions in our tutorial are in a
tutorial namespace, as defined in the repository's directory structure:
jfrog-pipelines-extensions-sample -- steps ------ tutorials –- HealthCheck
– resources -- tutorials -- test
You can define as many steps or resources under a namespace directory as you need. For example:
my_pipelines_extensions -- steps -------- mycompanyname –- StepTypeA | -- StepTypeB
| -- StepTypeC
– resources -- mycompanyname -- ResourceTypeX
When used in a Pipelines DSL file, the extension must be referenced with its namespace to be recognized. For example:
resources: - name: MyResource type: mycompanyname/ResourceTypeX configuration: ... pipelines: - name: MyPipeline configuration: environmentVariables: readOnly: my_env_var: "hello" steps: - name: MyStep_1 type: mycompanyname/StepTypeA configuration: ... - name: MyStep_2 type: mycompanyname/StepTypeB configuration: ...
All Pipelines extension steps and resources may be individually versioned through
Tagging Extension Versions
A Git tag for versioning a step or resource must be of the form:
<TypeName> is the name of the extension step or resource type. The format of <
semver> must be compliant with the
For example, to bind the currently committed version of the tutorial's
HealthCheck step to version 1.0.0, you would
Releasing Extension Versions
When the respository is added as an extension source, each extension loaded is the Latest version of that extension step or resource.
To release a properly Git tagged resource or step, hover over the rightmost region of its row to reveal the Release icon, then click it.
In the subsequent Release Extension dialog, select the release tag from the dropdown, then click Confirm.
Once confirmed, the version will be listed among the Released extensions.
The released version of the resource will now always be available to users by that version number, even afer a newer version is synced from the extension source.
Extensions can be retired from use on a specific date. Details of this procedure are described in Managing Pipelines Extensions.
Using Extension Versions
By default, a reference to an extension step or resource
type always uses the latest synced version (listed in Latest).
To use a specific version (for example, one that is known to be good), you may qualify the
type declaration to use a specific version by following it with the optional
For example, to use version 1.0.0 of the example
steps: - name: Step_1 type: tutorials/HealthCheck syntaxversion: 1.0.0 # Use a specific version configuration: ...
Similarly, you can use the
syntaxversion tag to qualify the
type of a resource for a specific version.
resources: - name: MyResource type: tutorials/test syntaxversion: 0.2.0 # Use a specific version configuration: ...
Version numbers that do not exist or that have been retired will result in an error when the pipeline is run.