Skip to content

Update minima version #1832

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Update minima version #1832

wants to merge 9 commits into from

Conversation

NamelessOne91
Copy link
Contributor

What does this PR change?

Updates Salt states so that they all use the latests (at the time of writing) available minima version.

@NamelessOne91 NamelessOne91 self-assigned this May 9, 2025
@NamelessOne91 NamelessOne91 requested a review from a team as a code owner May 9, 2025 08:33
@NamelessOne91 NamelessOne91 force-pushed the update_minima_version branch 7 times, most recently from 3eed87d to 21ebaec Compare May 9, 2025 14:07
@NamelessOne91 NamelessOne91 force-pushed the update_minima_version branch from 91831af to ee0b5bf Compare May 22, 2025 09:11
@NamelessOne91 NamelessOne91 force-pushed the update_minima_version branch from 337900f to eddb28c Compare June 6, 2025 08:08
@NamelessOne91 NamelessOne91 force-pushed the update_minima_version branch from eddb28c to 1a6ca23 Compare June 27, 2025 09:09
Copy link
Member

@srbarrios srbarrios left a comment

Choose a reason for hiding this comment

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

Hi @NamelessOne91, I would like that we discuss about this PR.
The title only describe an update of minima version in sumaform, but in fact, now we are injecting a minima mirror as part of our regular server modules. In particular, I dislike and discourage the idea of downloading minima mirror binary inside the container and run it inside the container, instead, I think that the way containers prefers to work is with volumes, and I think we need to handle minima mirror from the server host, and include an additional volume on the container pointing to the content.

EDITED:
Wow.. In fact that has been there forever... Ok.
I will approve the PR, because it just do cosmetical changes, but I will open a new card to address my concern.

Comment on lines +1 to +8
{% set host = grains.get('mirror') | default('download.opensuse.org', true) %}
storage:
type: file
path: /srv/www/htdocs/pub/

http:
- url: http://{{ host }}/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Updates/rpm
- url: http://{{ host }}/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Appstream/rhlike
Copy link
Member

Choose a reason for hiding this comment

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

IMHO, this YAML file should be part of mirror folder, as it aims to be used by a minima mirror. Also, this would benefit of not having the file duplicated in server and server_containerized.

@srbarrios srbarrios self-requested a review June 30, 2025 07:51
@srbarrios srbarrios dismissed their stale review June 30, 2025 07:52

Dismissing the request for changes as I noticed the code it was in place since the beginning. I will open a card to refactor it instead.

@NamelessOne91 NamelessOne91 force-pushed the update_minima_version branch 5 times, most recently from 6d252b0 to 081f221 Compare July 3, 2025 08:21
@NamelessOne91 NamelessOne91 force-pushed the update_minima_version branch from 081f221 to 99c8207 Compare July 4, 2025 07:44
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.

5 participants