Skip to content

Commit

Permalink
Limit testing to pull_requests (#240)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola authored Nov 3, 2023
1 parent c1da9bf commit afb2121
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ steps:
- name: docker
path: /var/run/docker.sock
when:
instance:
- drone-pr.k3s.io
event:
- pull_request

- name: test-sqlite
image: rancher/dapper:v0.5.0
Expand All @@ -44,6 +44,9 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- pull_request

- name: test-mysql
image: rancher/dapper:v0.5.0
Expand All @@ -58,6 +61,9 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- pull_request

- name: test-postgres
image: rancher/dapper:v0.5.0
Expand All @@ -72,6 +78,9 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- pull_request

- name: test-cockroachdb
image: rancher/dapper:v0.5.0
Expand All @@ -86,6 +95,9 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- pull_request

- name: test-nats
image: rancher/dapper:v0.5.0
Expand All @@ -108,6 +120,9 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- pull_request


- name: github_binary_release
Expand Down

0 comments on commit afb2121

Please sign in to comment.