Skip to content

Commit

Permalink
Merge pull request #29123 from CecileRobertMichon/e2e-regex
Browse files Browse the repository at this point in the history
CAPZ: use regex to run e2e only on relevant files
  • Loading branch information
k8s-ci-robot authored Mar 24, 2023
2 parents d09276b + 971ad0d commit 5a27620
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ presubmits:
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: false
decorate: true
# please see: https://play.golang.org/p/JJSVylVPd53 for more insights
run_if_changed: (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$"
max_concurrency: 5
labels:
preset-dind-enabled: "true"
Expand Down Expand Up @@ -126,8 +125,7 @@ presubmits:
decorate: true
decoration_config:
timeout: 4h
# please see: https://play.golang.org/p/JJSVylVPd53 for more insights
run_if_changed: (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$"
max_concurrency: 5
labels:
preset-dind-enabled: "true"
Expand Down Expand Up @@ -216,7 +214,7 @@ presubmits:
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
optional: true
run_if_changed: 'test\/e2e|templates\/test|scripts\/ci-conformance.sh'
run_if_changed: 'test\/e2e|templates\/test|scripts\/ci-conformance.sh|Makefile'
decorate: true
decoration_config:
timeout: 4h
Expand Down Expand Up @@ -250,7 +248,7 @@ presubmits:
always_run: false
optional: true
decorate: true
run_if_changed: 'test\/e2e|templates\/test|scripts\/ci-conformance.sh'
run_if_changed: 'test\/e2e|templates\/test|scripts\/ci-conformance.sh|Makefile'
decoration_config:
timeout: 4h
max_concurrency: 5
Expand Down Expand Up @@ -289,7 +287,7 @@ presubmits:
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
optional: true
run_if_changed: 'test\/e2e|templates\/test|scripts\/ci-conformance.sh'
run_if_changed: 'test\/e2e|templates\/test|scripts\/ci-conformance.sh|Makefile'
decorate: true
decoration_config:
timeout: 4h
Expand Down Expand Up @@ -479,8 +477,7 @@ presubmits:
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: false
decorate: true
# please see: https://play.golang.org/p/JJSVylVPd53 for more insights
run_if_changed: (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$"
max_concurrency: 5
labels:
preset-dind-enabled: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ presubmits:
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: false
decorate: true
# please see: https://play.golang.org/p/JJSVylVPd53 for more insights
run_if_changed: (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$"
max_concurrency: 5
labels:
preset-dind-enabled: "true"
Expand Down Expand Up @@ -69,8 +68,7 @@ presubmits:
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: false
decorate: true
# please see: https://play.golang.org/p/JJSVylVPd53 for more insights
run_if_changed: (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$"
max_concurrency: 5
labels:
preset-dind-enabled: "true"
Expand Down Expand Up @@ -137,8 +135,7 @@ presubmits:
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: true
decorate: true
# please see: https://play.golang.org/p/JJSVylVPd53 for more insights
run_if_changed: (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$"
max_concurrency: 5
labels:
preset-dind-enabled: "true"
Expand Down Expand Up @@ -172,8 +169,7 @@ presubmits:
decorate: true
decoration_config:
timeout: 4h
# please see: https://play.golang.org/p/JJSVylVPd53 for more insights
run_if_changed: (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$"
max_concurrency: 5
labels:
preset-dind-enabled: "true"
Expand Down Expand Up @@ -313,8 +309,7 @@ presubmits:
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
optional: false
decorate: true
# please see: https://play.golang.org/p/JJSVylVPd53 for more insights
run_if_changed: (^[^d].*$)|(^d$)|(^.[^o].*$)|(^do$)|(^..[^c].*$)|(^doc$)|(^...[^s].*$)|(^docs$)|(^....[^/].*$)|(^[^d][^o][^c][^s]/.*$)
skip_if_only_changed: "^docs/|^\\.github/|\\.md$|^(\\.codespellignore|LICENSE|OWNERS|OWNERS_ALIASES|PROJECT|SECURITY_CONTACTS|Tiltfile|metadata\\.yaml|netlify\\.toml|tilt-provider\\.json)$"
max_concurrency: 5
labels:
preset-dind-enabled: "true"
Expand Down

0 comments on commit 5a27620

Please sign in to comment.