Skip to content

Conversation

@ehelms
Copy link
Member

@ehelms ehelms commented May 27, 2022

Requires -- #302

This is an evolution of #230 where this PR adds the functionality and the ability to enable this functionality directly through a flag. All existing projects using this will continue to use tito as before. But projects can opt in to testing/using builds directly through koji by setting:

build_package_use_koji_build: true

@evgeni
Copy link
Member

evgeni commented Jul 13, 2022

I like this!

In the past, we talked about an extension of the form "if the build exists, but wasn't tagged into the right tag, obal should do that for us". Is this something that should be in this PR, or rather built ontop of this later? (I'd probably think "later", but wanted to ask)

@evgeni
Copy link
Member

evgeni commented Jul 13, 2022

And now I have seen #306 and shut the fuck up!

@ehelms ehelms force-pushed the add-koji-build-support branch 2 times, most recently from 61fa632 to 985a11f Compare July 13, 2022 14:25
@ehelms
Copy link
Member Author

ehelms commented Jul 13, 2022

This now includes updated tests

package = module.params['package']
koji_executable = module.params['koji_executable']

if module.params['tag_check']:
Copy link
Member

Choose a reason for hiding this comment

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

since #227 we default build_package_koji_whitelist_check to false, so this is not getting explicitly tested.

if you want, you could add an own test, but I would not block on that.

Copy link
Member Author

Choose a reason for hiding this comment

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

Test added.

@ehelms ehelms force-pushed the add-koji-build-support branch from 985a11f to 25c2049 Compare July 13, 2022 15:15
@evgeni evgeni merged commit 5cdb62c into theforeman:master Jul 14, 2022
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