Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
image build method should default to osbs2 now (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiouxme committed May 23, 2023
1 parent 15a672d commit aa8b080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doozerlib/distgit.py
Expand Up @@ -443,7 +443,7 @@ def _get_diff(self):

@property
def image_build_method(self):
build_method = self.runtime.group_config.default_image_build_method or "imagebuilder"
build_method = self.runtime.group_config.default_image_build_method or "osbs2"
# If our config specifies something, override with that.
if self.config.image_build_method is not Missing:
build_method = self.config.image_build_method
Expand Down
Expand Up @@ -91,7 +91,7 @@ def test_image_build_method_imagebuilder(self):
logger="_irrelevant_")

repo = distgit.ImageDistGitRepo(metadata, autoclone=False)
self.assertEqual("imagebuilder", repo.image_build_method)
self.assertEqual("osbs2", repo.image_build_method)

metadata = flexmock(runtime=self.mock_runtime(group_config=flexmock(default_image_build_method="osbs2")),
config=flexmock(distgit=flexmock(branch=distgit.Missing),
Expand Down

0 comments on commit aa8b080

Please sign in to comment.