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

DRAFT: update osbuild/images to branch for https://github.com/osbuild/images/pull/998 #4445

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

achilleas-k
Copy link
Member

Draft/Test PR for osbuild/images#998

@achilleas-k achilleas-k added the WIP+test Work in progress but run Gitlab CI. label Oct 28, 2024
@achilleas-k
Copy link
Member Author

achilleas-k commented Oct 29, 2024

I think the test failures are all related to osbuild/images#946. It's the only (relevant) change in this PR other than the image definition change.

See #4448

osbuild/images added an error type that's returned when the reporegistry
loader doesn't find any repository configurations to load [1].  This
lets callers decide whether to stop or continue execution based on
whether repository configurations are required.

Weldr (running on-prem) requires local repository configurations, while
the API (SaaS) doesn't.  However, at the time during startup when
reporegistry.LoadAllRepositories() is called, it is still not known
whether the Weldr API will be initialised.

Log the error message as an info message when it is detected but
continue execution.

[1] osbuild/images#946
Since lack of repository configurations is no longer a stop condition
for osbuild-composer's startup, the Weldr API will now return with an
error when no repositories are configured during its initialisation.
@achilleas-k achilleas-k force-pushed the update/images/rhel8/azure/systemd-resolved/disable branch from e4f3839 to c2f7f60 Compare October 31, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP+test Work in progress but run Gitlab CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant