Scheduled CICD Runs for Specific Branches #1548
Replies: 3 comments 9 replies
-
This is related to this discussion: #995 - and we might be able to re-use the way this is setup for Update AL-Go system files - but it will require some coding. |
Beta Was this translation helpful? Give feedback.
-
@AlexanderMarcher This seems like something GitHub could support in general. If AL-Go for GitHub is to support such functionality, how would you expect to set it up? |
Beta Was this translation helpful? Give feedback.
-
@mazhelez The basic flow is: It takes the input datetime, converts it to UTC, and then translates that into a cron schedule. Based on that, it generates a new workflow file via pull request and merge. That new workflow then dispatches the CICD pipeline at the scheduled time, and finally opens a pull request to delete itself once it’s done. Kind of a hacky little automation loop, but it gets the job done reliably. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature description
As discussed during the office hour meeting, I would love a workflow that allows developers to schedule a CICD run for a specific branch at a specified time.
For example, if a customer requests a deployment at 8 PM, the developer could schedule it in advance during working hours, ensuring it executes automatically at the set time.
The CICD process should run only once at the scheduled time and should not repeat unless manually scheduled again.
This feature would increase flexibility, enable more controlled deployments, and reduce manual intervention
Beta Was this translation helpful? Give feedback.
All reactions