Skip to content

[FEATURE] Add variables support #99

@mhalano

Description

@mhalano

Is your feature request related to a problem? Please describe.
I have many tasks related to NVIDIA drivers for Linux, like what is the latest version available on the website, what packages are available on Ubuntu, etc.
There is one thing that changes time to time that is the driver's series. Today is 570, but tomorrow version 575 can be released.
Each release I have update my jobs on description, urls and sometimes filters, to indicate the newest series.

Describe the solution you'd like.
A way to define a variable on YAML, like Jinja2, that I can put in everything in the jobs.yaml file.
Also would be nice to have a job setting this value, so I can query the website, process it, and return the series so everything is done automatically, without me having to change the series number.

Describe alternatives you've considered.
Thought about using anchors and references, standard on YAML, but I can't put in the middle of a value, like a url or name, so wouldn't work. It should be something like Jinja2 template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions