logo
Alauda DevOps Pipelines Docs
English
简体中文
English
简体中文
logo
Alauda DevOps Pipelines Docs
导航

概览

介绍
架构
快速开始
生命周期策略
发版日志
特性概述

触发器

介绍
架构

核心概念

Tekton Triggers 核心概念
EventListener
触发器
Interceptor
TriggerBinding
TriggerTemplate
快速开始

实用指南

设置事件监听器
使用 GitLab 事件触发器
创建 TriggerTemplate

问题处理

Pipeline 未被自动触发
permissions

概念

TektonConfig
TektonPipeline
安装

升级

升级路径
升级 Alauda DevOps Pipelines Operator

配置

调整子组件的可选配置项
配置流水线组件的资源配额
Pod 模板配置指南
定期清理 TaskRun 和 PipelineRun 资源

How To

通过 TektonConfig 在 global 集群中部署 tekton-pipelines

管道

介绍
架构

概念

任务
TaskRuns
流水线
PipelineRuns
StepActions
解析器
工作空间
Pod 模板
快速开始

实用指南

调整 Dockerfile 构建适用于 Task 的自定义镜像
Specifying remote pipelines using hub resolvers
Specifying remote tasks using hub resolvers
使用 java-image-build-scan-deploy 管道

故障排查

在 Tekton 中使用自定义镜像时遇到容器创建失败的问题
在 run-script Task 中使用自定义镜像时遇到权限不够的问题
在 Tekton 中遇到无法使用多个基于 PVC 的工作区的问题
权限

结果

介绍
架构

核心概念

核心概念
深入理解 Tekton Results
快速开始
permissions

配置

数据库配置

供应链安全

介绍
架构

概念

核心概念
了解 Tekton Chains

快速开始

Getting Started
签名证明

实用指南

生成镜像签名并验证镜像完整性
构建系统溯源验证
源代码仓库验证
漏洞扫描和验证
Base Image and SBOM Verification
License Compliance Verification
Keyless Signing Verification

配置

链配置
链配置
Authentication for Chains
签名密钥配置

Hub

引言
架构

核心概念

概念
理解 Tekton Hub
权限描述

API Reference

介绍

Kubernetes APIs

Operator

TektonConfig [operator.tekton.dev/v1alpha1]
TektonInstallerSet [operator.tekton.dev/v1alpha1]
TektonPipeline [operator.tekton.dev/v1alpha1]
TektonTrigger [operator.tekton.dev/v1alpha1]
TektonChain [operator.tekton.dev/v1alpha1]
TektonHub [operator.tekton.dev/v1alpha1]
TektonResult [operator.tekton.dev/v1alpha1]
TektonInstallerSet [operator.tekton.dev/v1alpha1]
OpenShift Pipelines as Code [operator.tekton.dev/v1alpha1]

管道

Pipeline [tekton.dev/v1]
任务 [tekton.dev/v1]
PipelineRun [tekton.dev/v1]
TaskRun [tekton.dev/v1]
集群任务 [tekton.dev/v1]
运行 [tekton.dev/v1]
CustomRun [tekton.dev/v1]
StepAction [tekton.dev/v1]
VerificationPolicy [tekton.dev/v1alpha1]
ResolutionRequest [resolution.tekton.dev/v1beta1]

Triggers

触发器 [triggers.tekton.dev/v1beta1]
TriggerTemplate [triggers.tekton.dev/v1beta1]
EventListener [triggers.tekton.dev/v1beta1]
触发绑定 [triggers.tekton.dev/v1beta1]
拦截器 [triggers.tekton.dev/v1alpha1]
集群触发器绑定 [triggers.tekton.dev/v1beta1]
集群拦截器 [triggers.tekton.dev/v1alpha1]

高级 API

Results

Introduction to API Usage
Results 列表
结果详情
结果记录列表
Result logs 列表
📝 在 GitHub 上编辑此页
上一页结果记录列表

#Result logs 列表

/v1alpha2/parents/{parent}/results/{result_uid}/logs#

Common Parameters#

  • parent (in path): string required

    Parent name refers to the namespace name or workspace name.

  • result_uid (in path): string required

    Result UID is the server assigned identifier of the result.

  • filter (in query): string

    This query can be used to pass CEL Expressions to filter the response. See more details here.

  • page_size (in query): integer

    Number of response to fetch in one request. This query can be used for pagination.

  • page_token (in query): string

    It can be used to fetch the next set of responses when the response is paginated. It corresponds to NextPageToken in the response.

  • order_by (in query): string

    This query can be used to order the response based on parameters. More details can be found here. Note: Add %20 instead of space when adding an optional direction qualifier, e.g created_by%20asc.

getList Logs given the Result UID#

Logs can be read across Results by specifying - as the result_uid or across parents by specifying - as the parent. (e.g., default/results/- or -/results/-). This can be used to read and filter matching Logs without knowing the exact Result name.

Response#

  • 200object: List of Records with nextPageToken.
    Properties:
    • records: []Record
    • nextPageToken: string

Record#

Record belonging to a Result. Typically will be Tekton TaskRun/PipelineRun, but may also include other execution information e.g alternative configs, DSLs, input payloads, post-execution actions etc.

  • id: string

    DEPRECATED: use uid instead.

  • uid: string

    Server assigned identifier of the Record.

  • etag: string

    The etag for this record. If this is provided on update, it must match the server's etag.

  • name: string

    Resource name, must be rooted in parent result

  • createdTime: string

    DEPRECATED: use createTime instead.

  • createTime: string

    Server assigned timestamp for when the record was created.

  • updatedTime: string

    DEPRECATED: use updateTime instead.

  • updateTime: string

    Server assigned timestamp for when the record was updated.

  • data: object

    Any represents lossely typed data to be stored within a Record.

Any#

Any represents lossely typed data to be stored within a Record.

  • value: string

    JSON encoded data.

  • type: string

    It is unique identifier if the data type stored in the value. This is used as a type to hint to determine how to unmarshal values. Limited to 128 characters. Currently RecordType can be one of the following:

    • PipelineRun Record: tekton.dev/v1beta1.PipelineRun(older records) or tekton.dev/v1.PipelineRun
    • TaskRun Record: tekton.dev/v1beta1.TaskRun(older records) or tekton.dev/v1.TaskRun
    • Log Record: results.tekton.dev/v1alpha2.Log(older records) or results.tekton.dev/v1alpha3.Log

RecordType#

It is unique identifier if the data type stored in the value. This is used as a type to hint to determine how to unmarshal values. Limited to 128 characters. Currently RecordType can be one of the following:

  • PipelineRun Record: tekton.dev/v1beta1.PipelineRun(older records) or tekton.dev/v1.PipelineRun
  • TaskRun Record: tekton.dev/v1beta1.TaskRun(older records) or tekton.dev/v1.TaskRun
  • Log Record: results.tekton.dev/v1alpha2.Log(older records) or results.tekton.dev/v1alpha3.Log