Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PipelineRun name to ODS context #737

Closed
michaelsauter opened this issue Nov 3, 2023 · 1 comment
Closed

Add PipelineRun name to ODS context #737

michaelsauter opened this issue Nov 3, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@michaelsauter
Copy link
Member

The ODS context is quite helpful when rendering documents with https://github.com/opendevstack/ods-pipeline-adoc. One thing that is currently missing, but often required for documents, is a reference of the PipelineRun name.

@michaelsauter michaelsauter added the enhancement New feature or request label Nov 3, 2023
@michaelsauter michaelsauter self-assigned this Nov 3, 2023
michaelsauter added a commit that referenced this issue Nov 3, 2023
michaelsauter added a commit that referenced this issue Nov 3, 2023
@michaelsauter
Copy link
Member Author

For documents, this can also be achieved by passing the value as a param to the documentation task. Another alternative is to use the K8s downward API (the pipeline run name is available as a pod label).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant