Skip to content

Conversation

@mtalexan
Copy link
Contributor

The --skip-config-archive skips creating the tar.gz of the src/config. However the changes to how files are collected failed to check this before hardcoding that the output file should be collected.


Looks like when the rework happened to use loose_objs, it missed the fact that the config archive may or may not exist. If the --skip-config-archive is used, the build currently fails during the collection step.

/close #3972

The --skip-config-archive skips creating the tar.gz of the src/config.
However the changes to how files are collected failed to check this before hardcoding
that the output file should be collected.
@openshift-ci
Copy link

openshift-ci bot commented Nov 25, 2024

Hi @mtalexan. Thanks for your PR.

I'm waiting for a coreos member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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-sigs/prow repository.

@mtalexan
Copy link
Contributor Author

You can see on line 292 that it's disabling generation of the file when --skip-config-archive is enabled, which means the file won't be present to collect.

Prior to the loose_objs rework, everything in a location was moved so this file being missing didn't matter. Now it's called out explicitly but may or may not exist.

Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@jlebon
Copy link
Member

jlebon commented Nov 28, 2024

/ok-to-test

@jlebon jlebon enabled auto-merge (rebase) November 28, 2024 18:01
@jlebon jlebon merged commit 49ce2cb into coreos:main Nov 28, 2024
5 checks passed
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.

--skip-config-archive broken

3 participants