release icon indicating copy to clipboard operation
release copied to clipboard

Rebulid OBS packages only if sources are changed

Open xmudrii opened this issue 2 years ago • 19 comments

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:

  • https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.build_scheduling_and_dispatching#id-1.5.10.15.5.7
  • https://kubernetes.slack.com/archives/C03U7N0VCGK/p1692799540334359

/assign /priority important-soon

xmudrii avatar Aug 23 '23 17:08 xmudrii

Is changing the trigger to local the way to go?

saschagrunert avatar Aug 24 '23 06:08 saschagrunert

I'm currently not working on this /unassign

xmudrii avatar Oct 17 '23 10:10 xmudrii

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

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

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Jan 30 '24 13:01 k8s-triage-robot

/remove-lifecycle stale

xmudrii avatar Jan 30 '24 13:01 xmudrii

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

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

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Apr 29 '24 14:04 k8s-triage-robot

/remove-lifecycle stale

xmudrii avatar May 20 '24 14:05 xmudrii

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

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

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Aug 18 '24 15:08 k8s-triage-robot

/remove-lifecycle stale

xmudrii avatar Aug 19 '24 10:08 xmudrii