Skip to content

Conversation

DmitriyMV
Copy link

Something to think about in future or even merge with update command.

Something to think about in future or even merge with `update` command.

Signed-off-by: Dmitriy Matrenichev <[email protected]>
}

var rehashCmd = &cobra.Command{
Use: "update",
Copy link
Member

Choose a reason for hiding this comment

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

update or rehash?

//
//nolint:lll
var datas = []map[string]string{
{"VERSION": "v1.30.3", "url": "https://github.com/kubernetes/cloud-provider-aws/archive/refs/tags/{{ .VERSION }}.tar.gz"},
Copy link
Member

Choose a reason for hiding this comment

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

can we extract that automatically?

Copy link
Member

Choose a reason for hiding this comment

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

let's move this to bldr update itself, i was thinking of doing something similar to renovate, have additional fields, something like:

steps:
  - sources:
      - url: https://download.qemu.org/qemu-{{ .QEMU_VERSION }}.tar.xz
        destination: qemu.tar.xz
        sha256: a8c3f596aece96da3b00cafb74baafa0d14515eafb8ed1ee3f7f5c2d0ebf02b6
        sha512: 58ed84f6fe6263d279356bc9193f96edf62cf3663fb151daa3f047d52329fe49cb91c2d45e09697e0469f4f5409be96403aec9572d4871ffa40848a786c21599
        update_options:
            uri: github://qemu/qemu-guest-agent
            filter: <some filtering option>
      - url: https://download.nvidia.org/nvidia-{{ .NVIDIA_VERSION }}.tar.xz
        destination: nvidia.tar.xz
        sha256: a8c3f596aece96da3b00cafb74baafa0d14515eafb8ed1ee3f7f5c2d0ebf02b6
        sha512: 58ed84f6fe6263d279356bc9193f96edf62cf3663fb151daa3f047d52329fe49cb91c2d45e09697e0469f4f5409be96403aec9572d4871ffa40848a786c21599
        update_options:
            uri: url:download.nvidia.org/releases.json
            filter: <some filtering option> // maybe use cue to filter from json or use `.foo.bar` syntax

this was we can mostly get rid of renovate

Copy link

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale label Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: On Hold
Development

Successfully merging this pull request may close these issues.

4 participants