mw gitlab repo publish catalog
Releasev0.35.0 · cfeceb67
mw gitlab repo publish catalog <tag-name> [flags][EXPERIMENTAL] Publishes CI/CD components in the project to the CI/CD catalog using the provided tag name.
Requires the feature flag ci_release_cli_catalog_publish_option to be enabled
for this project in your GitLab instance.
Requires the same user as the release author.
- It retrieves components from the current repository by searching for
ymlfiles within the “templates” directory and its subdirectories. - It fails if the feature flag
ci_release_cli_catalog_publish_optionis not enabled for this project in your GitLab instance.
Components can be defined:
- In single files ending in
.ymlfor each component, liketemplates/secret-detection.yml. - In subdirectories containing
template.ymlfiles as entry points, for components that bundle together multiple related files. For example,templates/secret-detection/template.yml.
Global options
Section titled “Global options”Examples
Section titled “Examples”- glab repo publish catalog v1.2.3See also
Section titled “See also”Page views: —Sessions: —