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

cmd/osbuild-worker-executor: add oaas as worker executor #4189

Merged
merged 8 commits into from
Jun 5, 2024

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jun 5, 2024

This PR is a split out of #4184

It adds the new osbuild-worker-executor without actually using it (yet). This way we can retire the old https://github.com/mvo5/oaas repo and work in the osbuild-composer repo together

mvo5 and others added 5 commits June 5, 2024 12:28
This commit imports the repository https://github.com/mvo5/oaas
without keeping the history. The history is largely unimportant
and can be looked up in https://github.com/mvo5/oaas/commits/main
if needed.
Update the imports/names to match the new name
"osbuild-worker-executor".
This is needed by the new `osbuild-worker-executor`.
Add the osbuild-worker-executor to the build system and add it
to the spec file.
The osbuild-composer linting found a bunch of issues that this
commit fixes.
@mvo5 mvo5 requested a review from croissanne June 5, 2024 11:03
@mvo5 mvo5 force-pushed the add-oaas-as-worker-executor branch from 3f73300 to 50b8950 Compare June 5, 2024 13:18
Note that gosec IMHO is a bit silly here, the heuristics used are
note very good, i.e. the code is already validating the external
inputs and it's not clear to me that "filepath.Clean()" will help
but it seems to supress the error. I hope gosec provides value
in other places, here it seems to be adding work :/

I also excluded "gosec" from any _test.go files, I do not see
why we should gosec tests?
@mvo5 mvo5 force-pushed the add-oaas-as-worker-executor branch from 50b8950 to aca1bab Compare June 5, 2024 13:23
Copy link
Member

@croissanne croissanne left a comment

Choose a reason for hiding this comment

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

lgtm!

@mvo5 mvo5 enabled auto-merge (rebase) June 5, 2024 15:46
@mvo5 mvo5 merged commit a634868 into osbuild:main Jun 5, 2024
49 of 67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants