Jenkins - podtemplate 추가

This commit is contained in:
dsk-minchulahn
2024-01-22 11:31:58 +09:00
parent f0716df10f
commit fde2f5f8a7

View File

@@ -70,6 +70,47 @@ agent:
command: "/bin/sh -c"
args: "cat"
ttyEnabled: true
agent-builer-jenkins-agent: |
- name: "agent-builer-jenkins-agent"
label: "agent-builer-jenkins-agent"
containers:
- name: kaniko
image: "gcr.io/kaniko-project/executor:v1.9.0-debug"
command: "/busybox/cat"
ttyEnabled: true
- name: go-builder
image: "datasaker/golang:1.21"
command: "/bin/sh -c"
args: "cat"
ttyEnabled: true
- name: podman
image: "datasaker/podman:latest"
command: "/bin/sh -c"
args: "cat"
alwaysPullImage: true
ttyEnabled: true
privileged: true
- name: ubuntu-22-04
image: "datasaker/dsk-host-ubuntu-22.04:latest"
command: "/bin/sh -c"
args: "cat"
ttyEnabled: true
- name: ubuntu-18-04
image: "datasaker/dsk-host-ubuntu-18.04:latest"
command: "/bin/sh -c"
args: "cat"
ttyEnabled: true
- name: centos-7
image: "datasaker/dsk-host-centos-7:latest"
command: "/bin/sh -c"
args: "cat"
ttyEnabled: true
volumes:
- emptyDirVolume:
mountPath: "/tmp"
- persistentVolumeClaim:
claimName: jenkins
mountPath: "/go"
go-jenkins-agent: |
- name: "go-jenkins-agent"
label: "go-jenkins-agent"