Skip to content

Conversation

@gleidi-suse
Copy link
Contributor

@gleidi-suse gleidi-suse commented Jun 25, 2025

The OBS-Milestone allows, after setting the %current_milestone in the OBS project configuration, to have correctly versioned artifacts.

Add the following (or equivalent code) to your project configuration:

%define current_milestone Snapshot-202506-1
Macros:
%current_milestone Snapshot-202506-1
:Macros

Problem

SLES 16.0 Agama build artifacts don't have the correct milestone name and break OBS releases.

Solution

Setting OBS-Milestone and the %current_milestone macro.

The OBS-Milestone allows, after setting the %current_milestone in the OBS project configuration, to have
correctly versioned artefacts.

Add the following (or equivalent code) to your project configuration:

%define current_milestone Snapshot-202506-1
%define beta_flag 1
Macros:
%current_milestone Snapshot-202506-1
%beta_flag 1
:Macros
Copy link
Contributor

@mvidner mvidner left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, but I'd like to understand what is going on before rubberstamping some magic :)

I don't even understand the Problem:

SLES 16.0 Agama build artifacts don't have the correct milestone name and break OBS releases.

If there is some documentation for this, please point to it.

Can you please point to some OBS sources and binaries where this works correctly, as an example?

@gleidi-suse
Copy link
Contributor Author

gleidi-suse commented Jun 26, 2025

Hi 😄

Thanks for the PR, but I'd like to understand what is going on before rubberstamping some magic :)

Good point, I'll try to explain the point to the best of my understanding of it.

I don't even understand the Problem:

SLES 16.0 Agama build artifacts don't have the correct milestone name and break OBS releases.

Check out https://gitlab.suse.de/buildops/release-support/-/issues/62#note_841322 if you have visibility. Anyway we need in the end to publish SLES Agama bases PXE images. To be able to correctly do so we need:

* something like "in https://download.opensuse.org/repositories/systemsmanagement:/Agama:/Devel/images/ the binaries shall have Snapshot-YYYYMM-N in the name"?

Only if you have %current_milestone set in your project configuration.

* break the release in what way?

Without all of the above 3 changes SLES Agama based PXE images do not have the correct filename, and release artifacts are manually renamed.

If there is some documentation for this, please point to it.

Can you please point to some OBS sources and binaries where this works correctly, as an example?

https://src.suse.de/products/SLES/src/branch/16.0/kiwi-templates-Minimal/Minimal.kiwi#L3

or

https://build.opensuse.org/projects/home:amorgante:branches:SUSE:SLE-15-SP5:Update:Products:Micro55/packages/SLE-Micro/files/SLE-Micro.kiwi?expand=0 at line 3

I hope this helps clarify why we need this, thank you!

@gleidi-suse gleidi-suse requested a review from mvidner July 2, 2025 15:30
@gleidi-suse
Copy link
Contributor Author

@mvidner do you have any feedback on this change?

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