Commit c208c7ca by Arve Knudsen Committed by GitHub

Remove repo trigger filter (#26465)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent 5a885ce2
......@@ -225,8 +225,6 @@ services:
trigger:
event:
- pull_request
repo:
- grafana/grafana
---
kind: pipeline
......@@ -506,7 +504,5 @@ trigger:
- master
event:
- push
repo:
- grafana/grafana
...
......@@ -6,9 +6,6 @@ alpine_image = 'alpine:3.12'
restore_yarn_cache = 'rm -rf $(yarn cache dir) && cp -r yarn-cache $(yarn cache dir)'
def pr_pipelines(edition):
repo = 'grafana/grafana'
if edition == 'enterprise':
repo = 'grafana/grafana-enterprise'
services = [
{
'name': 'postgres',
......@@ -54,15 +51,11 @@ def pr_pipelines(edition):
pipeline(
name='test-pr', edition=edition, trigger={
'event': ['pull_request',],
'repo': repo,
}, services=services, steps=steps
),
]
def master_pipelines(edition):
repo = 'grafana/grafana'
if edition == 'enterprise':
repo = 'grafana/grafana-enterprise'
services = [
{
'name': 'postgres',
......@@ -114,7 +107,6 @@ def master_pipelines(edition):
name='test-master', edition=edition, trigger={
'event': ['push',],
'branch': 'master',
'repo': repo,
}, services=services, steps=steps
),
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment