* Update new feature pipeline

This commit is contained in:
qishiyao
2023-08-24 09:49:35 +08:00
committed by caoyanyi
parent 192700b317
commit e5b9c5d7f7
5 changed files with 752 additions and 751 deletions
Vendored
+657 -751
View File
File diff suppressed because it is too large Load Diff
+21
View File
@@ -0,0 +1,21 @@
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: easycorp.io/cpu-spec
operator: Gt
values:
- "7"
containers:
- name: docker
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket
volumes:
- name: docker-socket
hostPath:
path: /var/run/docker.sock
type: Socket
+17
View File
@@ -0,0 +1,17 @@
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: easycorp.io/cpu-spec
operator: Lt
values:
- "8"
- weight: 50
preference:
matchExpressions:
- key: easycorp.io/cpu-spec
operator: DoesNotExist
+21
View File
@@ -0,0 +1,21 @@
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: easycorp.io/cpu-spec
operator: Gt
values:
- "7"
containers:
- name: docker
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket
volumes:
- name: docker-socket
hostPath:
path: /var/run/docker.sock
type: Socket
+36
View File
@@ -0,0 +1,36 @@
metadata:
labels:
ci-cpu-level: high
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: easycorp.io/cpu-spec
operator: Gt
values:
- "7"
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: ci-cpu-level
operator: In
values:
- high
topologyKey: "kubernetes.io/hostname"
containers:
- name: docker
image: docker:23.0.6-dind-alpine3.17
command: ["sleep"]
args: ["99d"]
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket
volumes:
- name: docker-socket
hostPath:
path: /var/run/docker.sock
type: Socket