Skip to content

Update Cobbler settings file to a new dedicated path (bsc#1244027) - #628

Merged
meaksh merged 2 commits into
main-stagingfrom
main-bsc1244027
Jul 28, 2025
Merged

Update Cobbler settings file to a new dedicated path (bsc#1244027)#628
meaksh merged 2 commits into
main-stagingfrom
main-bsc1244027

Conversation

@meaksh

@meaksh meaksh commented Jul 14, 2025

Copy link
Copy Markdown
Member

What does this PR change?

This PR makes "uyuni-tools" to use a dedicated settings file for Cobbler, instead of the main settings.yaml which should be only containing default settings values.

This should be merged in coordination with these other PRs:
uyuni-project/uyuni#10585
openSUSE/cobbler#135

Codespace

Check if you already have a running container clicking on Running CodeSpace

Create CodeSpace About billing for Github Codespaces CodeSpace Billing Summary CodeSpace Limit

Test coverage

  • No tests: no tests around migrate scripts

  • DONE

Links

Issue(s): https://github.com/SUSE/spacewalk/issues/27412

  • 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

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Before you merge

Check How to branch and merge properly!

Use settings.d/zz-uyuni.settings instead of settings.yaml

@vzhestkov vzhestkov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In general looks good for me, just a bit nitpicky coment in the code.

Comment thread mgradm/shared/templates/postUpgradeScriptTemplate.go
Comment thread mgradm/shared/templates/postUpgradeScriptTemplate.go
Comment thread mgradm/shared/templates/postUpgradeScriptTemplate.go Outdated
Comment thread mgradm/shared/templates/postUpgradeScriptTemplate.go Outdated
@meaksh
meaksh force-pushed the main-bsc1244027 branch from 3ed4588 to b2bb2fb Compare July 21, 2025 15:25
@sonarqubecloud

Copy link
Copy Markdown

@meaksh
meaksh changed the base branch from main to main-staging July 24, 2025 14:42
@meaksh
meaksh merged commit e490193 into main-staging Jul 28, 2025
10 of 11 checks passed
@meaksh
meaksh deleted the main-bsc1244027 branch July 28, 2025 14:34
@aaannz

aaannz commented Sep 1, 2025

Copy link
Copy Markdown
Contributor

Hmm.. we all talked about optimizing $? eq 1 but completely missed that the conditions were not reversed.
Now this is not working correctly.

@aaannz

aaannz commented Sep 1, 2025

Copy link
Copy Markdown
Contributor

Fixed as part of #650

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.

3 participants