Build: don't run release builds on grafana/grafana repo (#42785)

This commit is contained in:
malcolmholmes 2021-12-06 14:30:13 +00:00 committed by GitHub
parent 0388082768
commit b6818718e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -1345,6 +1345,8 @@ steps:
trigger:
ref:
- refs/tags/v*
repo:
exclude: grafana/grafana
type: docker
volumes:
- name: cypress_cache
@ -1397,6 +1399,8 @@ steps:
trigger:
ref:
- refs/tags/v*
repo:
exclude: grafana/grafana
type: docker
volumes:
- name: cypress_cache
@ -1859,6 +1863,8 @@ steps:
trigger:
ref:
- refs/tags/v*
repo:
exclude: grafana/grafana
type: docker
volumes:
- name: cypress_cache
@ -1932,6 +1938,8 @@ steps:
trigger:
ref:
- refs/tags/v*
repo:
exclude: grafana/grafana
type: docker
volumes:
- name: cypress_cache
@ -1964,6 +1972,8 @@ steps:
trigger:
ref:
- refs/tags/v*
repo:
exclude: grafana/grafana
status:
- failure
type: docker
@ -4120,6 +4130,6 @@ kind: secret
name: prerelease_bucket
---
kind: signature
hmac: bf24337f39c20d31dfef9c8d6ce66df1a5eda88a46f24d548d85c2f0db97641a
hmac: ab685ee52006b78bd5b0567976a295cdebc03a5e4504f7f1931d50bf00a1d1ca
...

View File

@ -242,6 +242,9 @@ def release_pipelines(ver_mode='release', trigger=None):
if not trigger:
trigger = {
'ref': ['refs/tags/v*',],
'repo': {
'exclude': 'grafana/grafana',
},
}
should_publish = ver_mode in ('release', 'test-release',)