weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Automate Flux version bump

Open makkes opened this issue 2 years ago • 4 comments
trafficstars

Locations where Flux version is referenced:

  • [x] Flux CLI version in the Makefile (done via https://github.com/weaveworks/weave-gitops/blob/main/.github/workflows/upgrade-flux.yaml#L43-L44)
  • [x] Go Modules (done via https://github.com/weaveworks/weave-gitops/blob/main/.github/workflows/upgrade-flux.yaml#L43-L44)
  • [ ] s-c to Flux version map in the Go source code

Acceptance Criteria

  • The automation should be implemented as a GitHub Action
  • Whenever a new Flux version is released, a PR is automatically created in the weave-gitops repository that bumps the version in all the places stated above.

makkes avatar Jan 17 '23 14:01 makkes

Set priority to low in light of Flux 2.0 release and an assumption that the impact we felt in January is lower now. Feel free to challenge that if we're missing facts.

lasomethingsomething avatar Aug 16 '23 11:08 lasomethingsomething

an assumption that the impact we felt in January is lower now

Not sure what that impact was but I think the Flux version bump process hasn't changed since.

makkes avatar Aug 16 '23 13:08 makkes

@makkes Per Yiannis we've done the first two items (see https://github.com/weaveworks/weave-gitops/blob/main/.github/workflows/upgrade-flux.yaml#L43-L44). For the third, what still needs to change?

lasomethingsomething avatar Oct 12 '23 09:10 lasomethingsomething

The third item

s-c to Flux version map in the Go source code

is about this map. This can be automated by a pretty simple script looking up the s-c version for a given Flux version.

makkes avatar Oct 12 '23 09:10 makkes