Skip to content

Commit

Permalink
Allow investigation to schedule modules regardless PUBLISH_
Browse files Browse the repository at this point in the history
Due to conditions in main_common PUBLISH_* variable cant be empty. Set to
`None` to allow the scheduling.

https://progress.opensuse.org/issues/156394
Signed-off-by: ybonatakis <[email protected]>
  • Loading branch information
b10n1k committed Mar 14, 2024
1 parent bf42bca commit 9e196eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openqa-investigate
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e196eb

Please sign in to comment.