pipeline-template-module

Describe a BK-CI pipeline template architecture with API, service, and data access layers.

2.5k|521|Updated May 29, 2019
One-click install
npx skills add https://github.com/TencentBlueKing/bk-ci --skill pipeline-template-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pipeline-template-module
Source: https://github.com/TencentBlueKing/bk-ci/tree/main/ai/skills/pipeline-template-module
Command: npx skills add https://github.com/TencentBlueKing/bk-ci --skill pipeline-template-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a reference architecture for building and reusing pipeline templates in BK-CI, enabling teams to define standard templates and share them across projects.

Core Features & Use Cases

  • Template creation, version management, and instantiation to standardize pipelines across teams.
  • RBAC-enabled template permissions and integration with the template store for cross-project sharing.
  • Example: A platform team creates a deploy-template and publishes it to the store, then multiple project teams instantiate it with their own parameters.

Quick Start

Create a new pipeline template named "deploy-template" with a default version, then instantiate it in a project using the template id.

Frequently Asked Questions about pipeline-template-module

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

FAQPage Schema
How do I reuse pipeline templates across projects in BK-CI?

You can reuse pipeline templates across projects in BK-CI by creating a template with a default version and instantiating it in different projects using the template ID. This enables standardized configurations without duplicating pipeline definitions.

What is pipeline template versioning and how does it work?

Pipeline template versioning in BK-CI allows teams to manage template changes over time. You create templates with default versions, then instantiate specific versions in projects, ensuring consistent deployments while enabling controlled updates to standardized pipeline configurations.

How do I manage pipeline template permissions for different teams?

Pipeline template permissions are managed through RBAC (Role-Based Access Control). The architecture includes permission considerations that guide how teams control access to template creation, editing, and instantiation, ensuring only authorized users can modify or deploy standard templates.

Can I share pipeline templates through a template store in BK-CI?

Yes, you can share pipeline templates through the template store in BK-CI. The architecture includes store integration that enables platform teams to publish templates centrally, making them available for cross-project sharing and instantiation by other project teams.

What components are needed to implement reusable pipeline templates?

Implementing reusable pipeline templates requires API, service, and data access layers. These components form a self-contained architecture that supports template creation, version management, instantiation, and RBAC permissions within the BK-CI environment.

When should I use pipeline templates instead of individual pipelines?

Use pipeline templates when multiple teams need standardized pipeline configurations. Templates are ideal when a platform team maintains deployment standards that project teams must follow, enabling consistency across projects while allowing parameter customization during instantiation.

Related Skills