Skip to content

Conversation

cbosdo
Copy link
Contributor

@cbosdo cbosdo commented Sep 29, 2025

What does this PR change?

There are a few points fixed in this commit around the dbupgrade computation (bsc#1249400):

  • the default tag should be "" to reuse the global tag
  • appending the migration suffix to the server image name should not be done in the ComputeImage as it makes it more complex.
  • unit tests are badly needed

The added unit test could be extended to cover more than the image that are computed and used, but this will wait.

Test coverage

  • Unit tests were added

  • DONE

Links

Issue(s): https://github.com/SUSE/spacewalk/issues/28367
Ports: https://github.com/SUSE/uyuni-tools/pull/137

  • DONE

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • No changelog needed

There are a few points fixed in this commit around the dbupgrade
computation (bsc#1249400):
  - the default tag should be "" to reuse the global tag
  - appending the migration suffix to the server image name should not
    be done in the ComputeImage as it makes it more complex.
  - unit tests are badly needed

The added unit test could be extended to cover more than the image that
are computed and used, but this will wait.
Copy link

@cbosdo cbosdo merged commit aa8c2ef into uyuni-project:main Oct 16, 2025
11 checks passed
@cbosdo cbosdo deleted the dbupgrade branch October 16, 2025 09:25
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