In case someone is looking for this now, gitlab has now implemented a scheduled build function with rewriting variables (incredibly convenient). Documentation found here .
For those who are interested in the instructions for this function, when this answer was given, here it is:
Using pipelined schedules
To schedule a pipeline:
- Go to your project Conveyors → Schedules and click the New Schedule button.
- Fill the form
- Click Save Pipeline Schedule for the changes to take effect.
My favorite feature is the scheduled pipeline variables.
The variable documentation can be found here , but the most useful information for me was the priority that I will rewrite here:
Variable Priority
Variables can be overwritten, and they take precedence over each other in the following order:
- Variables or scheduled pipeline variables (take precedence over all)
- Project-level secret variables or protected secret variables
- Group-level secret variables or protected secret variables
- YAML Defined Job Level Variables
- YAML Defined Global Variables
- Deployment variables
- Predefined variables (lowest in the chain)
Hope this helps. I'm glad they added this feature.
source share