此内容没有您所选择的语言版本。

Chapter 3. Customizing sample pipelines


Update the Pipeline as Code (pac) URLs within the sample templates repository. Then, customize the sample pipelines repository to match your workflow as needed. By customizing pac URLs, you can integrate custom pipelines tailored to your continuous integration and continuous delivery (CI/CD) requirements.

Prerequisites

Before customizing the sample pipelines, you must ensure you have the following prerequisites in place:

Procedure

  1. Access the forked tssc-sample-pipelines repository URL:

    1. Open the forked tssc-sample-pipelines repository.
    2. Copy the complete URL from the address bar. For example, https://github.com/<username>/tssc-sample-pipelines.
  2. Update pac URLs in the tssc-sample-templates repository:

    1. In your terminal, navigate to the local clone of the tssc-sample-templates repository.
    2. Update the Tekton definition by running the following command:

      ./scripts/update-tekton-definition {fork_url} {branch_name}
      Copy to Clipboard Toggle word wrap

      Replace {fork_url} with the copied URL from step 1 and {branch_name} with the desired branch name. For example, to update the Tekton definition, run the following command:

      $ .scripts/update-tekton-definition \https://github.com/myusername/tssc-sample-pipelines main
      Copy to Clipboard Toggle word wrap
  3. Review, commit, and push your changes:

    1. Review the updated files within the tssc-sample-templates repository.
    2. Commit the changes with an appropriate message.
    3. Push the committed changes to the forked repository.

Verification

  • Consider creating an application to explore the impact of your template and pipeline customizations.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部