lib/sles4sap/qesap/utils.pm

NAME

qesap-utils lib

COPYRIGHT

Copyright 2025 SUSE LLC
SPDX-License-Identifier: FSFAP

AUTHORS

QE SAP <qe-sap@suse.de>

DESCRIPTION

Package with util qesap-deployment functions

Methods

qesap_is_job_finished

Get whether a specified job is still running or not. 
In cases of ambiguous responses, they are considered to be in `running` state.
JOB_ID - id of job to check

qesap_get_public_cloud_tags

my $tags = qesap_get_public_cloud_tags();

Retrieve tags from the `PUBLIC_CLOUD_TAGS` openQA setting, map key=value pairs, override `openqa_var_job_id` with get_current_job_id(), and return a formatted, space-separated string suitable for the `--tags` argument of the az cli.