Skip to content

Update minima version#1832

Open
NamelessOne91 wants to merge 9 commits into
masterfrom
update_minima_version
Open

Update minima version#1832
NamelessOne91 wants to merge 9 commits into
masterfrom
update_minima_version

Conversation

@NamelessOne91
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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