Skip to content

kubesphere-sigs/pipeline-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This file was generated by README.tpl via yaml-readme, please don't edit it directly!

实用的流水线模板

这里包含一些比较实用的流水线模板。在 KubeSphere Console 编辑一个新的流水线时,我们可以选择合适的模板来填充流水线脚本。

These are offical Pipeline templates: Template Type: ClusterStepTemplate

Name Description
Archive artifacts Archive artifacts of the build records
buildkit buildkit
CD Update image information using continuous deployment
Checkout check out source code, often used for non-git repository, such as svn
Specify Container Specify a container to add nested tasks to execute inside the container
Docker build & push Build and push an image from a Dockerfile
Docker login Docker login
Echo Print a message in the build
Exit With Error Signals an error, exit the Pipeline and mark it as failed
Git Clone Pull code from Git-Repo
Fast linters Runner for Go Fast linters Runner for Go
Groovy Script Execute groovy script
input When the pipeline runs here, this task will be suspended, and you can choose to continue or terminate after the review
JUnit Report Archive JUnit-formatted test results
Setup k3s cluster Setup k3s cluster
Mail Send message by email
Pipeline trigger Trigger a new build for a given job
Retry Repeatedly run given steps
Shell Execute shell commands or windows batch commands in the build
Check license with skywalking-eyes Check license with skywalking-eyes
Sleep Pause the process for specific time
Code Scan with Snyk Code Scan with Snyk
Timeout Executes the code inside the block with a determined time out limit
WaitForQualityGate Execute code analysis(SonarQube)
WithCredential Bind credentials to the environment variables
WithSonarQubeEnv Load a code block with sonarqube configuration environments(run code-review in it)

Template Type: ClusterTemplate

Name Description
Golang Designed for the continuous integration of most Golang projects, including dependency downloading, testing, building, and artifact archiving.
Maven Designed for the continuous integration of most Maven projects, including dependency downloading, testing, building, and artifact archiving.
Node.js Designed for the continuous integration of most Node.js projects, including dependency downloading, testing, building, and artifact archiving.

Template Type: PodTemplate

Name Description
buildkit buildkit
go 1.17 This is a PodTemplate for the Jenkins agent with go 1.17
go 1.18 This is a PodTemplate for the Jenkins agent with go 1.18
go 1.19 This is a PodTemplate for the Jenkins agent with go 1.19
Golang builder Golang builder
Fast linters Runner for Go Fast linters Runner for Go
k3d 5.3.0 k3d 5.3.0
A full-featured license tool A full-featured license tool
Snyk Go 1.17 Snyk Go 1.17

Contribution

想要了解更多关于流水线模板如何工作,请参考:

Releases

No releases published

Packages

No packages published