mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
Deny jenkins slave pod to remain active for a while (#5225)
* Deny jenkins slave pod to remain active for a while Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
0a21933d84
commit
9ffb42d448
2
.github/workflows/code-checker.yaml
vendored
2
.github/workflows/code-checker.yaml
vendored
@ -15,6 +15,7 @@ on:
|
||||
- docker-compose.yml
|
||||
- Makefile
|
||||
- '!**.md'
|
||||
- '!build/ci/jenkins/**'
|
||||
pull_request:
|
||||
# file paths to consider in the event. Optional; defaults to all.
|
||||
paths:
|
||||
@ -27,6 +28,7 @@ on:
|
||||
- docker-compose.yml
|
||||
- Makefile
|
||||
- '!**.md'
|
||||
- '!build/ci/jenkins/**'
|
||||
|
||||
jobs:
|
||||
ubuntu:
|
||||
|
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
@ -15,6 +15,7 @@ on:
|
||||
- docker-compose.yml
|
||||
- Makefile
|
||||
- '!**.md'
|
||||
- '!build/ci/jenkins/**'
|
||||
pull_request:
|
||||
# file paths to consider in the event. Optional; defaults to all.
|
||||
paths:
|
||||
@ -27,6 +28,7 @@ on:
|
||||
- docker-compose.yml
|
||||
- Makefile
|
||||
- '!**.md'
|
||||
- '!build/ci/jenkins/**'
|
||||
|
||||
jobs:
|
||||
ubuntu:
|
||||
|
2
build/ci/jenkins/Jenkinsfile
vendored
2
build/ci/jenkins/Jenkinsfile
vendored
@ -31,7 +31,7 @@ pipeline {
|
||||
customWorkspace '/home/jenkins/agent/workspace'
|
||||
// We allow this pod to remain active for a while, later jobs can
|
||||
// reuse cache in previous created nodes.
|
||||
idleMinutes 120
|
||||
// idleMinutes 120
|
||||
}
|
||||
}
|
||||
environment {
|
||||
|
@ -4,8 +4,8 @@ apiVersion: kind.x-k8s.io/v1alpha4
|
||||
networking:
|
||||
ipFamily: "ipv4"
|
||||
kubeProxyMode: "iptables"
|
||||
podSubnet: "10.245.0.0/16"
|
||||
serviceSubnet: "10.246.0.0/16"
|
||||
podSubnet: "10.247.0.0/16"
|
||||
serviceSubnet: "10.248.0.0/16"
|
||||
nodes:
|
||||
- role: control-plane
|
||||
- role: worker
|
||||
|
Loading…
Reference in New Issue
Block a user