Skip to content

Include variables set in Pipeline Schedules to display in Manual Variables pipeline tab

Problem to solve

The Manual Variables tab displayed on pipelines as provided by #323097 (closed) does not include variables set from a schedule in Pipeline schedules even if it's executed manually even though it does already include all the following events: manually from New Pipeline, pipeline trigger job, child pipeline definition, api execution, and a git push with push options set.

Our need is to identify anytime a variable was overridden and this includes from running via a schedule.

I do not believe this will be resolved with Surface pre-defined variables used by a job in the job detail page (#10863) · Epic · gitlab-org. because that is to display all variables where we want a clear way to know if some value was set or overridden specifically at the time of execution.

Proposal

The current design for manual variables should expand to include all sources of pipeline execution where variables are set outside the standard pipeline variables or settings > CI/CD variables. This would include the scheduled pipelines if variables are set in the schedule definition.

This would include ensuring the pipeline variables api also returns variables set from scheduled pipelines.

Intended users

Does this feature require an audit event?

No

The manual variables pipeline tab feature already exists without an audit event

Edited by 🤖 GitLab Bot 🤖