Add grabpl step only if platform=linux (#41732)

This commit is contained in:
Dimitris Sotirakis
2021-11-16 11:46:44 +01:00
committed by GitHub
parent d363e19517
commit 86d79e4625
2 changed files with 3 additions and 45 deletions
+2 -2
View File
@@ -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',