From 817efe966ca3c17b7177a890aed03612997300ea Mon Sep 17 00:00:00 2001 From: Andrii Ostapenko Date: Wed, 22 Jul 2020 12:24:51 -0500 Subject: [PATCH] Pass parameter to skip helm tests for component in the same script Pass parameter from job allowing to parallelize helm tests using separate scripts. Change-Id: I3e06c5590d51c75448dc5ff5978dc7fc90daca6f Signed-off-by: Andrii Ostapenko --- roles/osh-run-script-set/tasks/main.yaml | 1 + roles/osh-run-script/tasks/main.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/osh-run-script-set/tasks/main.yaml b/roles/osh-run-script-set/tasks/main.yaml index b6f8add3c..726f62cd8 100644 --- a/roles/osh-run-script-set/tasks/main.yaml +++ b/roles/osh-run-script-set/tasks/main.yaml @@ -31,6 +31,7 @@ CONTAINER_DISTRO_NAME: "{{ osh_params.container_distro_name | default('') }}" CONTAINER_DISTRO_VERSION: "{{ osh_params.container_distro_version | default('') }}" FEATURE_GATES: "{{ osh_params.feature_gates | default('') }}" + RUN_HELM_TESTS: "{{ run_helm_tests | default('yes') }}" # NOTE(aostapenko) using bigger than async_status timeout due to async_status issue with # not recognizing timed out jobs: https://github.com/ansible/ansible/issues/25637 async: 3600 diff --git a/roles/osh-run-script/tasks/main.yaml b/roles/osh-run-script/tasks/main.yaml index 6392fc40e..26c1d46d2 100644 --- a/roles/osh-run-script/tasks/main.yaml +++ b/roles/osh-run-script/tasks/main.yaml @@ -28,4 +28,5 @@ CONTAINER_DISTRO_NAME: "{{ osh_params.container_distro_name | default('') }}" CONTAINER_DISTRO_VERSION: "{{ osh_params.container_distro_version | default('') }}" FEATURE_GATES: "{{ osh_params.feature_gates | default('') }}" + RUN_HELM_TESTS: "{{ run_helm_tests | default('yes') }}" ...