kubesphere-devops-pipeline

Automate KubeSphere DevOps pipelines via Kubernetes CRDs and Jenkins integration.

17.0k|2.8k|Updated Apr 21, 2018
One-click install
npx skills add https://github.com/kubesphere/kubesphere --skill kubesphere-devops-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubesphere-devops-pipeline
Source: https://github.com/kubesphere/kubesphere/tree/main/skills/kubesphere-devops-pipeline
Command: npx skills add https://github.com/kubesphere/kubesphere --skill kubesphere-devops-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing CI/CD pipelines in KubeSphere DevOps can be manual and error-prone. This Skill provides a programmable way to create, trigger, and monitor pipelines using Kubernetes CRDs (Pipeline and PipelineRun) and Jenkins integration to reduce drift and operational toil.

Core Features & Use Cases

  • Create and update pipelines using Pipeline CRs with embedded Jenkinsfiles.
  • Trigger and monitor PipelineRuns, including parameterized builds and multi-branch workflows.
  • Retrieve logs, artifacts, and branch status, and support private repo authentication via credentials.
  • Troubleshoot failed runs and integrate with existing DevOps tooling.

Quick Start

Create a Pipeline CR with a Jenkinsfile in the spec, then trigger a PipelineRun to start a build.

Frequently Asked Questions about kubesphere-devops-pipeline

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

FAQPage Schema
How do I automate KubeSphere DevOps pipelines using CRDs?

Automate KubeSphere DevOps pipelines by creating Pipeline and PipelineRun custom resources with embedded Jenkinsfiles, then triggering and monitoring builds through Kubernetes v1alpha3 APIs and Jenkins integration.

How do I trigger and monitor multi-branch pipelines in KubeSphere?

Trigger and monitor multi-branch pipelines in KubeSphere by configuring PipelineRun custom resources with git sources, retrieving branch statuses, and fetching build logs and artifacts directly through the integrated Jenkins backend.

Can I use private git repositories with credentials in KubeSphere pipelines?

You can use private git repositories with KubeSphere pipelines by configuring git sources with credentials, allowing the Pipeline custom resource to authenticate and execute Jenkinsfiles stored in secured repositories.

How do I troubleshoot failed KubeSphere pipeline runs?

Troubleshoot failed KubeSphere pipeline runs by retrieving logs and artifacts from PipelineRun custom resources, checking multi-branch workflow statuses, and verifying tenant ownership via kubesphere.io/creator annotations.

Do I need Jenkins to run KubeSphere DevOps pipelines?

Jenkins integration is required to run KubeSphere DevOps pipelines, as the automation relies on Pipeline and PipelineRun custom resources exposed via v1alpha3 APIs to drive Jenkins builds and retrieve execution logs.

How do I parameterize KubeSphere pipeline builds?

Parameterize KubeSphere pipeline builds by defining parameters in the PipelineRun custom resource specification, allowing you to pass dynamic values to Jenkinsfile executions during each triggered build.