CI: Run publishing steps only on OSS repo for main/version branches (#47315)
* Convert steps to run on OSS repo only * Exclude versioned branches from publishing artifacts * Change trigger -> when * Add trigger to upload_* steps * Add conditions to remaining steps * Exclude release steps * Bring back exclusion for release builds
This commit is contained in:
@@ -8,7 +8,4 @@ ver_mode = 'release-branch'
|
||||
def version_branch_pipelines():
|
||||
return release_pipelines(ver_mode=ver_mode, trigger={
|
||||
'ref': ['refs/heads/v[0-9]*'],
|
||||
'repo': [
|
||||
'grafana/grafana',
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user