Skip to content

Quadlet - prefer "param val" over "param=val" to allow env expansion#24128

Merged
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
ygalblum:quadlet-remove-equal-sign
Oct 2, 2024
Merged

Quadlet - prefer "param val" over "param=val" to allow env expansion#24128
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
ygalblum:quadlet-remove-equal-sign

Conversation

@ygalblum
Copy link
Copy Markdown
Contributor

@ygalblum ygalblum commented Oct 1, 2024

When possible use a generic function to add strings and booleans
Adjust tests

Does this PR introduce a user-facing change?

No

None

Resolves: #24105

When possible use a generic function to add strings and booleans
Adjust tests

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
@openshift-ci openshift-ci bot added release-note-none approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 1, 2024
@packit-as-a-service
Copy link
Copy Markdown

Ephemeral COPR build failed. @containers/packit-build please check.

Copy link
Copy Markdown
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

LGTM, I really like the map approach.

I think for future work we should consider splitting the maps with common options between pod/container out so they both can use the same thing and we do not need to add such option in both places all the time, especially as pod untis currently only supported limed keys. Of course there will still be a bunch of work in adding tests/docs then but hopefully that can be improved as well at some point

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Oct 2, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99, ygalblum

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

The pull request process is described here

Details 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

@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented Oct 2, 2024

LGTM
But tests not happy.

@ygalblum
Copy link
Copy Markdown
Contributor Author

ygalblum commented Oct 2, 2024

@rhatdan The tests are fine, it's the packit service that's been acting out for a while now. I can see that it's getting 503 when trying to create the build root

@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented Oct 2, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 2, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 4eb43de into containers:main Oct 2, 2024
@ygalblum
Copy link
Copy Markdown
Contributor Author

ygalblum commented Oct 2, 2024

@Luap99 you are right. There is more common code in the Convert functions, especially in their beginning.

@ygalblum ygalblum deleted the quadlet-remove-equal-sign branch October 2, 2024 21:24
@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Jan 1, 2025
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Jan 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note-none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants