File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
config/jobs/kubernetes-sigs/cluster-api-operator Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ presubmits:
43
43
- name : pull-cluster-api-operator-apidiff-main
44
44
decorate : true
45
45
path_alias : sigs.k8s.io/cluster-api-operator
46
- always_run : true
47
46
optional : true
48
47
labels :
49
48
preset-service-account : " true"
50
49
branches :
51
50
# The script this job runs is not in all branches.
52
51
- ^main$
52
+ run_if_changed : ' ^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
53
53
spec :
54
54
containers :
55
55
- command :
@@ -80,12 +80,12 @@ presubmits:
80
80
- name : pull-cluster-api-operator-test-main
81
81
decorate : true
82
82
path_alias : sigs.k8s.io/cluster-api-operator
83
- always_run : true
84
83
labels :
85
84
preset-service-account : " true"
86
85
branches :
87
86
# The script this job runs is not in all branches.
88
87
- ^main$
88
+ run_if_changed : ' ^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
89
89
spec :
90
90
containers :
91
91
- image : gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230513-7e1db2f1bb-1.25
@@ -99,8 +99,7 @@ presubmits:
99
99
path_alias : " sigs.k8s.io/cluster-api-operator"
100
100
optional : false
101
101
decorate : true
102
- # please see: https://play.golang.org/p/JJSVylVPd53 for more insights
103
- run_if_changed : (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
102
+ run_if_changed : ' ^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
104
103
max_concurrency : 5
105
104
labels :
106
105
preset-dind-enabled : " true"
Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ presubmits:
43
43
- name : pull-cluster-api-operator-apidiff-release-0-3
44
44
decorate : true
45
45
path_alias : sigs.k8s.io/cluster-api-operator
46
- always_run : true
47
46
optional : true
48
47
labels :
49
48
preset-service-account : " true"
50
49
branches :
51
50
# The script this job runs is not in all branches.
52
51
- ^release-0.3$
52
+ run_if_changed : ' ^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
53
53
spec :
54
54
containers :
55
55
- command :
@@ -80,12 +80,12 @@ presubmits:
80
80
- name : pull-cluster-api-operator-test-release-0-3
81
81
decorate : true
82
82
path_alias : sigs.k8s.io/cluster-api-operator
83
- always_run : true
84
83
labels :
85
84
preset-service-account : " true"
86
85
branches :
87
86
# The script this job runs is not in all branches.
88
87
- ^release-0.3$
88
+ run_if_changed : ' ^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
89
89
spec :
90
90
containers :
91
91
- image : gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230513-7e1db2f1bb-1.25
@@ -99,8 +99,7 @@ presubmits:
99
99
path_alias : " sigs.k8s.io/cluster-api-operator"
100
100
optional : false
101
101
decorate : true
102
- # please see: https://play.golang.org/p/JJSVylVPd53 for more insights
103
- run_if_changed : (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
102
+ run_if_changed : ' ^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
104
103
max_concurrency : 5
105
104
labels :
106
105
preset-dind-enabled : " true"
You can’t perform that action at this time.
0 commit comments