gitlab-pipeline-schedules

Creates, edits, runs, and queries GitLab CI/CD pipeline schedules by cron and ref.

11|1|Updated Oct 31, 2022
One-click install
npx skills add https://github.com/Knuckles-Team/gitlab-api --skill gitlab-pipeline-schedules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gitlab-pipeline-schedules
Source: https://github.com/Knuckles-Team/gitlab-api/tree/main/gitlab_api/skills/gitlab-pipeline-schedules
Command: npx skills add https://github.com/Knuckles-Team/gitlab-api --skill gitlab-pipeline-schedules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates GitLab pipeline schedule management.

Core Features & Use Cases

  • Create, edit, run, and delete pipeline schedules for a GitLab project.
  • Retrieve and examine pipeline schedules and the pipelines they trigger for auditing and monitoring.
  • Use Case: Schedule nightly builds for a project and adjust cron expressions as release cycles change.

Quick Start

Use the gitlab-pipeline-schedules skill to create a schedule for project_id="123", ref="main", cron="0 0 * * *".

Frequently Asked Questions about gitlab-pipeline-schedules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule nightly builds for a GitLab project using cron?

To schedule nightly builds, you create a GitLab pipeline schedule by specifying the project_id, setting the ref to your main branch, and defining the cron expression like "0 0 * * *" for midnight execution.

Can I edit and trigger existing GitLab pipeline schedules automatically?

Yes, GitLab pipeline schedule management supports creating, editing, triggering, and querying schedules across projects by handling parameters like pipeline_schedule_id, cron, ref, and active status.

What parameters are required to create a CI/CD pipeline schedule in GitLab?

Creating a GitLab pipeline schedule requires the project_id, ref, and cron parameters. You can also include a description, set the active status, and provide optional context for deterministic automation.

How do I retrieve and audit pipelines triggered by a GitLab schedule?

You can query and examine GitLab pipeline schedules and their triggered pipelines for auditing and monitoring by supplying the project_id and pipeline_schedule_id to retrieve execution history.

Does GitLab pipeline scheduling work for adjusting cron expressions as release cycles change?

Yes, GitLab pipeline schedules allow you to edit cron expressions dynamically as release cycles change, ensuring your CI/CD automation stays aligned with shifting project timelines.