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

Prep patches for compose tests rework #1960

Merged
merged 10 commits into from
Dec 20, 2019

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Dec 20, 2019

Split out of #1959.
Most of those are actually not technically required anymore for #1959, but I've been working on top of them.

The parent of a `Path` of `"foobar"` is actually `""`, because
`parent()` wants to return a slice of its buffer:
rust-lang/rust#36861

Just do a trivial wrapper around it to correctly return `"."` instead.

Hit this when trying to pass a treefile in the working directory.
We were trying to unref a `GHashTable` using `g_ptr_array_unref`.
Something something... rewrite it in Rust.
No reason we can't do this. I initially was going to make use of this
for tests, but ended up not needing it.
So that we keep `stdout` clean. This is important for `--print-only`.
Let's make that explicit to make it easier to debug. (This works because
right now, we auto-create the spec file on the Rust side at parse time.)
This helper is used for both JSON and YAML treefiles now.
We don't need any privs for just downloading the RPMs.
This makes it easier to flatten a treefile. To do this, we make having a
workdir optional on the Rust side, and on the C side, just move
`--print-only` handling up front.
This is in el8 now.
We definitely want this too.
@@ -2,7 +2,7 @@
set -euo pipefail

# this corresponds to the latest Rust module available in el8
MINIMUM_SUPPORTED_RUST_VERSION=1.37.0
MINIMUM_SUPPORTED_RUST_VERSION=1.39.0
Copy link
Member Author

Choose a reason for hiding this comment

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

/cc @lucab FYI

@openshift-ci-robot
Copy link
Collaborator

@jlebon: GitHub didn't allow me to request PR reviews from the following users: FYI.

Note that only coreos members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @lucab FYI

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@cgwalters
Copy link
Member

Awesome!

/approve
/lgtm

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, jlebon

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

@jlebon
Copy link
Member Author

jlebon commented Dec 20, 2019

/override f29-compose1
/override f29-compose2

@openshift-ci-robot
Copy link
Collaborator

@jlebon: Overrode contexts on behalf of jlebon: f29-compose1, f29-compose2

In response to this:

/override f29-compose1
/override f29-compose2

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-merge-robot openshift-merge-robot merged commit c59b9de into coreos:master Dec 20, 2019
@jlebon jlebon deleted the pr/compose-cci-prep branch April 23, 2023 23:31
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.

None yet

4 participants