/devops-agent

Agents for Kubesphere DevOps

Primary LanguageDockerfileApache License 2.0Apache-2.0

devops-agent

Introduction

In KubeSphere DevOps, the pipeline runs on the agent of Jenkins. The agent depends on the kubernetes-plugin. It's necessary to provide Kubernetes a podTemplate, and the podTemplate defines the agent.

The definition method of podTemplate is:

podTemplate(containers: [
    containerTemplate(name: 'base', image: 'kubesphere/builder-base:v2.1.0', ttyEnabled: true, command: 'cat')
])

This repo stores the build files of image for these podTemplate.

Welcome to contribute.

Imagess

For production:

Name Docker Pulls
kubesphere/builder-base Docker Pulls
kubesphere/builder-go Docker Pulls
kubesphere/builder-maven Docker Pulls
kubesphere/builder-nodejs Docker Pulls

For development:

Name Docker Pulls
kubespheredev/builder-base Docker Pulls
kubespheredev/builder-go Docker Pulls
kubespheredev/builder-maven Docker Pulls
kubespheredev/builder-nodejs Docker Pulls

How to Build

Enter the directory and execute:

docker build -f Dockerfile .

It's a better way to provide jenkinsfile for compiling images, like base agent.

Join & Contact Community