tekton

package
v0.0.0-...-8f83167 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

README

状态码说明

  • 0 运行依赖仅仅支持clone和Make,代码拉取和编译
  • 10 运行clone、Make、buildimage,进行代码编译打包上传镜像仓库
  • 20 进行代码deploy 到测试环境

TODO 环境 dag

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TaskRun

func TaskRun(tektonClient *versioned.Clientset, name string, namespace string) (err error)

Types

type CICD

type CICD interface {
	Clone() (err error, name string)      // 代码克隆
	Make() (err error, name string)       // 代码编译
	BuildImage() (err error, name string) // 编译镜像
	Cache() (err error)                   // 缓存cache

	Scan() (err error)        // 代码扫描
	UnitTest() (err error)    // 单元测试
	CodeQuqlity() (err error) // 代码qos

	Deploy() (err error) // 部署

	Notice() (err error, name string) // 消息通知
	Clean() (err error)               // 资源清理
	Run() (err error)                 // 运行pipline
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL