未验证 提交 9ffb42d4 编写于 作者: Q quicksilver 提交者: GitHub

Deny jenkins slave pod to remain active for a while (#5225)

* Deny jenkins slave pod to remain active for a while
Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 0a21933d
......@@ -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:
......
......@@ -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:
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册