mirror of
https://github.com/grafana/grafana.git
synced 2026-08-12 06:05:02 -05:00
Add grabpl step only if platform=linux (#41732)
This commit is contained in:
@@ -12,6 +12,7 @@ def pipeline(
|
||||
is_downstream=False, install_deps=True,
|
||||
):
|
||||
if platform != 'windows':
|
||||
grabpl_step = [download_grabpl()]
|
||||
platform_conf = {
|
||||
'platform': {
|
||||
'os': 'linux',
|
||||
@@ -24,6 +25,7 @@ def pipeline(
|
||||
}
|
||||
}
|
||||
else:
|
||||
grabpl_step = []
|
||||
platform_conf = {
|
||||
'platform': {
|
||||
'os': 'windows',
|
||||
@@ -32,8 +34,6 @@ def pipeline(
|
||||
}
|
||||
}
|
||||
|
||||
grabpl_step = [download_grabpl()]
|
||||
|
||||
pipeline = {
|
||||
'kind': 'pipeline',
|
||||
'type': 'docker',
|
||||
|
||||
Reference in New Issue
Block a user