From f59d553c7149f0711f496b631ea4c65c33bdada9 Mon Sep 17 00:00:00 2001 From: ybonatakis Date: Mon, 11 Mar 2024 08:50:45 +0100 Subject: [PATCH] Allow investigation to schedule modules regardless PUBLISH_ Due to conditions in main_common PUBLISH_* variable cant be empty. Set to `None` to allow the scheduling. --- openqa-investigate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openqa-investigate b/openqa-investigate index ffd19232..b4f2cf40 100755 --- a/openqa-investigate +++ b/openqa-investigate @@ -70,7 +70,7 @@ clone() { [[ -n ${*:5} ]] && clone_settings+=("${@:5}") # clear "PUBLISH_" settings to avoid overriding production assets # shellcheck disable=SC2207 - clone_settings+=($(echo "$clone_job_data" | runjq -r '.job.settings | keys[] | select (startswith("PUBLISH_")) | . + "="')) || return $? + clone_settings+=($(echo "$clone_job_data" | runjq -r '.job.settings | keys[] | select (startswith("PUBLISH_")) | . + "=None"')) || return $? clone_settings+=("OPENQA_INVESTIGATE_ORIGIN=$host_url/t$origin") out=$($clone_call "$host_url/tests/$id" "${clone_settings[@]}") if [[ $dry_run = 1 ]]; then