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

vendor c/common: appendable containers.conf strings, Part 1 #5101

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

vrothberg
Copy link
Member

This change is the first step of integrating appendable string arrays into containers.conf and starts with enabling the Env, Mounts, and Volumes fields in the [Containers] table.

Both, Buildah and Podman, read (and sometimes write) the fields of the Config struct at various places, so I decided to migrate the fields step-by-step. The ones in this change are most critical ones for customers. Once all string slices/arrays are migrated, the docs of containers.conf will be updated. The current changes are entirely transparent to users.

What type of PR is this?

/kind feature

What this PR does / why we need it:

See above.

How to verify it

See tests in containers/common#1707.

Which issue(s) this PR fixes:

First pass on https://issues.redhat.com/browse/RUN-1934.

Special notes for your reviewer:

Does this PR introduce a user-facing change?

See above.

None

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress kind/feature Categorizes issue or PR as related to a new feature. labels Oct 24, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 24, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vrothberg

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

@packit-as-a-service
Copy link

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

2 similar comments
@packit-as-a-service
Copy link

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

@packit-as-a-service
Copy link

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

@vrothberg
Copy link
Member Author

@nalind @rhatdan @flouthoc PTAL
If you're OK to go ahead, we can merge containers/common#1707 and start the vendor dance

@rhatdan
Copy link
Member

rhatdan commented Oct 24, 2023

@vrothberg you can start dancing.

This change is the first step of integrating appendable string arrays
into containers.conf and starts with enabling the `Env`, `Mounts`, and
`Volumes` fields in the `[Containers]` table.

Both, Buildah and Podman, read (and sometimes write) the fields of the
`Config` struct at various places, so I decided to migrate the fields
step-by-step.  The ones in this change are most critical ones for
customers.  Once all string slices/arrays are migrated, the docs of
containers.conf will be updated.  The current changes are entirely
transparent to users.

[NO NEW TESTS NEEDED]

Signed-off-by: Valentin Rothberg <[email protected]>
@vrothberg vrothberg marked this pull request as ready for review October 24, 2023 15:00
@vrothberg
Copy link
Member Author

@vrothberg you can start dancing.

Updated ✔️

@rhatdan @nalind ready from my side

@rhatdan
Copy link
Member

rhatdan commented Oct 24, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Oct 24, 2023
@openshift-ci openshift-ci bot merged commit ea815fe into containers:main Oct 24, 2023
35 checks passed
@vrothberg vrothberg deleted the RUN-1934 branch October 24, 2023 18:29
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved kind/feature Categorizes issue or PR as related to a new feature. lgtm locked - please file new issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants