JetBrains/teamcity-kubernetes-plugin
关于
Run TeamCity cloud agents on Kubernetes cluster
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文TeamCity Kubernetes Support Plugin
Run TeamCity cloud agents in a Kubernetes cluster.
Support Helm build steps.
Compatibility
The plugin is compatible with TeamCity 2017.1.x and later.
Installation
You can download the plugin and install it as an additional TeamCity plugin.
Configuration
Cloud agents
Configure Kubernetes Cloud Profile for your project in the Server Administration UI.
The plugin supports Kubernetes cluster images to start new pods with a TeamCity build agent running in one of the containers. The plugin supports the official TeamCity Build Agent Docker image out of the box. You can use your own image as well.
Helm steps
Add Helm build step to build configuration, choose one of supported commands: install, upgrade, rollback, test, delete.
Or use Kotlin DSL
object Helm_Deployment : BuildType({
uuid = "866dd903-6f55-4a54-a621-065b380dd7fc"
extId = "Helm_Deployment"
name = "Deployment"
steps {
helmInstall {
chart = "stable/teamcity-server"
param("teamcity.helm.command", "helm-install")
}
}
})
Build agent to be compatible with Helm runner should provide Helm_Path configuration parameter which should point to the location of Helm executable. Plugin searches Helm in default location /usr/local/bin/helm on Linux machines.
License
Apache 2.0
Feedback
Please feel free to post feedback in the repository issues.
Contributing guidelines
Follow general instructions to build TeamCity plugins using Maven. Plugin uses TeamCity SDK Maven plugin
# build and package plugin
mvn clean package
# deploy packed plugin to local Teamcity installation and start server and build agent
mvn tc-sdk:start
# stop locally running server and build agent
mvn tc-sdk:stop
探索相关项目
加载中…