Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tempest] Handle quotes in TEMPESTCONF_OVERRIDES #210

Merged

Conversation

ASBishop
Copy link
Contributor

@ASBishop ASBishop commented Sep 10, 2024

Use 'eval' to expand the TEMPESTCONF_OVERRIDES variable prior to using it to run discover-tempest-config. This prevents embedded quotes within the variable from being mangled.

Without the 'eval' embedded quoted strings like "Some String" get mangled into '"Some' 'String"' on the resulting command line.

Jira: OSPRH-10092

Use 'eval' to expand the TEMPESTCONF_OVERRIDES variable prior to
using it to run discover-tempest-config. This prevents embedded
quotes within the variable from being mangled.

Without the 'eval' embedded quoted strings like "Some String" get
mangled into '"Some' 'String"' on the resulting command line.

Jira: OSPRH-10092
Copy link
Contributor

@kopecmartin kopecmartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@lpiwowar lpiwowar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

openshift-ci bot commented Sep 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: ASBishop, kopecmartin, lpiwowar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 4e2af59 into openstack-k8s-operators:main Sep 11, 2024
5 checks passed
@ASBishop ASBishop deleted the OSPRH-10092 branch September 11, 2024 12:57
ASBishop added a commit to ASBishop/tcib that referenced this pull request Sep 18, 2024
Fix a regression introduced in PR openstack-k8s-operators#210 in which strings with special
bash characters need to be escaped: cubswin:) has to be cubswin:\).
The need to escape some characters breaks existing CI jobs.

This patch fixes the regression so it's not necessary to escape
special characters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants