kubernetes / release

Release infrastructure for Kubernetes and related components
Apache License 2.0
485 stars 504 forks source link

Rebulid OBS packages only if sources are changed #3220

Open xmudrii opened 1 year ago

xmudrii commented 1 year ago

I noticed that all packages in all OBS build projects suddenly got rebuilt today. Turns out that this is expected because OBS automatically triggers package rebuilds if any (direct or transitive) dependency is upgraded in the operating system that's used for building packages. For example, we had this situation today:

osc triggerreason isv:kubernetes:core:shared:build/kubernetes-cni rpm ppc64le                                                                 
https://api.opensuse.org/ isv:kubernetes:core:shared:build kubernetes-cni rpm ppc64le
meta change (at 2023-08-23 14:01:57)
changed keys:
   md5sum binutils
   md5sum libctf-nobfd0
   md5sum libctf0

This is actually not much useful to us because we use prebuilt binaries in packages instead of building binaries inside OBS. Moreover, this can interfere with our release process and tooling. I think that we should disable this behavior and only rebuild packages if sources are updated.

References:

/assign /priority important-soon

saschagrunert commented 1 year ago

Is changing the trigger to local the way to go?

xmudrii commented 1 year ago

I'm currently not working on this /unassign

k8s-triage-robot commented 10 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

xmudrii commented 10 months ago

/remove-lifecycle stale

k8s-triage-robot commented 7 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

xmudrii commented 6 months ago

/remove-lifecycle stale

k8s-triage-robot commented 3 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

xmudrii commented 3 months ago

/remove-lifecycle stale

k8s-triage-robot commented 2 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

xmudrii commented 2 weeks ago

/remove-lifecycle stale