mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 06:22:13 +08:00
Remove repo trigger filter (#26465)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@ -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
|
||||
),
|
||||
]
|
||||
|
Reference in New Issue
Block a user