Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

Latest commit

 

History

History
55 lines (42 loc) · 2.31 KB

README.md

File metadata and controls

55 lines (42 loc) · 2.31 KB

CircleCI Scheduled Pipelines Orb

CircleCI Build Status CircleCI Orb Version GitHub License CircleCI Community

A CircleCI orb for updating pipeline schedules.


Valid Schedule JSON Example

The file needs to contain a json object with an array of schedules. Each element in the schedules array is a valid payload for a POST request to the CircleCI Schedules API. You can find more details about the schema here.

Here's an example:

{
    "schedules": [{
        "name": "string",
        "timetable": {
            "per-hour": 0,
            "hours-of-day": [
            0
            ],
            "days-of-week": [
            "TUE"
            ],
            "days-of-month": [
            0
            ],
            "months": [
            "MAR"
            ]
        },
        "attribution-actor": "current",
        "parameters": {
            "deploy_prod": true,
            "branch": "feature/design-new-api"
        },
        "description": "string"
        }
    ]
}

NOTE: In timetable, days-of-week and days-of-month are mutually exclusive and cannot be used together.

Resources

CircleCI Orb Registry Page - The official registry page of this orb for all versions, executors, commands, and jobs described.

CircleCI Orb Docs - Docs for using, creating, and publishing CircleCI Orbs.

How to Contribute

We welcome issues to and pull requests against this repository!