Skip to content

Commit

Permalink
Exclude x-pack docs from CI jobs (elastic#99207)
Browse files Browse the repository at this point in the history
**Problem:**
We currently trigger several unneeded CI checks on PRs that only update docs in `x-pack/docs/`. Example: elastic#99205

**Solution:**
Update CI jobs that exclude `docs/` to also exclude `x-pack/docs/`.
  • Loading branch information
jrodewig authored Sep 6, 2023
1 parent 7319cdc commit 595e69f
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'build-benchmark'
builders:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'build-benchmark'
builders:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'test-windows'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
cancel-builds-on-update: true
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
- 'test-full-bwc'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'cloud-deploy'
builders:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
cancel-builds-on-update: true
included-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
builders:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
builders:
Expand Down
1 change: 1 addition & 0 deletions .ci/jobs.t/elastic+elasticsearch+pull-request+full-bwc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
cancel-builds-on-update: true
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'test-full-bwc'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
- ':Delivery/Packaging'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- ':Delivery/Packaging'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- 7.16
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- ':Delivery/Packaging'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- 7.16
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
- ':Delivery/Packaging'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- 7.16
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
- ':Delivery/Packaging'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- ':Delivery/Packaging'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- ':Delivery/Packaging'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'Team:Security'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'test-windows'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'Team:Security'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'test-windows'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- 7.17
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'Team:Security'
black-list-labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- 7.17
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'test-windows'
black-list-labels:
Expand Down
1 change: 1 addition & 0 deletions .ci/jobs.t/elastic+elasticsearch+pull-request+part-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
cancel-builds-on-update: true
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
black-list-target-branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
cancel-builds-on-update: true
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'test-release'
black-list-target-branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- 6.8
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
builders:
Expand Down
1 change: 1 addition & 0 deletions .ci/templates.t/pull-request-gradle-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
cancel-builds-on-update: true
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
builders:
Expand Down

0 comments on commit 595e69f

Please sign in to comment.