Skip to content

Commit

Permalink
Skip DB tests duplicate runs on push to branches (#23476)
Browse files Browse the repository at this point in the history
This skips all testing-* pipelines on push to main or release/*
branches. This decreases the total build time on those, as in theory
they should already be run for PRs before merging.

Fixes #22011

---------

Co-authored-by: Lunny Xiao <[email protected]>
  • Loading branch information
techknowlogick and lunny authored Mar 15, 2023
1 parent 69c9ab3 commit f96eef8
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ platform:

trigger:
event:
- push
- tag
- pull_request
paths:
exclude:
Expand Down Expand Up @@ -180,8 +178,6 @@ depends_on:

trigger:
event:
- push
- tag
- pull_request
paths:
exclude:
Expand Down Expand Up @@ -285,8 +281,6 @@ depends_on:

trigger:
event:
- push
- tag
- pull_request
paths:
exclude:
Expand Down Expand Up @@ -449,8 +443,6 @@ depends_on:

trigger:
event:
- push
- tag
- pull_request
paths:
exclude:
Expand Down Expand Up @@ -538,8 +530,6 @@ depends_on:

trigger:
event:
- push
- tag
- pull_request
paths:
exclude:
Expand Down Expand Up @@ -627,8 +617,6 @@ depends_on:

trigger:
event:
- push
- tag
- pull_request
paths:
exclude:
Expand Down Expand Up @@ -1477,7 +1465,7 @@ steps:
---
kind: pipeline
type: docker
name: docker-linux-amd64-dry-run
name: docker-linux-arm64-dry-run

platform:
os: linux
Expand All @@ -1487,8 +1475,8 @@ depends_on:
- compliance

trigger:
ref:
- "refs/pull/**"
event:
- pull_request
paths:
exclude:
- docs/**
Expand Down

0 comments on commit f96eef8

Please sign in to comment.