Skip to content

feat(schedule): Add command to run schedules

Sebastian Gumprich requested to merge rndmh3ro/cli:run_schedule into main

Description

Add command to run schedules

Related Issues

Resolves #1237 (closed)

How has this been tested?

segu:[~/dev/foo]: (master *%)
> ~/dev/glab/bin/glab schedule list
Showing 6 schedules on foo (Page 1)

ID   Description                           Cron        Owner  Active
494  dast scan                             0 1 * * *   segu   false
364  OS Updates                            0 21 * * *  segu   false
357  TEST - deployment of components       0 13 * * *  segu   false
331  INTER - deployment of components      0 0 * * *   segu   false
213  CI Playbook                           0 6 * * *   segu   false
200  certificate renewal                   0 11 * * *  segu   false

segu:[~/dev/foo]: (master *%)
> ~/dev/glab/bin/glab schedule run 213
Started schedule with ID 213

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports