Fix to use string keyword for RunPipelineScheduleWorker options
What does this MR do and why?
This is a fix forward for !108975 (merged) to use string keyword instead of symbol keyword.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Enable feature flag by running:
rails runner 'Feature.enable(:ci_use_run_pipeline_schedule_worker)'
- create a new project
338609-test-play-button
- add CI config by going to
CI/CD
->Editor
with the following content:image: busybox:latest build: script: - echo "Do your build here" - sleep 15
- go to
CI/CD
->Schedules
and create a schedule - click the
Play
button for the created schedule - go to
CI/CD
->Pipelines
and check if the pipeline for this schedule is created and runs - wait until the next schedule time and see if the pipeline is triggered as scheduled
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #338609 (closed)
Edited by Tianwen Chen